nixpkgs/pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix

16 lines
335 B
Nix
Raw Normal View History

{ stdenv, ocaml, findlib, dune_2, js_of_ocaml-compiler
2017-08-27 07:32:39 -07:00
, ocamlbuild
}:
2019-08-13 14:52:01 -07:00
stdenv.mkDerivation {
pname = "js_of_ocaml-ocamlbuild";
2017-08-27 07:32:39 -07:00
inherit (js_of_ocaml-compiler) version src installPhase meta;
buildInputs = [ ocaml findlib dune_2 ];
2017-08-27 07:32:39 -07:00
propagatedBuildInputs = [ ocamlbuild ];
2018-09-05 09:11:47 -07:00
buildPhase = "dune build -p js_of_ocaml-ocamlbuild";
2017-08-27 07:32:39 -07:00
}