guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/45: gnu: Add ocaml-mirage-runtime.


From: guix-commits
Subject: 08/45: gnu: Add ocaml-mirage-runtime.
Date: Fri, 17 Feb 2023 10:49:31 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 8ca17c042622220c54491ae616812bc199a2f2b9
Author: raingloom <raingloom@riseup.net>
AuthorDate: Wed Feb 15 22:59:57 2023 +0100

    gnu: Add ocaml-mirage-runtime.
    
    * gnu/packages/ocaml.scm (ocaml-mirage-runtime): New variable.
    
    Signed-off-by: Christopher Baines <mail@cbaines.net>
---
 gnu/packages/ocaml.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 38d581682b..40ef5c27e2 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3708,6 +3708,27 @@ according RFC2047.")
      "This is the runtime support library for code generated by functoria.")
     (license license:isc)))
 
+(define-public ocaml-mirage-runtime
+  (package
+    (inherit ocaml-functoria-runtime)
+    (name "ocaml-mirage-runtime")
+    (build-system dune-build-system)
+    (arguments
+     '(#:package "mirage-runtime"
+       ;; TODO again, wants opam, other tests seem to pass
+       ;; look for a way to disable tests that want network access
+       #:tests? #f))
+    (propagated-inputs (list ocaml-ipaddr ocaml-functoria-runtime ocaml-fmt
+                             ocaml-logs ocaml-lwt))
+    (native-inputs (list ocaml-alcotest))
+    (home-page "https://github.com/mirage/mirage";)
+    (synopsis
+     "The base MirageOS runtime library, part of every MirageOS unikernel")
+    (description
+     "This package provides a bundle of useful runtime functions for
+applications built with MirageOS")
+    (license license:isc)))
+
 (define-public ocaml-ocurl
   (package
     (name "ocaml-ocurl")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]