gnu: Add ocaml-mirage-time.

* gnu/packages/ocaml.scm (ocaml-mirage-time): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
raingloom 2023-02-15 23:00:02 +01:00 committed by Christopher Baines
parent 1132921ea6
commit 14ccbf500c
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -3800,6 +3800,26 @@ (define-public ocaml-duration
provided check the input and raise on negative or out of bound input.")
(license license:isc)))
(define-public ocaml-mirage-time
(package
(name "ocaml-mirage-time")
(version "3.0.0")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/mirage/mirage-time/releases/download/v"
version "/mirage-time-v3.0.0.tbz"))
(sha256
(base32
"0z5xkhlgyhm22wyhwpf9r0rn4125cc3cxj6ccavyiiz2b2dr8h0d"))))
(build-system dune-build-system)
(propagated-inputs (list ocaml-lwt ocaml-duration))
(home-page "https://github.com/mirage/mirage-time")
(synopsis "Time operations for MirageOS")
(description
"Defines the signature for time-related operations for MirageOS.")
(license license:isc)))
(define-public ocaml-mirage-unix
(package
(name "ocaml-mirage-unix")