summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/js_of_ocaml
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-04-01 05:34:40 +0000
committerVincent Laporte <Vincent.Laporte@gmail.com>2018-04-08 17:38:14 +0000
commita09c39f80cb05021dee36a55964a67e2cc142db0 (patch)
tree5ec000da1a473b89b0d7a7bdb3385e9b97760222 /pkgs/development/tools/ocaml/js_of_ocaml
parent2b6bae5699450e1cf764e02fd70f75822d3d8079 (diff)
downloadnixpkgs-a09c39f80cb05021dee36a55964a67e2cc142db0.tar
nixpkgs-a09c39f80cb05021dee36a55964a67e2cc142db0.tar.gz
nixpkgs-a09c39f80cb05021dee36a55964a67e2cc142db0.tar.bz2
nixpkgs-a09c39f80cb05021dee36a55964a67e2cc142db0.tar.lz
nixpkgs-a09c39f80cb05021dee36a55964a67e2cc142db0.tar.xz
nixpkgs-a09c39f80cb05021dee36a55964a67e2cc142db0.tar.zst
nixpkgs-a09c39f80cb05021dee36a55964a67e2cc142db0.zip
ocamlPackages.js_of_ocaml-lwt: init at 3.1.0
Diffstat (limited to 'pkgs/development/tools/ocaml/js_of_ocaml')
-rw-r--r--pkgs/development/tools/ocaml/js_of_ocaml/lwt.nix16
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 00000000000..31a5c3ea17b
--- /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";
+}