guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit 9e874bc27bd8e33da7623604e8de2a6dbe701747
Author: Jason Conroy <[email protected]>
AuthorDate: Thu Jan 15 13:43:29 2026 -0500
gnu: ocaml5: Add ocaml-time-now.
* gnu/packages/ocaml5.scm (ocaml-time-now): New variable.
Change-Id: I938ec70ea565510173f2778924eb136cfd59287b
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/ocaml5.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 64ee5309ed..ec85896992 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -1966,6 +1966,24 @@ Note that Base doesn't need ppx to build, it is only
used as a
verification tool.")
(license license:expat)))
+(define-public ocaml-time-now
+ (package
+ (name "ocaml5-time-now")
+ (version "0.17.0")
+ (source
+ (janestreet-git-origin "time_now" version
+ "1abn5fqqixlj1jbqb6vwysn48m0fv9cp7jyw5nfkkyxivw9xccvd"))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-base ocaml-jane-street-headers
+ ocaml-jst-config ocaml-ppx-base
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)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar