[bug#64209,v3,11/14] gnu: Add ocaml-fiber.
Commit Message
* gnu/packages/ocaml.scm (ocaml-fiber): New variable.
Change-Id: I712cc3d907915fe9e1a0d3ff9e02bd6514130645
---
gnu/packages/ocaml.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
@@ -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)