From patchwork Fri Oct 18 20:42:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Le Vaillant X-Patchwork-Id: 15764 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 56DF2175D5; Fri, 18 Oct 2019 21:43:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 18EB4175D2 for ; Fri, 18 Oct 2019 21:43:13 +0100 (BST) Received: from localhost ([::1]:45910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLZ5c-0006DG-5I for patchwork@mira.cbaines.net; Fri, 18 Oct 2019 16:43:12 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#37817] [PATCH 1/7] gnu: Add cl-heap. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Oct 2019 20:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37817 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37817@debbugs.gnu.org Cc: Guillaume Le Vaillant Received: via spool by 37817-submit@debbugs.gnu.org id=B37817.15714313614469 (code B ref 37817); Fri, 18 Oct 2019 20:43:02 +0000 Received: (at 37817) by debbugs.gnu.org; 18 Oct 2019 20:42:41 +0000 Received: from localhost ([127.0.0.1]:51632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLZ57-0001A1-ES for submit@debbugs.gnu.org; Fri, 18 Oct 2019 16:42:41 -0400 Received: from mout02.posteo.de ([185.67.36.66]:40415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLZ55-00019k-5y for 37817@debbugs.gnu.org; Fri, 18 Oct 2019 16:42:39 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 3BABB2400FD for <37817@debbugs.gnu.org>; Fri, 18 Oct 2019 22:42:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1571431353; bh=zKBuHobcb3Nlq0Uazpg7zNwm6qkX5DVmXsqS7oYh8sM=; h=From:To:Cc:Subject:Date:From; b=pJanTOk8dXWWO07tlE34oUOd1Q7l+ZxpggNej5kb6/11W+e1zokScWLAPsm96ooYH xvWgsL0Y85jcyStxpHeu5WGzexuuvFN6AYCubUruQC0ZNwnJXZe0AYZtycSR5tVfVR FB7AM4/sVofRMHjbKwd1Tkge8mgs6OKGwM5w0t4sAXd+lEPXRNvyHCX9y4zyp8I/kq b1dlTBBmFTB2z8mTCkGOFH92bbYCEDceBiGEz1jJuv1GgWrE2TMKHOUdczg9E1ym8r Ge6BrdrZfEwnXJR1OjhdlEmS6a0G0VhELOhe85NPmY6qIU82eLHEusMoKSjUGOA0K3 4uBzQRcc6W2mg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46vydg5wm9z9rxK; Fri, 18 Oct 2019 22:42:31 +0200 (CEST) From: Guillaume Le Vaillant Date: Fri, 18 Oct 2019 22:42:00 +0200 Message-Id: <20191018204206.15154-1-glv@posteo.net> X-Mailer: git-send-email 2.23.0 In-Reply-To: <87k191x006.fsf@yamatai> References: <87k191x006.fsf@yamatai> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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))