1{stdenv, buildOcaml, fetchurl, type_conv,
2 bin_prot, comparelib, custom_printf, enumerate,
3 fieldslib, herelib, pa_bench, pa_test, pa_ounit,
4 pipebang, sexplib, typerep, variantslib}:
5
6buildOcaml rec {
7 name = "core_kernel";
8 version = "112.24.00";
9
10 minimumSupportedOcamlVersion = "4.02";
11
12 src = fetchurl {
13 url = "https://github.com/janestreet/core_kernel/archive/${version}.tar.gz";
14 sha256 = "93e1f21e35ade98a2bfbe45ba76eef4a8ad3fed97cdc0769f96e0fcc86d6a761";
15 };
16
17 hasSharedObjects = true;
18
19 buildInputs = [ pa_test pa_ounit ];
20 propagatedBuildInputs = [ type_conv pa_bench bin_prot comparelib custom_printf
21 enumerate fieldslib herelib pipebang sexplib
22 typerep variantslib ];
23
24 meta = with stdenv.lib; {
25 homepage = https://github.com/janestreet/core_kernel;
26 description = "Jane Street Capital's standard library overlay (kernel)";
27 license = licenses.asl20;
28 maintainers = [ maintainers.ericbmerritt ];
29 };
30}