[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
31/45: gnu: Add ocaml-async.
From: |
guix-commits |
Subject: |
31/45: gnu: Add ocaml-async. |
Date: |
Fri, 17 Feb 2023 10:49:35 -0500 (EST) |
cbaines pushed a commit to branch master
in repository guix.
commit 5bb2dc0ca2a4e4bdad674f30cfd68c2c436f488a
Author: raingloom <raingloom@riseup.net>
AuthorDate: Wed Feb 15 23:00:20 2023 +0100
gnu: Add ocaml-async.
* gnu/packages/ocaml.scm (ocaml-async): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/ocaml.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 87a62805fd..df9ad35006 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8490,6 +8490,41 @@ part of the Unix-oriented Async_rpc library, and is
actively used in
JavaScript.")
(license license:expat)))
+(define-public ocaml-async
+ (package
+ (name "ocaml-async")
+ (version "0.15.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/janestreet/async")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0pykmnsil754jsnr8gss91ykyjvivngx4ii0ih3nsg1x2jl9xmy2"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-async-kernel
+ ocaml-async-rpc-kernel
+ ocaml-async-unix
+ ocaml-core
+ ocaml-core-kernel
+ ocaml-core-unix
+ ocaml-ppx-jane
+ ocaml-ppx-log
+ ocaml-textutils))
+ ;; TODO one test dependency is deprecated, the other is nowhere to be found
+ (arguments
+ '(#:tests? #f))
+ ;; (native-inputs (list ocaml-netkit-sockets ocaml-qtest-deprecated))
+ (home-page "https://github.com/janestreet/async")
+ (synopsis "Asynchronous execution library")
+ (description
+ "Library for asynchronous programming, i.e., programming where some part
+of the program must wait for things that happen at times determined by some
+external entity (like a human or another program).")
+ (license license:expat)))
+
(define-public ocaml-textutils-kernel
(package
(name "ocaml-textutils-kernel")
- 18/45: gnu: Add ocaml-mirage-clock., (continued)
- 18/45: gnu: Add ocaml-mirage-clock., guix-commits, 2023/02/17
- 27/45: gnu: Add ocaml-textutils-kernel., guix-commits, 2023/02/17
- 34/45: gnu: Add ocaml-xenstore., guix-commits, 2023/02/17
- 39/45: gnu: Add ocaml-mirage-bootvar-unix., guix-commits, 2023/02/17
- 03/45: gnu: Add ocaml-ipaddr., guix-commits, 2023/02/17
- 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 <=
- 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, 2023/02/17
- 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