summary refs log tree commit diff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2018-10-01 22:39:18 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2018-10-19 17:54:13 +0200
commit92b1d09b68a4d8226163a93874ff8c4d4a9a1e84 (patch)
treea2d85a1b08ab6e84aeec93f1ce4817656c941d9f
parent144085cd69de3a16187f12ae9f436cd05db7b75a (diff)
downloadguix-92b1d09b68a4d8226163a93874ff8c4d4a9a1e84.tar.gz
gnu: Add queues.priority-cqueue.
* gnu/packages/lisp.scm (cl-queues.priority-cqueue, ecl-queues.priority-cqueue, sbcl-queues.priority-cqueue): New variables.
-rw-r--r--gnu/packages/lisp.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 6dc6d8081d..fb4b8d73ac 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -2908,3 +2908,25 @@ non-consing thread safe queues and fibonacci priority queues.")
 
 (define-public ecl-queues.priority-queue
   (sbcl-package->ecl-package sbcl-queues.priority-queue))
+
+(define-public sbcl-queues.priority-cqueue
+  (package
+    (inherit sbcl-queues)
+    (name "sbcl-queues.priority-cqueue")
+    (inputs
+     `(("sbcl-queues" ,sbcl-queues)
+       ("sbcl-queues.priority-queue" ,sbcl-queues.priority-queue)
+       ("bordeaux-threads" ,sbcl-bordeaux-threads)))
+    (arguments
+     `(#:asd-file "queues.priority-cqueue.asd"))
+    (synopsis "Thread safe fibonacci priority queue 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-cqueue
+  (sbcl-package->cl-source-package sbcl-queues.priority-cqueue))
+
+(define-public ecl-queues.priority-cqueue
+  (sbcl-package->ecl-package sbcl-queues.priority-cqueue))