[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53882] [PATCH v2 10/25] gnu: Add ocaml-ppx-module-timer.
From: |
zimoun |
Subject: |
[bug#53882] [PATCH v2 10/25] gnu: Add ocaml-ppx-module-timer. |
Date: |
Fri, 8 Apr 2022 15:22:50 +0200 |
From: Julien Lepiller <julien@lepiller.eu>
* 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 c2924fc59d..a5f57fe36f 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5929,6 +5929,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 v2 01/25] gnu: ocaml-odoc: Update to 2.2.0-alpha., zimoun, 2022/04/08
- [bug#53882] [PATCH v2 03/25] import: opam: Factor out source import., zimoun, 2022/04/08
- [bug#53882] [PATCH v2 05/25] gnu: Add ocaml-typerep., zimoun, 2022/04/08
- [bug#53882] [PATCH v2 10/25] gnu: Add ocaml-ppx-module-timer.,
zimoun <=
- [bug#53882] [PATCH v2 02/25] import: opam: Accept tabulations., zimoun, 2022/04/08
- [bug#53882] [PATCH v2 08/25] gnu: Add ocaml-ppx-stable., zimoun, 2022/04/08
- [bug#53882] [PATCH v2 06/25] gnu: Add ocaml-ppx-typerep-conv., zimoun, 2022/04/08
- [bug#53882] [PATCH v2 14/25] gnu: Add ocaml-ppx-bench., zimoun, 2022/04/08
- [bug#53882] [PATCH v2 16/25] gnu: Add ocaml-ppx-sexp-message., zimoun, 2022/04/08
- [bug#53882] [PATCH v2 25/25] gnu: Add ocaml-core., zimoun, 2022/04/08
- [bug#53882] [PATCH v2 20/25] gnu: Add ocaml-ppx-jane., zimoun, 2022/04/08
- [bug#53882] [PATCH v2 15/25] gnu: Add ocaml-ppx-sexp-value., zimoun, 2022/04/08
- [bug#53882] [PATCH v2 23/25] gnu: Add ocaml-timezone., zimoun, 2022/04/08
- [bug#53882] [PATCH v2 07/25] gnu: Add ocaml-ppx-string., zimoun, 2022/04/08