[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/22: gnu: Add ocaml-time-now.
From: |
guix-commits |
Subject: |
13/22: gnu: Add ocaml-time-now. |
Date: |
Sun, 13 Jun 2021 11:16:20 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 7c8fcd284b0e106500b701f6ad4259ff8ff261fb
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Tue Jun 1 20:23:16 2021 +0000
gnu: Add ocaml-time-now.
* gnu/packages/ocaml.scm (ocaml-time-now): New variable.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
gnu/packages/ocaml.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 9471e8f..92afdbf 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4180,6 +4180,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")
- 08/22: gnu: Add ocaml-ppx-fields-conv., (continued)
- 08/22: gnu: Add ocaml-ppx-fields-conv., guix-commits, 2021/06/13
- 11/22: gnu: Add ocaml-jst-config., guix-commits, 2021/06/13
- 05/22: gnu: Add ocaml-ppx-js-style., guix-commits, 2021/06/13
- 09/22: gnu: Add ocaml-ppx-optcomp, guix-commits, 2021/06/13
- 14/22: gnu: Add ocaml-ppx-inline-test., guix-commits, 2021/06/13
- 12/22: gnu: Add ocaml-jane-street-headers., guix-commits, 2021/06/13
- 22/22: gnu: Add ocaml-js-of-ocaml., guix-commits, 2021/06/13
- 17/22: gnu: Add ocaml-graphics., guix-commits, 2021/06/13
- 15/22: gnu: Add ocaml-angstrom., guix-commits, 2021/06/13
- 20/22: gnu: Add ocaml-ppx-expect., guix-commits, 2021/06/13
- 13/22: gnu: Add ocaml-time-now.,
guix-commits <=
- 18/22: gnu: Add ocaml-variantslib., guix-commits, 2021/06/13
- 21/22: gnu: ocaml-num: Update to 1.4., guix-commits, 2021/06/13
- 19/22: gnu: Add ocaml-ppx-variants-conv., guix-commits, 2021/06/13