[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/45: gnu: Add ocaml-mirage-clock.
From: |
guix-commits |
Subject: |
18/45: gnu: Add ocaml-mirage-clock. |
Date: |
Fri, 17 Feb 2023 10:49:33 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 0d4ff1c2ad9b1451e38ede6f647eae492125cc08
Author: raingloom <raingloom@riseup.net>
AuthorDate: Wed Feb 15 23:00:07 2023 +0100
gnu: Add ocaml-mirage-clock.
* gnu/packages/ocaml.scm (ocaml-mirage-clock): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/ocaml.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 061654facd..3c77cbfa9b 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3825,6 +3825,30 @@ provided check the input and raise on negative or out of
bound input.")
"Defines the signature for time-related operations for MirageOS.")
(license license:isc)))
+(define-public ocaml-mirage-clock
+ (package
+ (name "ocaml-mirage-clock")
+ (version "4.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/mirage/mirage-clock")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0rkara9i3dvnzrb8jl2vkx8hgamvxnksin67wmhbv9d4i758amjy"))))
+ (build-system dune-build-system)
+ (home-page "https://github.com/mirage/mirage-clock")
+ (synopsis "Libraries and module types for portable clocks")
+ (description
+ "This library implements portable support for an operating system
+timesource that is compatible with the MirageOS library interfaces. It
+implements an @code{MCLOCK} module that represents a monotonic timesource
+since an arbitrary point, and @code{PCLOCK} which counts time since the Unix
+epoch.")
+ (license license:isc)))
+
(define-public ocaml-mirage-unix
(package
(name "ocaml-mirage-unix")
- branch master updated (eb38e74c6b -> c3dd743b9a), guix-commits, 2023/02/17
- 10/45: gnu: Add ocaml-mirage., guix-commits, 2023/02/17
- 02/45: gnu: Add ocaml-macaddr., guix-commits, 2023/02/17
- 04/45: gnu: Add ocaml-opam-monorepo., guix-commits, 2023/02/17
- 07/45: gnu: Add ocaml-functoria-runtime, guix-commits, 2023/02/17
- 15/45: gnu: Add ocaml-ppx-cstruct., guix-commits, 2023/02/17
- 18/45: gnu: Add ocaml-mirage-clock.,
guix-commits <=
- 27/45: gnu: Add ocaml-textutils-kernel., guix-commits, 2023/02/17
- 34/45: gnu: Add ocaml-xenstore., guix-commits, 2023/02/17
- 39/45: gnu: Add ocaml-mirage-bootvar-unix., guix-commits, 2023/02/17
- 03/45: gnu: Add ocaml-ipaddr., guix-commits, 2023/02/17
- 21/45: gnu: Add ocaml-sexp-pretty., guix-commits, 2023/02/17
- 11/45: gnu: Add ocaml-duration., guix-commits, 2023/02/17
- 17/45: gnu: Add ocaml-mirage-profile., guix-commits, 2023/02/17
- 22/45: gnu: Add ocaml-expect-test-helpers-core., guix-commits, 2023/02/17
- 24/45: gnu: Add ocaml-core-unix., guix-commits, 2023/02/17
- 31/45: gnu: Add ocaml-async., guix-commits, 2023/02/17