ocamlPackages.async_kernel: init at 113.33.00
This commit is contained in:
parent
2552b034ab
commit
d3899a2495
@ -0,0 +1,21 @@
|
||||
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg
|
||||
, core_kernel, ppx_jane
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "ocaml${ocaml.version}-async_kernel-113.33.00";
|
||||
src = fetchurl {
|
||||
url = http://ocaml.janestreet.com/ocaml-core/113.33/files/async_kernel-113.33.00.tar.gz;
|
||||
sha256 = "1kkkqpdd3mq9jh3b3l1yk37841973lh6g3pfv8fcjzif4n7myf15";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ocamlbuild opam ppx_jane ];
|
||||
propagatedBuildInputs = [ core_kernel ];
|
||||
|
||||
inherit (topkg) installPhase;
|
||||
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
inherit (ocaml.meta) platforms;
|
||||
};
|
||||
}
|
@ -717,7 +717,9 @@ let
|
||||
else core_extended_p4;
|
||||
|
||||
async_kernel =
|
||||
if lib.versionOlder "4.02" ocaml.version
|
||||
if lib.versionOlder "4.03" ocaml.version
|
||||
then callPackage ../development/ocaml-modules/janestreet/async_kernel-113_33_00.nix {}
|
||||
else if lib.versionOlder "4.02" ocaml.version
|
||||
then callPackage ../development/ocaml-modules/janestreet/async-kernel.nix {}
|
||||
else async_kernel_p4;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user