about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/pa_bench
diff options
context:
space:
mode:
authorts468 <ts468@users.noreply.github.com>2015-09-06 21:15:10 +0200
committerts468 <ts468@users.noreply.github.com>2015-09-06 21:15:10 +0200
commit054be41e04e2f583433c8d69f73f63389aec7f77 (patch)
tree57b99067b9535540280af72c31b134d8ba8e1589 /pkgs/development/ocaml-modules/pa_bench
parenta9dab9df6110f6f5c8300c4408c845d8176539bd (diff)
downloadnixlib-054be41e04e2f583433c8d69f73f63389aec7f77.tar
nixlib-054be41e04e2f583433c8d69f73f63389aec7f77.tar.gz
nixlib-054be41e04e2f583433c8d69f73f63389aec7f77.tar.bz2
nixlib-054be41e04e2f583433c8d69f73f63389aec7f77.tar.lz
nixlib-054be41e04e2f583433c8d69f73f63389aec7f77.tar.xz
nixlib-054be41e04e2f583433c8d69f73f63389aec7f77.tar.zst
nixlib-054be41e04e2f583433c8d69f73f63389aec7f77.zip
Revert "ocaml-modules: fix naming: "_" -> "-""
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 000000000000..d8ce0dbc7eac
--- /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 ];
+  };
+}