[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53882] [PATCH 09/24] gnu: Add ocaml-ppx-module-timer.
From: |
Julien Lepiller |
Subject: |
[bug#53882] [PATCH 09/24] gnu: Add ocaml-ppx-module-timer. |
Date: |
Tue, 8 Feb 2022 21:14:35 +0100 |
* gnu/packages/ocaml.scm (ocaml-ppx-module-timer): New variable.
---
gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index c2ee95a263..b638f59544 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5931,6 +5931,31 @@ (define-public ocaml4.07-ppx-pipebang
(properties '())
(license license:asl2.0))))
+(define-public ocaml-ppx-module-timer
+ (package
+ (name "ocaml-ppx-module-timer")
+ (version "0.14.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/janestreet/ppx_module_timer")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "163q1rpblwv82fxwyf0p4j9zpsj0jzvkfmzb03r0l49gqhn89mp6"))))
+ (build-system dune-build-system)
+ (arguments
+ `(#:tests? #f)); no tests
+ (propagated-inputs
+ (list ocaml-base ocaml-ppx-base ocaml-stdio ocaml-time-now ocaml-ppxlib))
+ (properties `((upstream-name . "ppx_module_timer")))
+ (home-page "https://github.com/janestreet/ppx_module_timer")
+ (synopsis "Ppx rewriter that records top-level module startup times")
+ (description "Modules using @samp{ppx_module_timer} have instrumentation
+to record their startup time.")
+ (license license:expat)))
+
(define-public ocaml-ppx-optional
(package
(name "ocaml-ppx-optional")
--
2.34.0
- [bug#53882] [PATCH] gnu: Add ocaml-core., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 01/24] import: opam: Accept tabulations., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 03/24] gnu: Add ocaml-spawn., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 05/24] gnu: Add ocaml-ppx-typerep-conv., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 06/24] gnu: Add ocaml-ppx-string., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 09/24] gnu: Add ocaml-ppx-module-timer.,
Julien Lepiller <=
- [bug#53882] [PATCH 11/24] gnu: Add ocaml-bin-prot., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 19/24] gnu: Add ocmal-ppx-jane., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 22/24] gnu: Add ocaml-timezone., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 24/24] gnu: Add ocaml-core., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 23/24] gnu: ocaml-jane-street-headers: Add variant., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 12/24] gnu: Add ocaml-ppx-bin-prot., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 14/24] gnu: Add ocaml-ppx-sexp-value., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 17/24] gnu: Add ocaml-base-quickcheck., Julien Lepiller, 2022/02/08
- [bug#53882] [PATCH 13/24] gnu: Add ocaml-ppx-bench., Julien Lepiller, 2022/02/08