summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2017-06-15 13:50:10 +0100
committerGitHub <noreply@github.com>2017-06-15 13:50:10 +0100
commita3539d0dbcbf750e1193657879f1a93a502337ac (patch)
tree91bb7355e2a5ecfd61a6ff91741941dc023636d3
parent72c36db003aa8ccebd7e5e673e5644f89cb45631 (diff)
parentb6534c694d3849649388df7bb6fb0a7dab9d96e1 (diff)
downloadnixpkgs-a3539d0dbcbf750e1193657879f1a93a502337ac.tar
nixpkgs-a3539d0dbcbf750e1193657879f1a93a502337ac.tar.gz
nixpkgs-a3539d0dbcbf750e1193657879f1a93a502337ac.tar.bz2
nixpkgs-a3539d0dbcbf750e1193657879f1a93a502337ac.tar.lz
nixpkgs-a3539d0dbcbf750e1193657879f1a93a502337ac.tar.xz
nixpkgs-a3539d0dbcbf750e1193657879f1a93a502337ac.tar.zst
nixpkgs-a3539d0dbcbf750e1193657879f1a93a502337ac.zip
Merge pull request #26126 from pmahoney/ocaml-core_bench
ocamlPackages.core_bench: init at 113.33.03
-rw-r--r--pkgs/development/ocaml-modules/janestreet/core_bench.nix20
-rw-r--r--pkgs/top-level/ocaml-packages.nix3
2 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/janestreet/core_bench.nix b/pkgs/development/ocaml-modules/janestreet/core_bench.nix
new file mode 100644
index 00000000000..83e6100f059
--- /dev/null
+++ b/pkgs/development/ocaml-modules/janestreet/core_bench.nix
@@ -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 ];
+  };
+}
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix
index 708cb374880..4486049ef91 100644
--- a/pkgs/top-level/ocaml-packages.nix
+++ b/pkgs/top-level/ocaml-packages.nix
@@ -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