[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/28: gnu: Add ocaml5.0-eio.
From: |
guix-commits |
Subject: |
20/28: gnu: Add ocaml5.0-eio. |
Date: |
Wed, 21 Dec 2022 16:11:43 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit 14fae62df8dabffce711c4805c9fdd7a226f906a
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Fri Dec 16 13:25:19 2022 +0000
gnu: Add ocaml5.0-eio.
* gnu/packages/ocaml.scm (ocaml5.0-eio): New variable.
Signed-off-by: Julien Lepiller <julien@lepiller.eu>
---
gnu/packages/ocaml.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index cef9d16d6e..769a628acc 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -2796,6 +2796,43 @@ values with arbitrary types. Keys witness the type of
the value they are bound
to which allows adding and looking up 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 "This package provides 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")
- 17/28: gnu: Add ocaml5.0-ctypes, (continued)
- 17/28: gnu: Add ocaml5.0-ctypes, guix-commits, 2022/12/21
- 27/28: gnu: Add ocaml5.0-dot-merlin-reader., guix-commits, 2022/12/21
- 25/28: gnu: Update ocaml-merlin-lib to 4.7-414., guix-commits, 2022/12/21
- 21/28: gnu: Add ocaml5.0-eio-luv., guix-commits, 2022/12/21
- 02/28: gnu: ocaml-findlib: Update to 1.9.5., guix-commits, 2022/12/21
- 07/28: gnu: Add ocaml-monolith., guix-commits, 2022/12/21
- 08/28: gnu: Add ocaml-optint., guix-commits, 2022/12/21
- 10/28: gnu: Add ocaml5.0-base., guix-commits, 2022/12/21
- 12/28: gnu: Update ocaml-qcheck to 0.20., guix-commits, 2022/12/21
- 14/28: gnu: Update ocaml-odoc to 2.2.0., guix-commits, 2022/12/21
- 20/28: gnu: Add ocaml5.0-eio.,
guix-commits <=
- 24/28: gnu: Add ocaml5.0-eio-main., guix-commits, 2022/12/21
- 06/28: gnu: Add ocaml-psq., guix-commits, 2022/12/21
- 05/28: gnu: opam: Use OCaml 4.14 compiled version when building OCaml 5.0 packages., guix-commits, 2022/12/21
- 09/28: gnu: Add ocaml-hmap., guix-commits, 2022/12/21
- 11/28: gnu: Update ocaml-ppxlib to 0.25.1., guix-commits, 2022/12/21
- 19/28: gnu: ocaml-mdx: Move inputs to propagated-inputs., guix-commits, 2022/12/21
- 26/28: gnu: Add ocaml5.0-merlin-lib., guix-commits, 2022/12/21
- 16/28: gnu: Add ocaml-lwt-dllist., guix-commits, 2022/12/21
- 18/28: gnu: Add ocaml-bechamel., guix-commits, 2022/12/21
- 23/28: gnu: Add ocaml5.0-eio-linux., guix-commits, 2022/12/21