aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix
blob: 50bcd69eb66a3e57e21cf2abd3bc70ee6f9e8458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ stdenv, ocaml, findlib, dune_2, 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_2 ];

	propagatedBuildInputs = [ ocamlbuild ];

	buildPhase = "dune build -p js_of_ocaml-ocamlbuild";
}