summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/pa_bench
diff options
context:
space:
mode:
authorEric Merritt <eric@afiniate.com>2015-05-21 20:50:32 -0700
committerEric Merritt <eric@afiniate.com>2015-05-24 12:32:54 -0700
commit6c2a3f35ea2947660ed6684a2e86cec8e97fcc6d (patch)
treeb49603944c592347aaf5e0f0e1183ce68e372b6b /pkgs/development/ocaml-modules/pa_bench
parent86e8c73d7b075bde8e9731690fa9c6bdd76bba18 (diff)
downloadnixpkgs-6c2a3f35ea2947660ed6684a2e86cec8e97fcc6d.tar
nixpkgs-6c2a3f35ea2947660ed6684a2e86cec8e97fcc6d.tar.gz
nixpkgs-6c2a3f35ea2947660ed6684a2e86cec8e97fcc6d.tar.bz2
nixpkgs-6c2a3f35ea2947660ed6684a2e86cec8e97fcc6d.tar.lz
nixpkgs-6c2a3f35ea2947660ed6684a2e86cec8e97fcc6d.tar.xz
nixpkgs-6c2a3f35ea2947660ed6684a2e86cec8e97fcc6d.tar.zst
nixpkgs-6c2a3f35ea2947660ed6684a2e86cec8e97fcc6d.zip
ocaml-pa_bench: add initial version (112.06.00) to the system
Diffstat (limited to 'pkgs/development/ocaml-modules/pa_bench')
-rw-r--r--pkgs/development/ocaml-modules/pa_bench/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/pa_bench/default.nix b/pkgs/development/ocaml-modules/pa_bench/default.nix
new file mode 100644
index 00000000000..d8ce0dbc7ea
--- /dev/null
+++ b/pkgs/development/ocaml-modules/pa_bench/default.nix
@@ -0,0 +1,23 @@
+{stdenv, buildOcaml, fetchurl, type_conv, pa_ounit}:
+
+buildOcaml rec {
+  name = "pa_bench";
+  version = "112.06.00";
+
+  minimumSupportedOcamlVersion = "4.00";
+
+  src = fetchurl {
+    url = "https://github.com/janestreet/pa_bench/archive/${version}.tar.gz";
+    sha256 = "e3401e37f1d3d4acb957fd46a192d0ffcefeb0bedee63bbeb26969af1d540870";
+  };
+
+  buildInputs = [ pa_ounit ];
+  propagatedBuildInputs = [ type_conv ];
+
+  meta = with stdenv.lib; {
+    homepage = https://github.com/janestreet/pa_bench;
+    description = "Syntax extension for inline benchmarks";
+    license = stdenv.lib.licenses.asl20;
+    maintainers = [ maintainers.ericbmerritt ];
+  };
+}