From patchwork Mon Oct 21 12:02:55 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: 15789 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 7CAD417275; Mon, 21 Oct 2019 13:05:20 +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 CA8EA1729D for ; Mon, 21 Oct 2019 13:05:18 +0100 (BST) Received: from localhost ([::1]:39642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMWR3-0000dt-Io for patchwork@mira.cbaines.net; Mon, 21 Oct 2019 08:05:17 -0400 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 X-Loop: help-debbugs@gnu.org Subject: [bug#37817] [PATCH v2 1/9] gnu: Add cl-heap. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 21 Oct 2019 12:05:01 +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.15716594646153 (code B ref 37817); Mon, 21 Oct 2019 12:05:01 +0000 Received: (at 37817) by debbugs.gnu.org; 21 Oct 2019 12:04:24 +0000 Received: from localhost ([127.0.0.1]:55837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMWQC-0001bA-2i for submit@debbugs.gnu.org; Mon, 21 Oct 2019 08:04:24 -0400 Received: from mout02.posteo.de ([185.67.36.66]:37643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMWQ9-0001as-Pn for 37817@debbugs.gnu.org; Mon, 21 Oct 2019 08:04:23 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 86526240111 for <37817@debbugs.gnu.org>; Mon, 21 Oct 2019 14:04:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1571659454; bh=6ByBc0rsnKFgD/M14QmCtmOwQEuNNX7xOaZpJESomCU=; h=From:To:Cc:Subject:Date:From; b=dLjlwba5Y5nsJiran6qIrL7qDzeOW4xomx82zXcenxncnRtna5h3eUF/uaPp4ETyz BJVmbUsK5TvwLqzexRpzmyFPqBqAO72wR/i3q/yJHFqBXPa8szJ7guIYJQCXBeJ46c SA/HvWvZjblCaDZfa246krRKInz7B0eWBX61BBQWPhQpDIgu5HVgKx0NEb7vT+soCf MP20sKczNNIT5uNpqjs23ArBiRJ+TebUaEMioFMmR+le0madl1YanNERePOmsyvkO8 HhXGqxCNw4diJ2g2kSY8GPB5CYaeuvZHcELQk7wikIiCykJlDR2jXrBC6PIJ4JIMdu 30iqwY4VTrKRg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46xZzr5hHvz9ryv; Mon, 21 Oct 2019 14:03:50 +0200 (CEST) From: Guillaume Le Vaillant Date: Mon, 21 Oct 2019 14:02:55 +0200 Message-Id: <20191021120303.18735-1-glv@posteo.net> X-Mailer: git-send-email 2.23.0 In-Reply-To: <8736fmbdz5.fsf@ambrevar.xyz> References: <8736fmbdz5.fsf@ambrevar.xyz> 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 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))