mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
ocamlPackages.core: init at 113.33.02+4.03
This commit is contained in:
parent
0a768bd6c8
commit
8e1b4b3c4c
21
pkgs/development/ocaml-modules/janestreet/core-113_33_02.nix
Normal file
21
pkgs/development/ocaml-modules/janestreet/core-113_33_02.nix
Normal file
@ -0,0 +1,21 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg
|
||||
, ppx_jane, core_kernel
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-core-113.33.02+4.03";
|
||||
src = fetchurl {
|
||||
url = http://ocaml.janestreet.com/ocaml-core/113.33/files/core-113.33.02+4.03.tar.gz;
|
||||
sha256 = "1gvd5saa0sdgyv9w09imqlkw0c21v2ixic8fxx14jxrwck0zn4bc";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild opam ppx_jane ];
|
||||
propagatedBuildInputs = [ core_kernel ];
|
||||
|
||||
inherit (topkg) installPhase;
|
||||
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
@ -695,7 +695,9 @@ let
|
||||
else core_kernel_p4;
|
||||
|
||||
core =
|
||||
if lib.versionOlder "4.02" ocaml.version
|
||||
if lib.versionOlder "4.03" ocaml.version
|
||||
then callPackage ../development/ocaml-modules/janestreet/core-113_33_02.nix {}
|
||||
else if lib.versionOlder "4.02" ocaml.version
|
||||
then callPackage ../development/ocaml-modules/janestreet/core.nix {}
|
||||
else core_p4;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user