about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix
blob: bf33b4e59e524f8b83b93b15fb13ec27319ea0c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ stdenv, ocaml, findlib, dune, js_of_ocaml-compiler
, ocamlbuild
}:

stdenv.mkDerivation rec {
	name = "js_of_ocaml-ocamlbuild-${version}"; 

	inherit (js_of_ocaml-compiler) version src installPhase meta;

	buildInputs = [ ocaml findlib dune ];

	propagatedBuildInputs = [ ocamlbuild ];

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