[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
26/45: gnu: Add ocaml-async-unix.
From: |
guix-commits |
Subject: |
26/45: gnu: Add ocaml-async-unix. |
Date: |
Fri, 17 Feb 2023 10:49:34 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 3f84fbd2f17b3907f35492ab93765c8ad2760801
Author: raingloom <raingloom@riseup.net>
AuthorDate: Wed Feb 15 23:00:15 2023 +0100
gnu: Add ocaml-async-unix.
* gnu/packages/ocaml.scm (ocaml-async-unix): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 304c900af5..4333782f86 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8413,6 +8413,32 @@ core_kernel.")
JavaScript using @code{Async_js}.")
(license license:expat)))
+(define-public ocaml-async-unix
+ (package
+ (name "ocaml-async-unix")
+ (version "0.15.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/janestreet/async_unix")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0z4fgpn93iw0abd7l9kac28qgzgc5qr2x0s1n2zh49lsdn02n6ys"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-async-kernel ocaml-core ocaml-core-kernel
+ ocaml-core-unix ocaml-ppx-jane))
+ (properties `((upstream-name . "async_unix")))
+ (home-page "https://github.com/janestreet/async_unix")
+ (synopsis "Monadic concurrency library")
+ (description
+ "Unix-related dependencies for things like system calls and
+threads. Using these, it hooks the Async_kernel scheduler up to either epoll
+or select, depending on availability, and manages a thread pool that blocking
+system calls run in.")
+ (license license:expat)))
+
(define-public ocaml-timezone
(package
(name "ocaml-timezone")
- 21/45: gnu: Add ocaml-sexp-pretty., (continued)
- 21/45: gnu: Add ocaml-sexp-pretty., guix-commits, 2023/02/17
- 11/45: gnu: Add ocaml-duration., guix-commits, 2023/02/17
- 17/45: gnu: Add ocaml-mirage-profile., guix-commits, 2023/02/17
- 22/45: gnu: Add ocaml-expect-test-helpers-core., guix-commits, 2023/02/17
- 24/45: gnu: Add ocaml-core-unix., guix-commits, 2023/02/17
- 31/45: gnu: Add ocaml-async., guix-commits, 2023/02/17
- 05/45: gnu: Add ocaml-pecu., guix-commits, 2023/02/17
- 32/45: gnu: Add ocaml-shared-memory-ring., guix-commits, 2023/02/17
- 14/45: gnu: Add aliases for ocaml-cstruct and ocaml-lwt subpackages., guix-commits, 2023/02/17
- 28/45: gnu: Add ocaml-textutils., guix-commits, 2023/02/17
- 26/45: gnu: Add ocaml-async-unix.,
guix-commits <=
- 23/45: gnu: Add ocaml-intrinsics., guix-commits, 2023/02/17
- 16/45: gnu: Add ocaml-mirage-profile-unix., guix-commits, 2023/02/17
- 08/45: gnu: Add ocaml-mirage-runtime., guix-commits, 2023/02/17
- 33/45: gnu: Add ocaml-shared-memory-ring-lwt., guix-commits, 2023/02/17
- 38/45: gnu: Add ocaml-parse-argv., guix-commits, 2023/02/17
- 43/45: gnu: Add python-virtualenv-clone., guix-commits, 2023/02/17
- 06/45: gnu: Add ocaml-emile., guix-commits, 2023/02/17
- 09/45: gnu: Add ocaml-functoria., guix-commits, 2023/02/17
- 42/45: gnu: Add chathistorysync., guix-commits, 2023/02/17
- 45/45: gnu: Add clipman., guix-commits, 2023/02/17