guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.
commit 92bf06cb1d82f772290e1e2d1c3d2e50dade926b
Author: Jason Conroy <[email protected]>
AuthorDate: Sun Feb 15 12:52:53 2026 -0500
gnu: ocaml5: Add ocaml-calendar.
* gnu/packages/ocaml5.scm (ocaml-calendar): New variable.
Change-Id: I2b306f36fcf58390890ca2e35b341b3f9c259933
Signed-off-by: Julien Lepiller <[email protected]>
---
gnu/packages/ocaml5.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index ca4b7ab87e..b989e60b96 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -3341,6 +3341,28 @@ range of RFCs.")
"OCaml-uri is a library for parsing and unparsing RFC3986 URI strings.")
(license license:isc)))
+(define-public ocaml-calendar
+ (package
+ (name "ocaml5-calendar")
+ (version "3.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ocaml-community/calendar")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0jw8sdz1kl53fzdyxixd8ljfr25vvn4f2z4lspasqcj4ma5k6m7r"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-re ocaml-odoc ocaml-alcotest))
+ (home-page "https://github.com/ocaml-community/calendar")
+ (synopsis "OCaml library for handling dates and times")
+ (description "This package provides types and operations over
+dates and times.")
+ ;; With linking exception.
+ (license license:lgpl2.1+)))
+
;;;
;;; 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