mirror of
https://codeberg.org/guix/guix.git
synced 2026-04-28 06:34:05 +00:00
gnu: ocaml5: Add ocaml-mirage-sleep.
* gnu/packages/ocaml5.scm (ocaml-mirage-sleep): New variable. Change-Id: I273469f751df3ec517d7cfc7db7ae26a3ae03102 Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
committed by
Julien Lepiller
parent
9ced09fd18
commit
8f14a53c4e
@@ -4780,6 +4780,27 @@ persistent data storage. Use for testing or amnesia.")
|
||||
handles the main loop and timers.")
|
||||
(license license:isc)))
|
||||
|
||||
(define-public ocaml-mirage-sleep
|
||||
(package
|
||||
(name "ocaml5-mirage-sleep")
|
||||
(version "4.1.0")
|
||||
(home-page "https://github.com/mirage/mirage-sleep")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url home-page)
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "139jh41j5yxg8l98lfk6rh9qpxh57gc0wazlimzd81s6wqmi5v3p"))))
|
||||
(build-system dune-build-system)
|
||||
(propagated-inputs (list ocaml-lwt ocaml-duration))
|
||||
(synopsis "Sleep operation for MirageOS")
|
||||
(description "Mirage_sleep defines the single function `ns`, which is used
|
||||
to sleep for a given amount of nanoseconds.")
|
||||
(license license:isc)))
|
||||
|
||||
(define-public ocaml-ppx-stable-witness
|
||||
(package
|
||||
(name "ocaml5-ppx-stable-witness")
|
||||
|
||||
Reference in New Issue
Block a user