[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72463] [PATCH v2 09/10] gnu: Add clojure-core-async.
From: |
Roman Scherer |
Subject: |
[bug#72463] [PATCH v2 09/10] gnu: Add clojure-core-async. |
Date: |
Sat, 7 Sep 2024 11:51:34 +0200 |
* gnu/packages/clojure.scm (clojure-core-async): New variable.
---
gnu/packages/clojure.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index f11b75140b..4000c075ad 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -318,6 +318,40 @@ (define-public clojure-algo-monads
(home-page "https://github.com/clojure/algo.monads")
(license license:epl1.0)))
+(define-public clojure-core-async
+ (package
+ (name "clojure-core-async")
+ (version "1.6.681")
+ (home-page "https://github.com/clojure/core.async")
+ (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
+ "1j9yz14hy2qs8g3flsqkn1sx9c0qlr5mmpy6ab1zml9yhbw5arzg"))))
+ (build-system clojure-build-system)
+ (arguments
+ '(#:source-dirs '("src/main/clojure")
+ #:test-dirs '("src/test/clojure")
+ #:doc-dirs '()
+ #:phases
+ (modify-phases %standard-phases
+ ;; Remove ClojureScript code, we are only supporting Clojure for now.
+ (add-after 'unpack 'delete-cljs
+ (lambda _
+ (delete-file-recursively "src/main/clojure/cljs")
+ (delete-file-recursively "src/test/cljs"))))))
+ (propagated-inputs (list clojure-tools-analyzer-jvm))
+ (synopsis "Facilities for async programming and communication in Clojure")
+ (description "The core.async library adds support for asynchronous
+programming using channels to Clojure. It provides facilities for independent
+threads of activity, communicating via queue-like channels inspired by Hoareās
+work on Communicating Sequential Processes (CSP).")
+ (license license:epl1.0)))
+
(define-public clojure-core-cache
(package
(name "clojure-core-cache")
--
2.45.2
- [bug#72463] [PATCH v2 01/10] gnu: Add clojure-data-json., Roman Scherer, 2024/09/07
- [bug#72463] [PATCH v2 02/10] gnu: Add clojure-data-priority-map., Roman Scherer, 2024/09/07
- [bug#72463] [PATCH v2 03/10] gnu: Add clojure-core-cache., Roman Scherer, 2024/09/07
- [bug#72463] [PATCH v2 04/10] gnu: Add clojure-core-memoize., Roman Scherer, 2024/09/07
- [bug#72463] [PATCH v2 05/10] gnu: Add clojure-tools-analyzer., Roman Scherer, 2024/09/07
- [bug#72463] [PATCH v2 06/10] gnu: Add clojure-tools-reader., Roman Scherer, 2024/09/07
- [bug#72463] [PATCH v2 08/10] gnu: Add clojure-tools-logging., Roman Scherer, 2024/09/07
- [bug#72463] [PATCH v2 07/10] gnu: Add clojure-tools-analyzer-jvm., Roman Scherer, 2024/09/07
- [bug#72463] [PATCH v2 09/10] gnu: Add clojure-core-async.,
Roman Scherer <=
- [bug#72463] [PATCH v2 10/10] gnu: Add http-kit., Roman Scherer, 2024/09/07