nixpkgs/pkgs/development/ocaml-modules/core_kernel/default.nix
Matthew Maurer d97392c39a ocaml-typerep: 112.24.00 -> 112.24.00/113.33.03
Split typerep into ppx supporting (modern) and p4 supporting (legacy)
2016-09-14 02:35:13 -04:00

31 lines
1007 B
Nix

{stdenv, buildOcaml, fetchurl, type_conv,
bin_prot, comparelib, custom_printf, enumerate,
fieldslib, herelib, pa_bench, pa_test, pa_ounit,
pipebang, sexplib, typerep_p4, variantslib}:
buildOcaml rec {
name = "core_kernel";
version = "112.24.00";
minimumSupportedOcamlVersion = "4.02";
src = fetchurl {
url = "https://github.com/janestreet/core_kernel/archive/${version}.tar.gz";
sha256 = "93e1f21e35ade98a2bfbe45ba76eef4a8ad3fed97cdc0769f96e0fcc86d6a761";
};
hasSharedObjects = true;
buildInputs = [ pa_test pa_ounit ];
propagatedBuildInputs = [ type_conv pa_bench bin_prot comparelib custom_printf
enumerate fieldslib herelib pipebang sexplib
typerep_p4 variantslib ];
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 ];
};
}