diff options
author | Julien Lepiller <julien@lepiller.eu> | 2022-04-08 15:23:03 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-04-11 11:56:49 +0200 |
commit | 0d7b065b1e5412e1e85d049e222402ecca2d0a6f (patch) | |
tree | 0067101d20ae3c187d5822b605c53cf218638a42 /gnu/packages | |
parent | e2a2c166a1d9a1636b1291919a7c5d7b0aceacae (diff) | |
download | guix-patches-0d7b065b1e5412e1e85d049e222402ecca2d0a6f.tar guix-patches-0d7b065b1e5412e1e85d049e222402ecca2d0a6f.tar.gz |
gnu: Add ocaml-timezone.
* gnu/packages/ocaml.scm (ocaml-timezone): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/ocaml.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index be6477edbe..c1e30ba88f 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6976,6 +6976,28 @@ the full Core is not available, such as in Javascript.") ;; 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") |