ocamlPackages.camlp5: 7.13 → 7.14
This commit is contained in:
parent
f56a833916
commit
b3351951b0
@ -1,20 +1,26 @@
|
||||
{ stdenv, fetchzip, ocaml }:
|
||||
{ stdenv, fetchzip, ocaml, perl }:
|
||||
|
||||
if stdenv.lib.versionOlder ocaml.version "4.02"
|
||||
then throw "camlp5 is not available for OCaml ${ocaml.version}"
|
||||
else
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "camlp5-7.13";
|
||||
name = "camlp5-7.14";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/camlp5/camlp5/archive/rel713.tar.gz";
|
||||
sha256 = "1d9spy3f5ahixm8nxxk086kpslzva669a5scn49am0s7vx4i71kp";
|
||||
url = "https://github.com/camlp5/camlp5/archive/rel714.tar.gz";
|
||||
sha256 = "1dd68bisbpqn5lq2pslm582hxglcxnbkgfkwhdz67z4w9d5nvr7w";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml ];
|
||||
buildInputs = [ ocaml perl ];
|
||||
|
||||
prefixKey = "-prefix ";
|
||||
|
||||
preConfigure = "configureFlagsArray=(--strict" +
|
||||
" --libdir $out/lib/ocaml/${ocaml.version}/site-lib)";
|
||||
preConfigure = ''
|
||||
configureFlagsArray=(--strict --libdir $out/lib/ocaml/${ocaml.version}/site-lib)
|
||||
patchShebangs ./config/find_stuffversion.pl
|
||||
'';
|
||||
|
||||
buildFlags = [ "world.opt" ];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user