diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-08-27 14:44:39 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-08-27 14:55:12 +0000 |
commit | 935e991b724b096d78571c22d735dcbc8894515b (patch) | |
tree | 5a4f414cb93d52a596b45e99511dc385be24c19f /pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix | |
parent | 4b1a1c1846b1b673f53728a02617a39ea6907006 (diff) | |
download | nixpkgs-935e991b724b096d78571c22d735dcbc8894515b.tar nixpkgs-935e991b724b096d78571c22d735dcbc8894515b.tar.gz nixpkgs-935e991b724b096d78571c22d735dcbc8894515b.tar.bz2 nixpkgs-935e991b724b096d78571c22d735dcbc8894515b.tar.lz nixpkgs-935e991b724b096d78571c22d735dcbc8894515b.tar.xz nixpkgs-935e991b724b096d78571c22d735dcbc8894515b.tar.zst nixpkgs-935e991b724b096d78571c22d735dcbc8894515b.zip |
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
Diffstat (limited to 'pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix')
-rw-r--r-- | pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix b/pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix new file mode 100644 index 00000000000..a4852a8aba0 --- /dev/null +++ b/pkgs/development/tools/ocaml/js_of_ocaml/3.0.nix @@ -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"; +} |