mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
ocamlPackages.core_kernel: init at 113.33.01+4.03
This commit is contained in:
parent
1f1a950cb0
commit
0a768bd6c8
@ -0,0 +1,25 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg, ppx_jane
|
||||
, bin_prot, fieldslib, typerep, variantslib
|
||||
, ppx_assert, ppx_bench, ppx_expect, ppx_inline_test
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-core_kernel-113.33.01+4.03";
|
||||
src = fetchurl {
|
||||
url = http://ocaml.janestreet.com/ocaml-core/113.33/files/core_kernel-113.33.01+4.03.tar.gz;
|
||||
sha256 = "0ra2frspqjqk1wbb58lrb0anrgsyhja00zsybka85qy71lblamfs";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild opam ppx_jane ];
|
||||
propagatedBuildInputs = [
|
||||
bin_prot fieldslib typerep variantslib
|
||||
ppx_assert ppx_bench ppx_expect ppx_inline_test
|
||||
];
|
||||
|
||||
inherit (topkg) installPhase;
|
||||
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
@ -688,7 +688,9 @@ let
|
||||
else bin_prot_p4;
|
||||
|
||||
core_kernel =
|
||||
if lib.versionOlder "4.02" ocaml.version
|
||||
if lib.versionOlder "4.03" ocaml.version
|
||||
then callPackage ../development/ocaml-modules/janestreet/core_kernel-113_33_01.nix {}
|
||||
else if lib.versionOlder "4.02" ocaml.version
|
||||
then callPackage ../development/ocaml-modules/janestreet/core_kernel.nix {}
|
||||
else core_kernel_p4;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user