diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix')
-rw-r--r-- | nixpkgs/pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix b/nixpkgs/pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix new file mode 100644 index 000000000000..344352467e9b --- /dev/null +++ b/nixpkgs/pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix @@ -0,0 +1,15 @@ +{ stdenv, ocaml, findlib, dune, js_of_ocaml-compiler +, ocamlbuild +}: + +stdenv.mkDerivation { + pname = "js_of_ocaml-ocamlbuild"; + + inherit (js_of_ocaml-compiler) version src installPhase meta; + + buildInputs = [ ocaml findlib dune ]; + + propagatedBuildInputs = [ ocamlbuild ]; + + buildPhase = "dune build -p js_of_ocaml-ocamlbuild"; +} |