From 92b1d09b68a4d8226163a93874ff8c4d4a9a1e84 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 1 Oct 2018 22:39:18 +0200 Subject: [PATCH] gnu: Add queues.priority-cqueue. * gnu/packages/lisp.scm (cl-queues.priority-cqueue, ecl-queues.priority-cqueue, sbcl-queues.priority-cqueue): New variables. --- gnu/packages/lisp.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) 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 @@ (define-public cl-queues.priority-queue (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))