From 2b335e87f7f25bfa5e51f3d840673a3bf8d6d014 Mon Sep 17 00:00:00 2001 From: pukkamustard Date: Fri, 16 Dec 2022 13:25:20 +0000 Subject: gnu: Add ocaml5.0-eio-luv. * gnu/packages/ocaml.scm (ocaml5.0-eio-luv): New variable. Signed-off-by: Julien Lepiller --- gnu/packages/ocaml.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'gnu/packages/ocaml.scm') diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 769a628acc..c78d8a2b6d 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -2833,6 +2833,21 @@ OCaml with fibers.") (define-public ocaml5.0-eio (package-with-ocaml5.0 ocaml-eio)) +(define ocaml-eio-luv + (package + (inherit ocaml-eio) + (name "ocaml-eio-luv") + (arguments `(#:package "eio_luv" + #:test-target ".")) + (propagated-inputs (list ocaml-eio ocaml-luv)) + (native-inputs (list ocaml-mdx)) + (synopsis "Libuv-based backend for Ocaml Eio") + (description "@code{Eio_luv} provides a cross-platform backend for +@code{Ocaml Eio}'s APIs using luv (libuv)"))) + +(define-public ocaml5.0-eio-luv + (package-with-ocaml5.0 ocaml-eio-luv)) + (define-public ocaml-lwt (package (name "ocaml-lwt") -- cgit v1.2.3