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