guix-commits
[Top][All Lists]
Advanced

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

23/28: gnu: Add ocaml5.0-eio-linux.


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

roptat pushed a commit to branch master
in repository guix.

commit 417be516def1853d2ef9bf40a31d9eba759451e9
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Fri Dec 16 13:25:22 2022 +0000

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

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index d69ffaa969..30c3d93eaa 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2880,6 +2880,29 @@ OCaml with fibers.")
     (license
      (list license:isc license:expat))))
 
+(define ocaml-eio-linux
+  (package
+    (inherit ocaml-eio)
+    (name "ocaml-eio-linux")
+    (arguments `(#:package "eio_linux"
+                 #:test-target "."))
+    (propagated-inputs
+     (list ocaml-eio
+           ocaml-uring
+           ocaml-logs
+           ocaml-fmt))
+    (native-inputs
+     (list ocaml-mdx
+           ocaml-alcotest
+           ocaml-mdx))
+    (synopsis "Linux backend for ocaml-eio")
+    (description "@code{Eio_linux} provides a Linux io-uring backend for
+@code{Ocaml Eio} APIs, plus a low-level API that can be used directly
+(in non-portable code).")))
+
+(define-public ocaml5.0-eio-linux
+  (package-with-ocaml5.0 ocaml-eio-linux))
+
 (define-public ocaml-lwt
   (package
     (name "ocaml-lwt")



reply via email to

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