aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2018-10-01 22:39:02 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2018-10-19 17:54:13 +0200
commit144085cd69de3a16187f12ae9f436cd05db7b75a (patch)
treebc41634438c1a335a3e58eaa4bb5a83d8fcab5a7
parenta889ba99c1d616d6ebd50e480685464fd0b236f3 (diff)
downloadpatches-144085cd69de3a16187f12ae9f436cd05db7b75a.tar
patches-144085cd69de3a16187f12ae9f436cd05db7b75a.tar.gz
gnu: Add queues.priority-queue.
* gnu/packages/lisp.scm (cl-queues.priority-queue, ecl-queues.priority-queue, sbcl-queues.priority-queue): New variables.
-rw-r--r--gnu/packages/lisp.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index b4c9c9ebf1..6dc6d8081d 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -2888,3 +2888,23 @@ non-consing thread safe queues and fibonacci priority queues.")
(define-public ecl-queues.simple-cqueue
(sbcl-package->ecl-package sbcl-queues.simple-cqueue))
+
+(define-public sbcl-queues.priority-queue
+ (package
+ (inherit sbcl-queues)
+ (name "sbcl-queues.priority-queue")
+ (inputs
+ `(("sbcl-queues" ,sbcl-queues)))
+ (arguments
+ `(#:asd-file "queues.priority-queue.asd"))
+ (synopsis "Priority queue (Fibonacci) implementation")
+ (description
+ "This is a simple queue library for Common Lisp with features such as
+non-consing thread safe queues and fibonacci priority queues.")
+ (license license:expat)))
+
+(define-public cl-queues.priority-queue
+ (sbcl-package->cl-source-package sbcl-queues.priority-queue))
+
+(define-public ecl-queues.priority-queue
+ (sbcl-package->ecl-package sbcl-queues.priority-queue))