summary refs log tree commit diff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2018-10-01 22:38:46 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2018-10-19 17:54:13 +0200
commita889ba99c1d616d6ebd50e480685464fd0b236f3 (patch)
tree81b5cb3c8f0ae2ea92e39627a1eccbb6aeb40fe0
parent6fef7c0ec89fac73410d0b850f4443c55e0943ef (diff)
downloadguix-a889ba99c1d616d6ebd50e480685464fd0b236f3.tar.gz
gnu: Add queues.simple-cqueue.
* gnu/packages/lisp.scm (cl-queues.simple-cqueue, ecl-queues.simple-cqueue, sbcl-queues.simple-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 aecdfc5972..b4c9c9ebf1 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -2866,3 +2866,25 @@ non-consing thread safe queues and fibonacci priority queues.")
 
 (define-public ecl-queues.simple-queue
   (sbcl-package->ecl-package sbcl-queues.simple-queue))
+
+(define-public sbcl-queues.simple-cqueue
+  (package
+    (inherit sbcl-queues)
+    (name "sbcl-queues.simple-cqueue")
+    (inputs
+     `(("sbcl-queues" ,sbcl-queues)
+       ("sbcl-queues.simple-queue" ,sbcl-queues.simple-queue)
+       ("bordeaux-threads" ,sbcl-bordeaux-threads)))
+    (arguments
+     `(#:asd-file "queues.simple-cqueue.asd"))
+    (synopsis "Thread safe 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.simple-cqueue
+  (sbcl-package->cl-source-package sbcl-queues.simple-cqueue))
+
+(define-public ecl-queues.simple-cqueue
+  (sbcl-package->ecl-package sbcl-queues.simple-cqueue))