[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60673] [PATCH v2 18/39] gnu: Add ocaml-mirage-clock.
From: |
Csepp |
Subject: |
[bug#60673] [PATCH v2 18/39] gnu: Add ocaml-mirage-clock. |
Date: |
Wed, 15 Feb 2023 23:00:07 +0100 |
From: raingloom <raingloom@riseup.net>
* gnu/packages/ocaml.scm (ocaml-mirage-clock): 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 fd40f7b75c..48676f0fbf 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3827,6 +3827,30 @@ (define-public ocaml-mirage-time
"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")
--
2.39.1
- [bug#60673] [PATCH v2 28/39] gnu: Add ocaml-textutils., (continued)
- [bug#60673] [PATCH v2 28/39] gnu: Add ocaml-textutils., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 29/39] gnu: Add ocaml-protocol-version-header., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 39/39] gnu: Add ocaml-mirage-bootvar-unix., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 34/39] gnu: Add ocaml-xenstore., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 36/39] gnu: Add ocaml-bheap., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 22/39] gnu: Add ocaml-expect-test-helpers-core., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 24/39] gnu: Add ocaml-core-unix., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 30/39] gnu: Add ocaml-async-rpc-kernel., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 38/39] gnu: Add ocaml-parse-argv., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 37/39] gnu: Add ocaml-mirage-xen., Csepp, 2023/02/15
- [bug#60673] [PATCH v2 18/39] gnu: Add ocaml-mirage-clock.,
Csepp <=
- [bug#60673] [PATCH v2 21/39] gnu: Add ocaml-sexp-pretty., Csepp, 2023/02/15