guix_mirror_bot pushed a commit to branch ocaml-team
in repository guix.

commit 0af827498b461af854737dd57dc3ddf882f417c0
Author: Jason Conroy <[email protected]>
AuthorDate: Mon Feb 16 08:57:14 2026 -0500

    gnu: ocaml5: Add ocaml-functoria.
    
    * gnu/packages/ocaml5.scm (ocaml-functoria): New variable.
    
    Change-Id: I1cecb3cd5a442e250366cc6ccff7c412d40dedbd
    Signed-off-by: Julien Lepiller <[email protected]>
---
 gnu/packages/ocaml5.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/ocaml5.scm b/gnu/packages/ocaml5.scm
index 2248983e85..1c3e4c819b 100644
--- a/gnu/packages/ocaml5.scm
+++ b/gnu/packages/ocaml5.scm
@@ -3827,6 +3827,33 @@ that constructs unikernels.")))
 applications built with MirageOS.")
     (license license:isc)))
 
+(define-public ocaml-functoria
+  (package
+    (inherit %ocaml-mirage-base)
+    (name "ocaml5-functoria")
+    (arguments
+     '(#:package "functoria"
+       ;; some tests require opam, which needs network access.
+       #:tests? #f))
+    (propagated-inputs (list ocaml-cmdliner
+                             ocaml-rresult
+                             ocaml-result
+                             ocaml-astring
+                             ocaml-fmt
+                             ocaml-logs
+                             ocaml-bos
+                             ocaml-fpath
+                             ocaml-emile
+                             ocaml-uri))
+    (native-inputs (list ocaml-alcotest ocaml-functoria-runtime))
+    (home-page "https://github.com/mirage/mirage";)
+    (synopsis "DSL to organize functor applications")
+    (description
+     "DSL to describe a set of modules and functors, their types and
+how to apply them in order to produce a complete application.  The main use
+case is Mirage.")
+    (license license:isc)))
+
 ;;;
 ;;; Avoid adding new packages to the end of this file. To reduce the chances
 ;;; of a merge conflict, place them above by existing packages with similar

Reply via email to