[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60673] [PATCH v2 11/39] gnu: Add ocaml-duration.
From: |
Csepp |
Subject: |
[bug#60673] [PATCH v2 11/39] gnu: Add ocaml-duration. |
Date: |
Wed, 15 Feb 2023 23:00:00 +0100 |
From: raingloom <raingloom@riseup.net>
* gnu/packages/ocaml.scm (ocaml-duration): New variable.
---
gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index d89b538d31..263ad9d200 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3778,6 +3778,30 @@ (define-public ocaml-mirage
a fully-standalone, specialised unikernel.")
(license license:isc)))
+(define-public ocaml-duration
+ (package
+ (name "ocaml-duration")
+ (version "0.2.1")
+ (source (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/hannesm/duration/")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0vvxi0ipxmdz1k4h501brvccniwf3wpc32djbccyyrzraiz7qkff"))))
+ (build-system dune-build-system)
+ (native-inputs (list ocaml-alcotest))
+ (home-page "https://github.com/hannesm/duration")
+ (synopsis "Conversions to various time units")
+ (description
+ "This package provides a duration is represented in nanoseconds as an
+unsigned 64 bit integer. This has a range of up to 584 years. Functions
+provided check the input and raise on negative or out of bound input.")
+ (license license:isc)))
+
(define-public ocaml-ocurl
(package
(name "ocaml-ocurl")
--
2.39.1
- [bug#60673], Csepp, 2023/02/15
- [bug#60673] [PATCH v2 01/39] gnu: Add ocaml-domain-name., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 04/39] gnu: Add ocaml-opam-monorepo., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 02/39] gnu: Add ocaml-macaddr., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 03/39] gnu: Add ocaml-ipaddr., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 05/39] gnu: Add ocaml-pecu., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 06/39] gnu: Add ocaml-emile., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 07/39] gnu: Add ocaml-functoria-runtime, Csepp, 2023/02/15
- [bug#60673] [PATCH v2 11/39] gnu: Add ocaml-duration.,
Csepp <=
- [bug#60673] [PATCH v2 13/39] gnu: Add ocaml-mirage-time., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 09/39] gnu: Add ocaml-functoria., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 14/39] gnu: Add aliases for ocaml-cstruct and ocaml-lwt subpackages., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 15/39] gnu: Add ocaml-ppx-cstruct., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 17/39] gnu: Add ocaml-mirage-profile., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 12/39] gnu: Add ocaml-mirage-unix., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 16/39] gnu: Add ocaml-mirage-profile-unix., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 08/39] gnu: Add ocaml-mirage-runtime., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 19/39] gnu: Add ocaml-ptime., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 20/39] gnu: Add ocaml-mirage-logs., Csepp, 2023/02/15