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