guix-commits
[Top][All Lists]
Advanced

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

24/28: gnu: Add ocaml5.0-eio-main.


From: guix-commits
Subject: 24/28: gnu: Add ocaml5.0-eio-main.
Date: Wed, 21 Dec 2022 16:11:44 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit cb1fe1c6905a2e40ca767035809f6b35cd35fe22
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Fri Dec 16 13:25:23 2022 +0000

    gnu: Add ocaml5.0-eio-main.
    
    * gnu/packages/ocaml.scm (ocaml5.0-eio-main): New variable.
    
    Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
 gnu/packages/ocaml.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 30c3d93eaa..3eb155b8a7 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2903,6 +2903,27 @@ OCaml with fibers.")
 (define-public ocaml5.0-eio-linux
   (package-with-ocaml5.0 ocaml-eio-linux))
 
+(define ocaml-eio-main
+  (package
+    (inherit ocaml-eio)
+    (name "ocaml-eio-main")
+    (arguments `(#:package "eio_main"
+                 #:test-target "."
+                 ;; tests require network
+                 #:tests? #f))
+    (propagated-inputs
+     (list ocaml-eio
+           ocaml-eio-luv
+           ocaml-eio-linux))
+    (native-inputs
+     (list ocaml-mdx))
+    (synopsis "Eio backend selector")
+    (description "@code{Eio_main} selects an appropriate backend (e.g.
+@samp{eio_linux} or @samp{eio_luv}), depending on your platform.")))
+
+(define-public ocaml5.0-eio-main
+  (package-with-ocaml5.0 ocaml-eio-main))
+
 (define-public ocaml-lwt
   (package
     (name "ocaml-lwt")



reply via email to

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