Subject: bug#60679: closed (Re: [bug#60673] [PATCH 01/39] gnu: Add ocaml-domain-name.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 17 Feb 2023 15:53:04 +0000

Your bug report

#60673: [PATCH 09/39] gnu: Add ocaml-functoria.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
60673: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60673
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#60673] [PATCH 01/39] gnu: Add ocaml-domain-name.
From: Christopher Baines <[email-masked]>
To: [email-masked]
Cc: Julien Lepiller <[email-masked]>, [email-masked], [email-masked]
Date: Fri, 17 Feb 2023 15:50:00 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

Julien Lepiller <[email-masked]> writes:

> https://qa.guix.gnu.org/issue/60673 has picked it up at least :). We
> still need to wait for a few builds.

Everything looks to have built on x86_64-linux and aarch64-linux, plus
there are no introduced lint warnings now (for the checkers the data
service runs at least), so I've gone ahead and pushed these patches to
master as 48724a66422e02995e62e2f707dcd9087d43bee5.

Thanks,

Chris

Subject: [PATCH 09/39] gnu: Add ocaml-functoria.
From: Csepp <[email-masked]>
To: [email-masked]
Cc: raingloom <[email-masked]>
Date: Mon, 9 Jan 2023 01:34:59 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

From: raingloom <[email-masked]>

* gnu/packages/ocaml.scm (ocaml-functoria): New variable.
---
 gnu/packages/ocaml.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index e0e6a7e1cb..945ed87701 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -3738,6 +3738,29 @@ (define-public ocaml-mirage-runtime
 applications built with MirageOS")
     (license license:isc)))
 
+(define-public ocaml-functoria
+  (package
+    (inherit ocaml-functoria-runtime)
+    (name "ocaml-functoria")
+    (build-system dune-build-system)
+    (arguments
+     '(#:package "functoria"
+       ;; 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-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)))
+
 (define-public ocaml-ocurl
   (package
     (name "ocaml-ocurl")
-- 
2.38.1