guix-commits
[Top][All Lists]
Advanced

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

10/45: gnu: Add ocaml-mirage.


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

cbaines pushed a commit to branch master
in repository guix.

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

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 8c189fab07..892a247883 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3752,6 +3752,30 @@ how to apply them in order to produce a complete 
application.  The main use
 case is mirage.")
     (license license:isc)))
 
+(define-public ocaml-mirage
+  (package
+    (inherit ocaml-functoria-runtime)
+    (name "ocaml-mirage")
+    (build-system dune-build-system)
+    (arguments
+     '(#:package "mirage"
+       ;; 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-astring ocaml-bos ocaml-functoria ocaml-ipaddr ocaml-logs
+           ocaml-mirage-runtime ocaml-opam-monorepo))
+    (native-inputs (list ocaml-alcotest ocaml-fmt))
+    (home-page "https://github.com/mirage/mirage";)
+    (synopsis
+     "The MirageOS library operating system")
+    (description
+     "Library operating system that constructs unikernels for secure,
+high-performance network applications across a variety of cloud computing and
+mobile platforms.  Code can be developed on a normal OS and then compiled into
+a fully-standalone, specialised unikernel.")
+    (license license:isc)))
+
 (define-public ocaml-ocurl
   (package
     (name "ocaml-ocurl")



reply via email to

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