[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/15: gnu: Add cl-coroutine.
From: |
guix-commits |
Subject: |
05/15: gnu: Add cl-coroutine. |
Date: |
Fri, 17 Jan 2020 07:47:00 -0500 (EST) |
glv pushed a commit to branch master
in repository guix.
commit 4101c7148da3b7cbacdba611bbfe0487544446dd
Author: Guillaume Le Vaillant <address@hidden>
AuthorDate: Thu Jan 16 22:39:34 2020 +0100
gnu: Add cl-coroutine.
* gnu/packages/lisp-xyz.scm (sbcl-cl-coroutine, cl-coroutine,
ecl-cl-coroutine): New variables.
---
gnu/packages/lisp-xyz.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 8dc58ae..97af7f2 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -9335,3 +9335,50 @@ transforming Common Lisp code to continuation passing
style.")
(define-public ecl-cl-cont
(sbcl-package->ecl-package sbcl-cl-cont))
+
+(define-public sbcl-cl-coroutine
+ (let ((commit "de098f8d5debd8b14ef6864b5bdcbbf5ddbcfd72")
+ (revision "1"))
+ (package
+ (name "sbcl-cl-coroutine")
+ (version (git-version "0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/takagi/cl-coroutine.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1cqdhdjxffgfs116l1swjlsmcbly0xgcgrckvaajd566idj9yj4l"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("alexandria" ,sbcl-alexandria)
+ ("cl-cont" ,sbcl-cl-cont)))
+ (native-inputs
+ `(("prove" ,sbcl-prove)))
+ (arguments
+ `(;; TODO: Fix the tests. They fail with:
+ ;; "Component CL-COROUTINE-ASD::CL-COROUTINE-TEST not found"
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ (substitute* "cl-coroutine-test.asd"
+ (("cl-test-more")
+ "prove"))
+ #t)))))
+ (synopsis "Coroutine library for Common Lisp")
+ (description
+ "This is a coroutine library for Common Lisp implemented using the
+continuations of the @code{cl-cont} library.")
+ (home-page "https://github.com/takagi/cl-coroutine")
+ (license license:llgpl))))
+
+(define-public cl-coroutine
+ (sbcl-package->cl-source-package sbcl-cl-coroutine))
+
+(define-public ecl-cl-coroutine
+ (sbcl-package->ecl-package sbcl-cl-coroutine))
- branch master updated (33ed829 -> 8ea00ed), guix-commits, 2020/01/17
- 01/15: gnu: Add cl-misc-extensions., guix-commits, 2020/01/17
- 02/15: gnu: Add cl-mt19937., guix-commits, 2020/01/17
- 04/15: gnu: Add cl-cont., guix-commits, 2020/01/17
- 05/15: gnu: Add cl-coroutine.,
guix-commits <=
- 06/15: gnu: Add cl-vom., guix-commits, 2020/01/17
- 11/15: gnu: Add cl-async-repl., guix-commits, 2020/01/17
- 14/15: gnu: Add cl-async-future., guix-commits, 2020/01/17
- 07/15: gnu: Add cl-libuv., guix-commits, 2020/01/17
- 08/15: gnu: Add cl-async-base., guix-commits, 2020/01/17
- 12/15: gnu: Add cl-async-ssl., guix-commits, 2020/01/17
- 09/15: gnu: Add cl-async-util., guix-commits, 2020/01/17
- 03/15: gnu: Add cl-fset., guix-commits, 2020/01/17
- 10/15: gnu: Add cl-async., guix-commits, 2020/01/17
- 15/15: gnu: Add cl-green-threads., guix-commits, 2020/01/17