gnu: Add ocaml-timezone.

* gnu/packages/ocaml.scm (ocaml-timezone): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Julien Lepiller 2022-04-08 15:23:03 +02:00 committed by Ludovic Courtès
parent e2a2c166a1
commit 0d7b065b1e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -6976,6 +6976,28 @@ (define-public ocaml4.07-core-kernel
;; MLton and sjs
license:expat)))))
(define-public ocaml-timezone
(package
(name "ocaml-timezone")
(version "0.14.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/janestreet/timezone")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0zf075k94nk2wxnzpxia7pnm655damwp1b58xf2s9disia1ydxg7"))))
(build-system dune-build-system)
(propagated-inputs (list ocaml-core-kernel ocaml-ppx-jane))
(home-page "https://github.com/janestreet/timezone")
(synopsis "Time-zone handling")
(description
"Timezone handles parsing timezone data and create @code{Timezone.t}
that can later be used to manipulate time in core_kernel or core.")
(license license:expat)))
(define-public ocaml-markup
(package
(name "ocaml-markup")