From patchwork Mon Aug 8 08:36:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 41373 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 29B3927BBEA; Mon, 8 Aug 2022 09:37:48 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A0D4E27BBE9 for ; Mon, 8 Aug 2022 09:37:47 +0100 (BST) Received: from localhost ([::1]:38508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKyGg-0006C6-RW for patchwork@mira.cbaines.net; Mon, 08 Aug 2022 04:37:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53428) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKyFz-0005jb-2p for guix-patches@gnu.org; Mon, 08 Aug 2022 04:37:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49407) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKyFy-00078m-MX for guix-patches@gnu.org; Mon, 08 Aug 2022 04:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKyFy-0006ex-IY for guix-patches@gnu.org; Mon, 08 Aug 2022 04:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57055] [PATCH 2/2] gnu: Add guile-srfi-146. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Aug 2022 08:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57055 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57055@debbugs.gnu.org Cc: pukkamustard Received: via spool by 57055-submit@debbugs.gnu.org id=B57055.165994778825542 (code B ref 57055); Mon, 08 Aug 2022 08:37:02 +0000 Received: (at 57055) by debbugs.gnu.org; 8 Aug 2022 08:36:28 +0000 Received: from localhost ([127.0.0.1]:39155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKyFP-0006dp-NX for submit@debbugs.gnu.org; Mon, 08 Aug 2022 04:36:28 -0400 Received: from mout01.posteo.de ([185.67.36.65]:36523) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKyFI-0006dQ-S9 for 57055@debbugs.gnu.org; Mon, 08 Aug 2022 04:36:21 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4D90A24002A for <57055@debbugs.gnu.org>; Mon, 8 Aug 2022 10:36:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1659947775; bh=mEqrtkh8IkH04MDqUWS4IKbynaBSCd5Mu15KI8NLA7o=; h=From:To:Cc:Subject:Date:From; b=V3TwnAzbhHQxBGqGBVY+B0NQT1lC3ynfB5GlQIbm+swwJh7lpytzU8RMhyujZDIi4 p9xYVDNWpYYk5C6eaKyERHxLl9dFzMemsKieLMC+V/L63L5P4pU72bt1gWL+dSoXt5 vT40Ko7Kh229h7PHI5WY9iqUqMUttUlCwxShIIju8Gk6fk2GwTmlr2p/63Z9PJX7no Iz+GsyHiFNu8FMNxXa7pR8Md9ZTpEBT/IKqjWo3W+Usr6ctkTiDRquScQGdglX0mvD l7EA55zT3aeHvhxQNInc7tlEoVVV0AcjoBLiRvTOiejO7dwhybiPDIpSoHbBvsVmwF sEAOkxDIjnwBQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4M1V0Z2Qcrz6tr2; Mon, 8 Aug 2022 10:36:14 +0200 (CEST) From: pukkamustard Date: Mon, 8 Aug 2022 08:36:01 +0000 Message-Id: <20220808083601.16323-2-pukkamustard@posteo.net> In-Reply-To: <20220808083601.16323-1-pukkamustard@posteo.net> References: <20220808083254.16059-1-pukkamustard@posteo.net> <20220808083601.16323-1-pukkamustard@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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/guile-xyz.scm (guile-srfi-146): New variable. --- gnu/packages/guile-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 2763fb73d0..3eb1e90213 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -3142,6 +3142,39 @@ (define-public guile-srfi-145 denote the invalidity of certain code paths in a Scheme program.") (license license:gpl3+))) +(define-public guile-srfi-146 + (package + (name "guile-srfi-146") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://inqlab.net/git/guile-srfi-146.git") + (commit (string-append "v" version)))) + (sha256 + (base32 + "13dbzlav4fql8lcfr021z5368lwri6i15x0ykv8llzyghlbbx2w6")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (native-inputs + (list autoconf automake pkg-config)) + (inputs (list guile-3.0)) + (propagated-inputs + (list guile-srfi-128 guile-srfi-145 guile-srfi-158)) + (synopsis "SRFI 146 (Mappings) for Guile") + (description + "This package provides an implementation of SRFI 146 for Guile. +SRFI 146 defines datastructures that implement mappings (finite sets +of associations consiting of a key and a value). Two types of +mappings are defined: One using a comparator to define an order on the +keys and another using a hash function on the keys. The +datastructures and procedures are by default purely-functional. This +package re-uses the SRFI sample implementation that is based on +red-black trees and Hash Array Mapped Trie (HAMT).") + (home-page "https://inqlab.net/git/guile-srfi-146.git") + (license license:lgpl3+))) + (define-public guile-srfi-158 (let ((commit "13126d1ed37892c864337a600a43d6876625fb99") (revision "0"))