ocamlPackages.js_of_ocaml-lwt: init at 3.1.0

This commit is contained in:
Vincent Laporte 2018-04-01 05:34:40 +00:00
parent 2b6bae5699
commit a09c39f80c
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{ stdenv, ocaml, findlib, jbuilder, js_of_ocaml-compiler, js_of_ocaml-ppx
, ocaml-migrate-parsetree, ppx_tools_versioned
, js_of_ocaml, ocaml_lwt
}:
stdenv.mkDerivation rec {
name = "js_of_ocaml-lwt-${version}";
inherit (js_of_ocaml-compiler) version src installPhase meta;
buildInputs = [ ocaml findlib jbuilder js_of_ocaml-ppx ocaml-migrate-parsetree ppx_tools_versioned ];
propagatedBuildInputs = [ js_of_ocaml ocaml_lwt ];
buildPhase = "jbuilder build -p js_of_ocaml-lwt";
}

View file

@ -326,6 +326,8 @@ let
js_of_ocaml-compiler = callPackage ../development/tools/ocaml/js_of_ocaml/compiler.nix {};
js_of_ocaml-lwt = callPackage ../development/tools/ocaml/js_of_ocaml/lwt.nix {};
js_of_ocaml-ocamlbuild = callPackage ../development/tools/ocaml/js_of_ocaml/ocamlbuild.nix {};
js_of_ocaml-ppx = callPackage ../development/tools/ocaml/js_of_ocaml/ppx.nix {};