aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/tools/ocaml/js_of_ocaml
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2018-04-11 17:54:19 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2018-04-18 09:38:23 +0200
commit20c035b9067562ef72bf66cd3b053e9a6d121af0 (patch)
tree2cb294de61d39861393b404611728d00de36e575 /pkgs/development/tools/ocaml/js_of_ocaml
parenta5ae3b57314b98ca78dd7f41654b3cbf63a629da (diff)
ocamlPackages.js_of_ocaml-tyxml: 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/tyxml.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/development/tools/ocaml/js_of_ocaml/tyxml.nix b/pkgs/development/tools/ocaml/js_of_ocaml/tyxml.nix
new file mode 100644
index 00000000000..041fd71f92f
--- /dev/null
+++ b/pkgs/development/tools/ocaml/js_of_ocaml/tyxml.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, reactivedata, tyxml
+}:
+
+stdenv.mkDerivation rec {
+ name = "js_of_ocaml-tyxml-${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 reactivedata tyxml ];
+
+ buildPhase = "jbuilder build -p js_of_ocaml-tyxml";
+}