2015-09-06 20:15:10 +01:00
|
|
|
{stdenv, buildOcaml, fetchurl, type_conv,
|
2016-09-14 01:42:40 +01:00
|
|
|
bin_prot_p4, comparelib, custom_printf, enumerate,
|
2016-09-14 00:58:42 +01:00
|
|
|
fieldslib_p4, herelib, pa_bench, pa_test, pa_ounit,
|
2016-09-14 01:35:10 +01:00
|
|
|
pipebang, sexplib_p4, typerep_p4, variantslib_p4}:
|
2015-05-24 19:00:39 +01:00
|
|
|
|
|
|
|
buildOcaml rec {
|
2015-09-06 20:15:10 +01:00
|
|
|
name = "core_kernel";
|
2015-05-24 19:00:39 +01:00
|
|
|
version = "112.24.00";
|
|
|
|
|
|
|
|
minimumSupportedOcamlVersion = "4.02";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/janestreet/core_kernel/archive/${version}.tar.gz";
|
|
|
|
sha256 = "93e1f21e35ade98a2bfbe45ba76eef4a8ad3fed97cdc0769f96e0fcc86d6a761";
|
|
|
|
};
|
|
|
|
|
|
|
|
hasSharedObjects = true;
|
|
|
|
|
2015-09-06 20:15:10 +01:00
|
|
|
buildInputs = [ pa_test pa_ounit ];
|
2016-09-14 01:42:40 +01:00
|
|
|
propagatedBuildInputs = [ type_conv pa_bench bin_prot_p4 comparelib custom_printf
|
2016-09-14 01:21:56 +01:00
|
|
|
enumerate fieldslib_p4 herelib pipebang sexplib_p4
|
2016-09-14 01:35:10 +01:00
|
|
|
typerep_p4 variantslib_p4 ];
|
2015-05-24 19:00:39 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/janestreet/core_kernel;
|
|
|
|
description = "Jane Street Capital's standard library overlay (kernel)";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|