2015-09-06 20:15:10 +01:00
|
|
|
{stdenv, buildOcaml, fetchurl, type_conv,
|
|
|
|
core_kernel, bin_prot, 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:21:56 +01:00
|
|
|
pipebang, sexplib_p4, typerep_p4, variantslib}:
|
2015-05-24 18:27:07 +01:00
|
|
|
|
|
|
|
buildOcaml rec {
|
|
|
|
name = "core";
|
|
|
|
version = "112.24.01";
|
|
|
|
|
|
|
|
minimumSupportedOcamlVersion = "4.02";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/janestreet/core/archive/${version}.tar.gz";
|
|
|
|
sha256 = "be5d53ebd4fd04ef23ebf9b3b2840c7aeced6bc4cc6cd3f5e89f71c9949000f4";
|
|
|
|
};
|
|
|
|
|
|
|
|
hasSharedObjects = true;
|
|
|
|
|
2015-09-06 20:15:10 +01:00
|
|
|
buildInputs = [ pa_bench pa_test pa_ounit ];
|
|
|
|
propagatedBuildInputs = [ type_conv core_kernel bin_prot comparelib
|
2016-09-14 00:58:42 +01:00
|
|
|
custom_printf enumerate fieldslib_p4 herelib
|
2016-09-14 01:21:56 +01:00
|
|
|
pipebang sexplib_p4 typerep_p4 variantslib ];
|
2015-05-24 18:27:07 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/janestreet/core;
|
|
|
|
description = "Jane Street Capital's standard library overlay";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.ericbmerritt ];
|
|
|
|
};
|
|
|
|
}
|