[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60120] [PATCH 20/28] gnu: Add ocaml5.0-eio.
From: |
pukkamustard |
Subject: |
[bug#60120] [PATCH 20/28] gnu: Add ocaml5.0-eio. |
Date: |
Fri, 16 Dec 2022 13:25:19 +0000 |
* gnu/packages/ocaml.scm (ocaml5.0-eio): New variable.
---
gnu/packages/ocaml.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 148502f26f..02173421d9 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2793,6 +2793,42 @@ (define-public ocaml-hmap
to which allows to add and lookup bindings in a type safe manner. ")
(license license:isc)))
+(define ocaml-eio
+ (package
+ (name "ocaml-eio")
+ (version "0.7")
+ (home-page "https://github.com/ocaml-multicore/eio")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256 (base32
+ "118raxdwv6pn5b152ffdhmwdi0l4wlwflcj2nmckfmm7v1z2fq4s"))))
+ (build-system dune-build-system)
+ (arguments `(#:package "eio"
+ #:test-target "."))
+ (propagated-inputs (list ocaml-bigstringaf
+ ocaml-cstruct
+ ocaml-lwt
+ ocaml-lwt-dllist
+ ocaml-logs
+ ocaml-optint
+ ocaml-psq
+ ocaml-fmt
+ ocaml-hmap
+ ocaml-mtime
+ ocaml-odoc))
+ (native-inputs (list ocaml-astring ocaml-crowbar ocaml-alcotest))
+ (synopsis "Effect-based direct-style IO API for OCaml")
+ (description "An effect-based IO API for multicore OCaml with fibers.")
+ (license license:isc)))
+
+(define-public ocaml5.0-eio
+ (package-with-ocaml5.0 ocaml-eio))
+
(define-public ocaml-lwt
(package
(name "ocaml-lwt")
--
2.38.1
- [bug#60120] [PATCH 13/28] gnu: Add ocaml5.0-ppx-expect., (continued)
- [bug#60120] [PATCH 13/28] gnu: Add ocaml5.0-ppx-expect., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 08/28] gnu: Add ocaml-optint., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 07/28] gnu: Add ocaml-monolith., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 09/28] gnu: Add ocaml-hmap., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 10/28] gnu: Add ocaml5.0-base., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 11/28] gnu: Update ocaml-ppxlib to 0.25.1., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 18/28] gnu: Add ocaml-bechamel., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 12/28] gnu: Update ocaml-qcheck to 0.20., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 17/28] gnu: Add ocaml5.0-ctypes, pukkamustard, 2022/12/16
- [bug#60120] [PATCH 14/28] gnu: Update ocaml-odoc to 2.2.0., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 20/28] gnu: Add ocaml5.0-eio.,
pukkamustard <=
- [bug#60120] [PATCH 15/28] gnu: Add ocaml5.0-crowbar., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 16/28] gnu: Add ocaml-lwt-dllist., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 21/28] gnu: Add ocaml5.0-eio-luv., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 22/28] gnu: Add ocaml-uring., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 19/28] gnu: ocaml-mdx: Move inputs to propagated-inputs., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 28/28] gnu: Add ocaml5.0-merlin., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 24/28] gnu: Add ocaml5.0-eio-main., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 27/28] gnu: Add ocaml5.0-dot-merlin-reader., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 26/28] gnu: Add ocaml5.0-merlin-lib., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 23/28] gnu: Add ocaml5.0-eio-linux., pukkamustard, 2022/12/16