Merge pull request #26126 from pmahoney/ocaml-core_bench

ocamlPackages.core_bench: init at 113.33.03
This commit is contained in:
Jörg Thalheim 2017-06-15 13:50:10 +01:00 committed by GitHub
commit a3539d0dbc
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ stdenv
, buildOcamlJane
, core
, core_extended
, textutils
}:
buildOcamlJane rec {
name = "core_bench";
hash = "1d1ainpakgsf5rg8dvar12ksgilqcc4465jr8gf7fz5mmn0mlifj";
propagatedBuildInputs =
[ core core_extended textutils ];
meta = with stdenv.lib; {
homepage = https://github.com/janestreet/core_bench;
description = "Micro-benchmarking library for OCaml";
license = licenses.asl20;
maintainers = [ maintainers.pmahoney ];
};
}

View file

@ -753,6 +753,9 @@ let
then callPackage ../development/ocaml-modules/janestreet/bin_prot.nix {}
else bin_prot_p4;
core_bench =
callPackage ../development/ocaml-modules/janestreet/core_bench.nix {};
core_kernel =
if lib.versionOlder "4.03" ocaml.version
then janeStreet.core_kernel