From patchwork Mon Aug 8 08:36:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 41372 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 3D47D27BBEA; Mon, 8 Aug 2022 09:37:34 +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 ED04D27BBE9 for ; Mon, 8 Aug 2022 09:37:33 +0100 (BST) Received: from localhost ([::1]:37882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKyGT-0005ks-3f for patchwork@mira.cbaines.net; Mon, 08 Aug 2022 04:37:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKyFy-0005jY-Jp for guix-patches@gnu.org; Mon, 08 Aug 2022 04:37:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49406) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKyFy-00078d-BB 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-0006ep-79 for guix-patches@gnu.org; Mon, 08 Aug 2022 04:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57055] [PATCH 1/2] gnu: Add guile-srfi-128. 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.165994778725536 (code B ref 57055); Mon, 08 Aug 2022 08:37:02 +0000 Received: (at 57055) by debbugs.gnu.org; 8 Aug 2022 08:36:27 +0000 Received: from localhost ([127.0.0.1]:39153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKyFJ-0006di-WC for submit@debbugs.gnu.org; Mon, 08 Aug 2022 04:36:27 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40359) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKyFI-0006dO-EL for 57055@debbugs.gnu.org; Mon, 08 Aug 2022 04:36:20 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8B43524002A for <57055@debbugs.gnu.org>; Mon, 8 Aug 2022 10:36:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1659947774; bh=Ih3B4qOfjmQqcEPMrv52Zq9NJY9XKOcMh6IGLItvMVo=; h=From:To:Cc:Subject:Date:From; b=Z3ZLN1S/V0lTVnW9S5K8/TI8shIfwLRPWLvnRNArt1MmjHTx+0q9krsrkOw9I/PoJ 3Obn2ttVPe4uip+wP2020TD91SyzbEr4xjEA2c4/USq6437Wb6WeUe3h/R58ae/XeA 0UKNVZDviywEUNcikrHc5tGbljpGsIhE30N8KoX3Q/iUZhDlgFTMQ6VHkT4qrpsFvB wTb3BErsfv/WatB97XJWpKlQ+MZ6sRa2eHDPVAlNmZpZa4jHuaEgzH6rLHct6O12kz +414CZJr1O5J61JE0Qyr8XyQLyjVayzAkc+B5afAY9CQPxyVZVgsRsyR4yEil0oFdr pNbMSLC9dDJBg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4M1V0W1Y8jz6tq9; Mon, 8 Aug 2022 10:36:09 +0200 (CEST) From: pukkamustard Date: Mon, 8 Aug 2022 08:36:00 +0000 Message-Id: <20220808083601.16323-1-pukkamustard@posteo.net> In-Reply-To: <20220808083254.16059-1-pukkamustard@posteo.net> References: <20220808083254.16059-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-128): New variable. --- gnu/packages/guile-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index cbdc9c5b66..2763fb73d0 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -3091,6 +3091,33 @@ (define-public guile-srfi-89 parameters, which define* and lambda* special forms") (license license:gpl3+))) +(define-public guile-srfi-128 + (package + (name "guile-srfi-128") + (version "0.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://inqlab.net/git/guile-srfi-128.git") + (commit (string-append "v" version)))) + (sha256 + (base32 + "03d85q5l2gc2c8cmri6zd4pfndvnadlhwh77hsx6ixvvm8vwq4sy")) + (file-name (git-file-name name version)))) + (build-system guile-build-system) + (native-inputs + (list guile-3.0)) + (home-page "https://inqlab.net/git/guile-srfi-128.git") + (synopsis "SRFI 128 Comparators (reduced) port for Guile") + (description + "This package provides an implementation of SRFI 128 for Guile. +SRFI 128 defines comparators, which bundles a test type predicate, an +equality predicate, an ordering predicate and a hash function into a +single Scheme object. This can be used in the implementation of data +structures. This package re-uses the SRFI sample implementation.") + (license license:lgpl3+))) + (define-public guile-srfi-145 (package (name "guile-srfi-145") 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"))