Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 16.09 30 lines 996 B view raw
1{stdenv, buildOcaml, fetchurl, type_conv, 2 core_kernel, 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"; 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 bin_prot comparelib 21 custom_printf enumerate fieldslib herelib 22 pipebang sexplib typerep variantslib ]; 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}