Merge branch 'master' into ocaml-utop

This commit is contained in:
Michael Raskin
2017-05-01 14:38:18 +02:00
committed by GitHub
579 changed files with 18588 additions and 12037 deletions
@@ -1,5 +1,8 @@
{ stdenv, fetchurl, ocaml, jbuilder, findlib }:
if !stdenv.lib.versionAtLeast ocaml.version "4.03"
then throw "base is not available for OCaml ${ocaml.version}" else
stdenv.mkDerivation {
name = "ocaml${ocaml.version}-base-0.9.0";
@@ -2,6 +2,9 @@
, bos, cmdliner, ocamlgraph
}:
if !stdenv.lib.versionAtLeast ocaml.version "4.03"
then throw "functoria is not available for OCaml ${ocaml.version}" else
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-functoria-${version}";
version = "2.0.2";
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
patches = [ (fetchpatch {
url = https://raw.githubusercontent.com/ocaml/opam-repository/master/packages/llvm/llvm.3.9/files/cmake.patch;
sha256 = "0vjap0xifgm59rwhjc48wi7jpbbif4dllsy4xs45sg95qq5qanp6";
sha256 = "1fcc6ylfiw1npdhx7mrsj7h0dx7cym7i9664kpr76zqazb52ikm9";
})];
cmakeFlags = [ "-DLLVM_OCAML_OUT_OF_TREE=TRUE" ];
@@ -0,0 +1,26 @@
{ stdenv, buildOcaml, fetchFromGitHub, cppo }:
buildOcaml rec {
name = "merlin_extend";
version = "0.3";
minimumSupportedOcamlVersion = "4.02";
src = fetchFromGitHub {
owner = "let-def";
repo = "merlin-extend";
sha256 = "1z6hybcb7ry0bkzjd0r2dlcgjnhhxdsr06x3h03sj7h5fihsc7vd";
rev = "v${version}";
};
buildInputs = [ cppo ];
createFindlibDestdir = true;
meta = with stdenv.lib; {
homepage = https://github.com/let-def/merlin-extend;
description = "SDK to extend Merlin";
license = licenses.mit;
maintainers = [ maintainers.volth ];
};
}
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-ocaml-migrate-parsetree-${version}";
version = "0.5";
version = "0.7";
src = fetchFromGitHub {
owner = "let-def";
repo = "ocaml-migrate-parsetree";
rev = "v${version}";
sha256 = "023lnd3kxa3d4zgsvv0z2lyzhg05zcgagy18vaalimbza57wq83h";
sha256 = "142svvixhz153argd3khk7sr38dhiy4w6sck4766f8b48p41pp3m";
};
buildInputs = [ ocaml findlib ocamlbuild jbuilder ];
@@ -7,7 +7,8 @@ stdenv.mkDerivation rec {
sha256 = "0yn7f3g5wva8nqxh76adpq9rihggc405jkqysfghzwnf3yymyqrr";
};
buildInputs = [ocaml findlib curl ncurses];
buildInputs = [ ocaml findlib ncurses ];
propagatedBuildInputs = [ curl ];
createFindlibDestdir = true;
meta = {
description = "OCaml bindings to libcurl";
@@ -0,0 +1,26 @@
{ stdenv, buildOcaml, fetchFromGitHub, ocaml-migrate-parsetree }:
buildOcaml rec {
name = "ppx_tools_versioned";
version = "5.0alpha";
minimumSupportedOcamlVersion = "4.02";
src = fetchFromGitHub {
owner = "let-def";
repo = "ppx_tools_versioned";
rev = version;
sha256 = "0sa3w0plpa0s202s9yjgz7dbk32xd2s6fymkjijrhj4lkvh08mba";
};
propagatedBuildInputs = [ ocaml-migrate-parsetree ];
createFindlibDestdir = true;
meta = with stdenv.lib; {
homepage = https://github.com/let-def/ppx_tools_versioned;
description = "Tools for authors of syntactic tools (such as ppx rewriters)";
license = licenses.gpl2;
maintainers = [ maintainers.volth ];
};
}
@@ -1,5 +1,8 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, owee }:
if !stdenv.lib.versionAtLeast ocaml.version "4.04"
then throw "spacetime_lib is not available for OCaml ${ocaml.version}" else
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-spacetime_lib-${version}";
version = "0.1.0";