From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54760) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMWQr-0000dm-AL for guix-patches@gnu.org; Mon, 21 Oct 2019 08:05:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMWQp-0001Uy-6s for guix-patches@gnu.org; Mon, 21 Oct 2019 08:05:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMWQo-0001UW-1u for guix-patches@gnu.org; Mon, 21 Oct 2019 08:05:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iMWQn-0001dl-PK for guix-patches@gnu.org; Mon, 21 Oct 2019 08:05:01 -0400 Subject: [bug#37817] [PATCH v2 1/9] gnu: Add cl-heap. Resent-Message-ID: From: Guillaume Le Vaillant Date: Mon, 21 Oct 2019 14:02:55 +0200 Message-Id: <20191021120303.18735-1-glv@posteo.net> In-Reply-To: <8736fmbdz5.fsf@ambrevar.xyz> References: <8736fmbdz5.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 37817@debbugs.gnu.org Cc: Guillaume Le Vaillant * gnu/packages/lisp.scm (cl-heap, sbcl-cl-heap, ecl-cl-heap): New variables. --- gnu/packages/lisp.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index dcc396dd25..7f62aed6b0 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -7866,3 +7866,33 @@ forms in parallel.") (define-public ecl-simple-parallel-tasks (sbcl-package->ecl-package sbcl-simple-parallel-tasks)) + +(define-public sbcl-cl-heap + (package + (name "sbcl-cl-heap") + (version "0.1.6") + (source + (origin + (method url-fetch) + (uri (string-append "https://common-lisp.net/project/cl-heap/releases/" + "cl-heap_" version ".tar.gz")) + (sha256 + (base32 + "163hb07p2nxz126rpq3cj5dyala24n0by5i5786n2qcr1w0bak4i")))) + (build-system asdf-build-system/sbcl) + (native-inputs + `(("xlunit" ,sbcl-xlunit))) + (arguments + `(#:test-asd-file "cl-heap-tests.asd")) + (synopsis "Heap and priority queue data structures for Common Lisp") + (description + "CL-HEAP provides various implementations of heap data structures (a +binary heap and a Fibonacci heap) as well as an efficient priority queue.") + (home-page "https://common-lisp.net/project/cl-heap/") + (license license:gpl3+))) + +(define-public cl-heap + (sbcl-package->cl-source-package sbcl-cl-heap)) + +(define-public ecl-cl-heap + (sbcl-package->ecl-package sbcl-cl-heap)) -- 2.23.0