[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/26: gnu: Add jpl-queues.
From: |
Pierre Neidhardt |
Subject: |
09/26: gnu: Add jpl-queues. |
Date: |
Fri, 24 Aug 2018 09:14:04 -0400 (EDT) |
ambrevar pushed a commit to branch wip-next-browser
in repository guix.
commit 0d2fcb5132e549b1b1915306a0bd7690b57c7d41
Author: Pierre Neidhardt <address@hidden>
Date: Fri Aug 24 11:24:21 2018 +0200
gnu: Add jpl-queues.
* gnu/packages/lisp.scm (cl-jpl-queues, ecl-jpl-queues, sbcl-jpl-queues):
New variables.
---
gnu/packages/lisp.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index bf5eb08..7841c99 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -1657,3 +1657,48 @@ and macros, primarily for software projects written in
CL by the author.")
(define-public ecl-jpl-util
(sbcl-package->ecl-package sbcl-jpl-util))
+
+(define-public sbcl-jpl-queues
+ (package
+ (name "sbcl-jpl-queues")
+ (version "0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://www.thoughtcrime.us/software/jpl-queues/jpl-queues-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1wvvv7j117h9a42qaj1g4fh4mji28xqs7s60rn6d11gk9jl76h96"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("jpl-util" ,sbcl-jpl-util)
+ ("bordeaux-threads" ,sbcl-bordeaux-threads)))
+ (arguments
+ ;; Tests seem to be broken.
+ `(#:tests? #f))
+ (synopsis "Common Lisp library implementing a few different kinds of
queues")
+ (description
+ "A Common Lisp library implementing a few different kinds of queues:
+
address@hidden
address@hidden Bounded and unbounded FIFO queues.
address@hidden Lossy bounded FIFO queues that drop elements when full.
address@hidden Unbounded random-order queues that use less memory than
unbounded FIFO queues.
address@hidden itemize
+
+Additionally, a synchronization wrapper is provided to make any queue
+conforming to the @command{jpl-queues} API thread-safe for lightweight
+multithreading applications. (See Calispel for a more sophisticated CL
+multithreaded message-passing library with timeouts and alternation among
+several blockable channels.)")
+ (home-page "https://www.thoughtcrime.us/software/jpl-queues/")
+ (license license:isc)))
+
+(define-public cl-jpl-queues
+ (sbcl-package->cl-source-package sbcl-jpl-queues))
+
+(define-public ecl-jpl-queues
+ (sbcl-package->ecl-package sbcl-jpl-queues))
- 10/26: gnu: Add eos., (continued)
- 10/26: gnu: Add eos., Pierre Neidhardt, 2018/08/24
- 07/26: gnu: Add cl-yacc., Pierre Neidhardt, 2018/08/24
- 23/26: gnu: Add mgl-pax., Pierre Neidhardt, 2018/08/24
- 22/26: gnu: Add pythonic-string-reader., Pierre Neidhardt, 2018/08/24
- 19/26: gnu: Add nibbles., Pierre Neidhardt, 2018/08/24
- 11/26: gnu: Add esrap., Pierre Neidhardt, 2018/08/24
- 20/26: gnu: Add ironclad., Pierre Neidhardt, 2018/08/24
- 14/26: gnu: Add colorize., Pierre Neidhardt, 2018/08/24
- 12/26: gnu: Add split-sequence., Pierre Neidhardt, 2018/08/24
- 15/26: gnu: Add 3bmd., Pierre Neidhardt, 2018/08/24
- 09/26: gnu: Add jpl-queues.,
Pierre Neidhardt <=
- 26/26: gnu: Add next-browser (DRAFT)., Pierre Neidhardt, 2018/08/24
- 21/26: gnu: Add named-readtables., Pierre Neidhardt, 2018/08/24
- 25/26: gnu: Add cl-string-match., Pierre Neidhardt, 2018/08/24
- 17/26: gnu: Add cl-fad., Pierre Neidhardt, 2018/08/24
- 16/26: gnu: Add 3bmd-ext-code-blocks., Pierre Neidhardt, 2018/08/24
- 18/26: gnu: Add rt., Pierre Neidhardt, 2018/08/24
- 13/26: gnu: Add html-encode., Pierre Neidhardt, 2018/08/24
- 24/26: gnu: Add ascii-strings., Pierre Neidhardt, 2018/08/24