summaryrefslogtreecommitdiff
path: root/gnu/packages/ocaml.scm
diff options
context:
space:
mode:
authorBenjamin <benjamin@uvy.fr>2024-03-24 00:35:18 +0100
committerDanny Milosavljevic <dannym@friendly-machines.com>2024-12-23 11:48:28 +0100
commit87d36c1e31eceb0e3d97c811a975403d2c060e52 (patch)
treedf05c37f7409da9c86946202621d0f3adb736d9a /gnu/packages/ocaml.scm
parent31a1e7d375cd554149bac83e5acaaf0ef63b65b6 (diff)
gnu: Add ocaml-fiber.
* gnu/packages/ocaml.scm (ocaml-fiber): New variable. Change-Id: Ibfab7cde463c806a89836bc42e3b84720fbf7206 Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
Diffstat (limited to 'gnu/packages/ocaml.scm')
-rw-r--r--gnu/packages/ocaml.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index e1cb029df7f..ddf2166d589 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8798,6 +8798,31 @@ This library offers no backwards compatibility guarantees.")))
This library offers no backwards compatibility guarantees.")
(license license:expat)))
+(define-public ocaml-fiber
+ (package
+ (name "ocaml-fiber")
+ (home-page "https://github.com/ocaml-dune/fiber")
+ (version "3.7.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "085v1dfxrb4wnkgysghj5q4vr4nx3nxr84rqmy874dr3pk30740n"))))
+ (build-system dune-build-system)
+ (arguments
+ '(#:package "fiber"))
+ (propagated-inputs (list dune-stdune dune-dyn))
+ (native-inputs (list ocaml-odoc ocaml-ppx-expect))
+ (synopsis "Structured concurrency library")
+ (description
+ "This library implements structured concurrency for ocaml.
+ It offers no backwards compatibility guarantees.")
+ (license license:expat)))
+
(define-public ocaml-either
(package
(name "ocaml-either")