summary refs log blame commit diff
path: root/pkgs/development/tools/ocaml/js_of_ocaml/ocamlbuild.nix
blob: 60ad695dc0bd9d624e37d004fca4fecc51c3065c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                     
{ stdenv, ocaml, findlib, jbuilder, 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 jbuilder ];

	propagatedBuildInputs = [ ocamlbuild ];

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