js_build_tools: init at 113.33.06
This commit is contained in:
parent
1781e95577
commit
3c5e31ec00
27
pkgs/development/ocaml-modules/janestreet/js-build-tools.nix
Normal file
27
pkgs/development/ocaml-modules/janestreet/js-build-tools.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{stdenv, buildOcaml, fetchurl, ocaml_oasis, opam}:
|
||||||
|
|
||||||
|
buildOcaml rec {
|
||||||
|
name = "js-build-tools";
|
||||||
|
version = "113.33.06";
|
||||||
|
|
||||||
|
minimumSupportedOcamlVersion = "4.02";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/janestreet/${name}/archive/${version}.tar.gz";
|
||||||
|
sha256 = "1nvgyp4gsnlnpix3li6kr90b12iin5ihichv298p03i6h2809dia";
|
||||||
|
};
|
||||||
|
|
||||||
|
hasSharedObjects = true;
|
||||||
|
|
||||||
|
buildInputs = [ ocaml_oasis opam ];
|
||||||
|
|
||||||
|
dontAddPrefix = true;
|
||||||
|
configurePhase = "./configure --prefix $prefix";
|
||||||
|
installPhase = "opam-installer -i --prefix $prefix --libdir `ocamlfind printconf destdir` ${name}.install";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Jane Street Build Tools";
|
||||||
|
maintainers = [ maintainers.maurer ];
|
||||||
|
license = licenses.asl20;
|
||||||
|
};
|
||||||
|
}
|
@ -5502,6 +5502,8 @@ in
|
|||||||
oasis = ocaml_oasis;
|
oasis = ocaml_oasis;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Jane Street
|
||||||
|
js_build_tools = callPackage ../development/ocaml-modules/janestreet/js-build-tools.nix {};
|
||||||
};
|
};
|
||||||
|
|
||||||
ocamlPackages = recurseIntoAttrs ocamlPackages_4_01_0;
|
ocamlPackages = recurseIntoAttrs ocamlPackages_4_01_0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user