ocamlPackages.buildOcamlJane: remove

This commit is contained in:
Vincent Laporte 2021-11-30 10:21:48 +01:00 committed by Vincent Laporte
parent 9f39cd801b
commit 4263090128
2 changed files with 0 additions and 37 deletions

View file

@ -1,35 +0,0 @@
{ buildOcaml, opaline, js_build_tools, ocaml_oasis, fetchurl } :
{ pname, version ? "113.33.03", buildInputs ? [],
hash ? "",
minimumSupportedOcamlVersion ? "4.02", ...
}@args:
buildOcaml (args // {
inherit pname version minimumSupportedOcamlVersion;
src = fetchurl {
url = "https://github.com/janestreet/${pname}/archive/${version}.tar.gz";
sha256 = hash;
};
hasSharedObjects = true;
buildInputs = [ ocaml_oasis js_build_tools opaline ] ++ buildInputs;
dontAddPrefix = true;
dontAddStaticConfigureFlags = true;
configurePlatforms = [];
configurePhase = ''
./configure --prefix $out
'';
buildPhase = ''
OCAML_TOPLEVEL_PATH=`ocamlfind query findlib`/.. make
'';
installPhase = ''
opaline -prefix $prefix -libdir $OCAMLFIND_DESTDIR ${pname}.install
'';
})

View file

@ -1477,8 +1477,6 @@ let
js_build_tools = callPackage ../development/ocaml-modules/janestreet/js-build-tools.nix {};
buildOcamlJane = callPackage ../development/ocaml-modules/janestreet/buildOcamlJane.nix {};
# Apps / from all-packages
ocamlnat = callPackage ../development/ocaml-modules/ocamlnat { };