diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-04-01 05:34:40 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2018-04-08 17:38:14 +0000 |
commit | a09c39f80cb05021dee36a55964a67e2cc142db0 (patch) | |
tree | 5ec000da1a473b89b0d7a7bdb3385e9b97760222 /pkgs/development/tools/ocaml | |
parent | 2b6bae5699450e1cf764e02fd70f75822d3d8079 (diff) | |
download | nixlib-a09c39f80cb05021dee36a55964a67e2cc142db0.tar nixlib-a09c39f80cb05021dee36a55964a67e2cc142db0.tar.gz nixlib-a09c39f80cb05021dee36a55964a67e2cc142db0.tar.bz2 nixlib-a09c39f80cb05021dee36a55964a67e2cc142db0.tar.lz nixlib-a09c39f80cb05021dee36a55964a67e2cc142db0.tar.xz nixlib-a09c39f80cb05021dee36a55964a67e2cc142db0.tar.zst nixlib-a09c39f80cb05021dee36a55964a67e2cc142db0.zip |
ocamlPackages.js_of_ocaml-lwt: init at 3.1.0
Diffstat (limited to 'pkgs/development/tools/ocaml')
-rw-r--r-- | pkgs/development/tools/ocaml/js_of_ocaml/lwt.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/development/tools/ocaml/js_of_ocaml/lwt.nix b/pkgs/development/tools/ocaml/js_of_ocaml/lwt.nix new file mode 100644 index 000000000000..31a5c3ea17bb --- /dev/null +++ b/pkgs/development/tools/ocaml/js_of_ocaml/lwt.nix @@ -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"; +} |