Subject: bug#60681: closed (Re: [bug#60673] [PATCH 01/39] gnu: Add ocaml-domain-name.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 17 Feb 2023 15:53:05 +0000

Your bug report

#60673: [PATCH 11/39] gnu: Add ocaml-duration.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
60673: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60673
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#60673] [PATCH 01/39] gnu: Add ocaml-domain-name.
From: Christopher Baines <[email-masked]>
To: [email-masked]
Cc: Julien Lepiller <[email-masked]>, [email-masked], [email-masked]
Date: Fri, 17 Feb 2023 15:50:00 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Julien Lepiller <[email-masked]> writes:

> https://qa.guix.gnu.org/issue/60673 has picked it up at least :). We
> still need to wait for a few builds.

Everything looks to have built on x86_64-linux and aarch64-linux, plus
there are no introduced lint warnings now (for the checkers the data
service runs at least), so I've gone ahead and pushed these patches to
master as 48724a66422e02995e62e2f707dcd9087d43bee5.

Thanks,

Chris

Subject: [PATCH 11/39] gnu: Add ocaml-duration.
From: Csepp <[email-masked]>
To: [email-masked]
Cc: raingloom <[email-masked]>
Date: Mon, 9 Jan 2023 01:35:01 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

From: raingloom <[email-masked]>

* 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 d33b5ba5f0..447b537637 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3785,6 +3785,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.38.1