aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2016-12-30 19:18:37 +0100
committerJulien Lepiller <julien@lepiller.eu>2017-02-15 20:10:53 +0100
commit9a63fef95aec84e79f4bbcc8ba927559981e34ee (patch)
treecef3731cc5f8060ca5be12f1a849ded3b090b6c2
parentbe1e892d8547fd8ec8bb4d794b26e94198ef30d1 (diff)
downloadguix-9a63fef95aec84e79f4bbcc8ba927559981e34ee.tar
guix-9a63fef95aec84e79f4bbcc8ba927559981e34ee.tar.gz
gnu: Add ocaml-ppx-bench.
* gnu/packages/ocaml.scm (ocaml-ppx-bench): New variable.
-rw-r--r--gnu/packages/ocaml.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index d350a2c739..40e4b20427 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2231,3 +2231,25 @@ different preprocessors that generate code from type specifications.")
(synopsis "Syntax extension for writing in-line tests in ocaml code")
(description "Syntax extension for writing in-line tests in ocaml code.")
(license license:asl2.0)))
+
+(define-public ocaml-ppx-bench
+ (package
+ (name "ocaml-ppx-bench")
+ (version "113.33.03")
+ (source (janestreet-origin "ppx_bench" version
+ "1hky3y17qpb925rymf97wv54di9gaqdmkix7wpkjw14qzl512b68"))
+ (build-system ocaml-build-system)
+ (native-inputs
+ `(("js-build-tools" ,ocaml-js-build-tools)
+ ("opam" ,opam)
+ ("ppx-core" ,ocaml-ppx-core)))
+ (propagated-inputs
+ `(("ppx-driver" ,ocaml-ppx-driver)
+ ("ppx-tools" ,ocaml-ppx-tools)
+ ("ppx-inline-test" ,ocaml-ppx-inline-test)
+ ("ppx-core" ,ocaml-ppx-core)))
+ (arguments janestreet-arguments)
+ (home-page "https://github.com/janestreet/ppx_bench/")
+ (synopsis "Syntax extension for writing in-line benchmarks in ocaml code")
+ (description "Syntax extension for writing in-line benchmarks in ocaml code.")
+ (license license:asl2.0)))