[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47768] [PATCH 34/37] gnu: Add ocaml-time-now.
From: |
pukkamustard |
Subject: |
[bug#47768] [PATCH 34/37] gnu: Add ocaml-time-now. |
Date: |
Wed, 14 Apr 2021 11:13:00 +0200 |
* gnu/packages/ocaml.scm (ocaml-time-now): 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 60bcc0568d..ade6083e16 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4168,6 +4168,31 @@ recommend using this package directly.")
packages.")
(license license:expat)))
+(define-public ocaml-time-now
+ (package
+ (name "ocaml-time-now")
+ (version "0.14.0")
+ (source
+ (janestreet-origin
+ "time_now" version
+ "0hkn2jw4dz5gflnsblskl5wp6z7zbrahwjmaxmsskfviwjg82cqh"))
+ (build-system dune-build-system)
+ (arguments '(#:tests? #f)) ; no tests
+ (propagated-inputs
+ `(("ocaml-base" ,ocaml-base)
+ ("ocaml-jane-street-headers" ,ocaml-jane-street-headers)
+ ("ocaml-jst-config" ,ocaml-jst-config)
+ ("ocaml-ppx-base" ,ocaml-ppx-base)
+ ("ocaml-ppx-optcomp" ,ocaml-ppx-optcomp)))
+ (properties `((upstream-name . "time_now")))
+ (home-page
+ "https://github.com/janestreet/time_now")
+ (synopsis "Reports the current time")
+ (description
+ "Provides a single function to report the current time in nanoseconds
+since the start of the Unix epoch.")
+ (license license:expat)))
+
(define-public ocaml4.07-ppx-inline-test
(package
(name "ocaml4.07-ppx-inline-test")
--
2.31.1
- [bug#47768] [PATCH 15/37] gnu: Add ocaml-ppx-sexp-conv., (continued)
- [bug#47768] [PATCH 15/37] gnu: Add ocaml-ppx-sexp-conv., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 16/37] gnu: Add ocaml-bigstringaf., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 18/37] gnu: Add ocaml-syntax-shims., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 08/37] gnu: Add ocaml-stdio., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 11/37] gnu: ocaml-migrate-parsetree: Update to 2.1.0., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 23/37] gnu: Add ocaml-ppx-custom-printf., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 24/37] gnu: Add ocaml-ppx-hash., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 22/37] gnu: Add ocaml-ppx-assert., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 25/37] gnu: Add ocaml-ppx-enumerate., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 20/37] gnu: Add ocaml-ppx-here., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 34/37] gnu: Add ocaml-time-now.,
pukkamustard <=
- [bug#47768] [PATCH 36/37] gnu: Add ocaml-angstrom., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 30/37] gnu: Add ocaml-ppx-optcomp, pukkamustard, 2021/04/14
- [bug#47768] [PATCH 19/37] gnu: Add ocaml-ppx-compare., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 17/37] gnu: Add ocaml-ppx-let., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 21/37] gnu: Add ocaml-ppx-cold., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 26/37] gnu: Add ocaml-ppx-js-style., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 27/37] gnu: Add ocaml-ppx-base., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 28/37] gnu: Add ocaml-fieldslib., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 32/37] gnu: Add ocaml-jst-config., pukkamustard, 2021/04/14
- [bug#47768] [PATCH 31/37] gnu: Add ocaml-ppx-optional., pukkamustard, 2021/04/14