From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:50105) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLZ5T-0006Bp-Lg for guix-patches@gnu.org; Fri, 18 Oct 2019 16:43:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLZ5S-00062U-IN for guix-patches@gnu.org; Fri, 18 Oct 2019 16:43:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42829) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLZ5S-00062P-FF for guix-patches@gnu.org; Fri, 18 Oct 2019 16:43:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iLZ5S-0001Bv-9w for guix-patches@gnu.org; Fri, 18 Oct 2019 16:43:02 -0400 Subject: [bug#37817] [PATCH 1/7] gnu: Add cl-heap. Resent-Message-ID: From: Guillaume Le Vaillant Date: Fri, 18 Oct 2019 22:42:00 +0200 Message-Id: <20191018204206.15154-1-glv@posteo.net> In-Reply-To: <87k191x006.fsf@yamatai> References: <87k191x006.fsf@yamatai> 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 bb2a589578..e407093348 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -7833,3 +7833,33 @@ Clojure, as well as several expansions on the idea.") (define-public ecl-arrows (sbcl-package->ecl-package sbcl-arrows)) + +(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