gnu: Add ocaml-mirage-unix.

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

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

View file

@ -3800,6 +3800,27 @@ (define-public ocaml-duration
provided check the input and raise on negative or out of bound input.")
(license license:isc)))
(define-public ocaml-mirage-unix
(package
(name "ocaml-mirage-unix")
(version "5.0.1")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/mirage/mirage-unix/releases/download/v"
version "/mirage-unix-5.0.1.tbz"))
(sha256
(base32
"1y44hvsd5lxqbazwkv9n6cn936lpn8l7v82wf55w4183fp70nnjk"))))
(build-system dune-build-system)
(propagated-inputs (list ocaml-lwt ocaml-duration ocaml-mirage-runtime))
(home-page "https://github.com/mirage/mirage-unix")
(synopsis "Unix core platform libraries for MirageOS")
(description
"This package provides the MirageOS `OS` library for Unix targets, which
handles the main loop and timers.")
(license license:isc)))
(define-public ocaml-ocurl
(package
(name "ocaml-ocurl")