guix-patches
[Top][All Lists]
Advanced

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

[bug#64209] [PATCH v3 11/14] gnu: Add ocaml-fiber.


From: Benjamin
Subject: [bug#64209] [PATCH v3 11/14] gnu: Add ocaml-fiber.
Date: Fri, 10 Nov 2023 16:46:23 +0100

* gnu/packages/ocaml.scm (ocaml-fiber): New variable.

Change-Id: I712cc3d907915fe9e1a0d3ff9e02bd6514130645
---
 gnu/packages/ocaml.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 2af4f4133f..733bcd011e 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -9753,6 +9753,26 @@ (define-public ocaml-stdune
      "This library is dune standard library. It offers no backwards
 compatibility guarantees.")))
 
+(define-public ocaml-fiber
+  (package
+    (inherit dune)
+    (name "ocaml-fiber")
+    (build-system dune-build-system)
+    (arguments
+     '(#:package "fiber"
+       #:tests? #f
+       #:phases (modify-phases %standard-phases
+                  (add-before 'build 'remove-vendor
+                    (lambda _
+                      (delete-file-recursively "vendor/csexp")
+                      (delete-file-recursively "vendor/pp"))))))
+    (propagated-inputs (list ocaml-stdune ocaml-dyn ocaml-odoc))
+    (properties '())
+    (synopsis "Structured concurrency library for ocaml")
+    (description
+     "This library implements structured concurrency for ocaml.
+     It offers no backwards compatibility guarantees.")))
+
 (define-public ocaml-xdg
   (package
     (inherit dune)
-- 
2.41.0






reply via email to

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