js_of_ocaml: 2.8.4 -> 3.0.0

js_of_ocaml-camlp4: init at 3.0.0

js_of_ocaml-ppx: init at 3.0.0
This commit is contained in:
Vincent Laporte
2017-08-27 14:55:12 +00:00
parent 4b1a1c1846
commit 935e991b72
7 changed files with 64 additions and 9 deletions
@@ -0,0 +1,15 @@
{ stdenv, ocaml, findlib, jbuilder, js_of_ocaml-compiler
, ocaml-migrate-parsetree, ppx_tools_versioned, uchar
}:
stdenv.mkDerivation rec {
name = "js_of_ocaml-${version}";
inherit (js_of_ocaml-compiler) version src installPhase meta;
buildInputs = [ ocaml findlib jbuilder ocaml-migrate-parsetree ppx_tools_versioned ];
propagatedBuildInputs = [ js_of_ocaml-compiler uchar ];
buildPhase = "jbuilder build -p js_of_ocaml";
}
@@ -0,0 +1,13 @@
{ stdenv, ocaml, findlib, jbuilder, js_of_ocaml-compiler
, camlp4
}:
stdenv.mkDerivation rec {
name = "js_of_ocaml-camlp4-${version}";
inherit (js_of_ocaml-compiler) version src installPhase meta;
buildInputs = [ ocaml findlib jbuilder camlp4 ];
buildPhase = "jbuilder build -p js_of_ocaml-camlp4";
}
@@ -0,0 +1,14 @@
{ stdenv, ocaml, findlib, jbuilder, js_of_ocaml-compiler
, ocaml-migrate-parsetree, ppx_tools_versioned
, js_of_ocaml
}:
stdenv.mkDerivation rec {
name = "js_of_ocaml-ppx-${version}";
inherit (js_of_ocaml-compiler) version src installPhase meta;
buildInputs = [ ocaml findlib jbuilder ocaml-migrate-parsetree ppx_tools_versioned js_of_ocaml ];
buildPhase = "jbuilder build -p js_of_ocaml-ppx";
}