From patchwork Mon Aug 29 08:55:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 42063 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 BCCF127BBEA; Mon, 29 Aug 2022 09:57:31 +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 7D73027BBE9 for ; Mon, 29 Aug 2022 09:57:31 +0100 (BST) Received: from localhost ([::1]:45442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSaaI-0006Y5-Jx for patchwork@mira.cbaines.net; Mon, 29 Aug 2022 04:57:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSaZr-0006MM-94 for guix-patches@gnu.org; Mon, 29 Aug 2022 04:57:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42132) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSaZr-0002Jy-07 for guix-patches@gnu.org; Mon, 29 Aug 2022 04:57:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSaZq-0005So-Lb for guix-patches@gnu.org; Mon, 29 Aug 2022 04:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57055] [PATCH v3 1/2] gnu: Add guile-srfi-128. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 Aug 2022 08:57: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.166176338120945 (code B ref 57055); Mon, 29 Aug 2022 08:57:02 +0000 Received: (at 57055) by debbugs.gnu.org; 29 Aug 2022 08:56:21 +0000 Received: from localhost ([127.0.0.1]:60113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSaZA-0005Rg-OK for submit@debbugs.gnu.org; Mon, 29 Aug 2022 04:56:21 -0400 Received: from mout01.posteo.de ([185.67.36.65]:41115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSaZ9-0005RL-1u for 57055@debbugs.gnu.org; Mon, 29 Aug 2022 04:56:19 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 244FE24002C for <57055@debbugs.gnu.org>; Mon, 29 Aug 2022 10:56:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1661763373; bh=Wm+6as3DJMQvp1CsMlilBLfzCAM4GQFdZKrD7Etk6Jk=; h=From:To:Cc:Subject:Date:From; b=b+uJP4II6HMXR2usrHXKce+MKzb70NPJCf8wl96Z0IrVawr5iyqB+Fh+z8MVPEGzm 5oGp/WXHWorgiekPz9bqtBs6u1Dy8cCf9ckBap7Mt+VplsJeImarBntfzS3NWYPD/t Gh9sCeFLMmK1U9Q3rGpVK5ZaxyJTZKf98oRQj9s9ijCs6sKBC0fXK9Gs6qWD/4j5ri c6Eowy3ozxZiRlu9j3eY4/7Kn/kndn/uEqBeilxuSCIoEvxTKBUUq6Etfi75iUk4jQ vxz3VvPrUKRRdw2C9rBdTHzKtWYfzk07CSqKv5MH6jRVw9xcrrnjmguO4GtFkVrw5j kSDzBF42MNFXg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MGPRt0ytyz6tmQ; Mon, 29 Aug 2022 10:56:10 +0200 (CEST) From: pukkamustard Date: Mon, 29 Aug 2022 08:55:59 +0000 Message-Id: <20220829085600.3253-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 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index c1aae8791f..52aa6d5f6a 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -3091,6 +3091,36 @@ (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 + (list license:lgpl3+ + ;; contains ISC code from the SRFI sample implementation + license:isc)))) + (define-public guile-srfi-145 (package (name "guile-srfi-145") From patchwork Mon Aug 29 08:56:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 42062 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 084BF27BBEA; Mon, 29 Aug 2022 09:57:17 +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 AE32227BBE9 for ; Mon, 29 Aug 2022 09:57:16 +0100 (BST) Received: from localhost ([::1]:52686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSaa3-0006NJ-Ry for patchwork@mira.cbaines.net; Mon, 29 Aug 2022 04:57:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSaZr-0006LL-7q for guix-patches@gnu.org; Mon, 29 Aug 2022 04:57:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42131) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oSaZq-0002Ju-JY for guix-patches@gnu.org; Mon, 29 Aug 2022 04:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oSaZq-0005Sh-9X for guix-patches@gnu.org; Mon, 29 Aug 2022 04:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57055] [PATCH v3 2/2] gnu: Add guile-srfi-146. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 29 Aug 2022 08:57: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.166176338020939 (code B ref 57055); Mon, 29 Aug 2022 08:57:02 +0000 Received: (at 57055) by debbugs.gnu.org; 29 Aug 2022 08:56:20 +0000 Received: from localhost ([127.0.0.1]:60111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSaZA-0005Rd-Dg for submit@debbugs.gnu.org; Mon, 29 Aug 2022 04:56:20 -0400 Received: from mout02.posteo.de ([185.67.36.66]:38221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oSaZ8-0005RK-8B for 57055@debbugs.gnu.org; Mon, 29 Aug 2022 04:56:18 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A48D7240105 for <57055@debbugs.gnu.org>; Mon, 29 Aug 2022 10:56:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1661763372; bh=1f7gDbfxZPEU9O9hU7WLvyYcyfS0YPDA5MXI/hVEUpE=; h=From:To:Cc:Subject:Date:From; b=fGHHLKLWryncSaekLmHK+8iB+ZTe29jsiXmSCMpd24S8VGtMznWlfHF5toIgSTt6Z /6VIBHw6M15KI7k0eStjqdltQJixg+e4qzJtY2wE5sbikOid1Wf6vfvksRWg6MEZGX gmCef771c71Mgq1S/VV8+g9fVq7b9wW7gxozd4nlp/VdqNigtah5O0YRTEF4MyyurZ +ljsvoEgwgEEso869IqZe3F4eCxWu38bPurDrNnNriURD08B9UGV6MDItPPAY2+MYy Xjk/w0TW5jsnzCnkcLafUjj6TAEVsmm9nMMkvxL/D0HqYNDk/qwpC1MoplBx6oYhcW IHbLe92LME4+w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MGPRw1H06z6tmQ; Mon, 29 Aug 2022 10:56:12 +0200 (CEST) From: pukkamustard Date: Mon, 29 Aug 2022 08:56:00 +0000 Message-Id: <20220829085600.3253-2-pukkamustard@posteo.net> In-Reply-To: <20220829085600.3253-1-pukkamustard@posteo.net> References: <20220808083254.16059-1-pukkamustard@posteo.net> <20220829085600.3253-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 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 52aa6d5f6a..483ec15676 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -3145,6 +3145,44 @@ (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 guile-3.0 + guile-srfi-128 guile-srfi-145 guile-srfi-158 + 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 + (list license:lgpl3+ + ;; contains ISC code from the SRFI sample implementation + license:isc)))) + (define-public guile-srfi-158 (let ((commit "13126d1ed37892c864337a600a43d6876625fb99") (revision "0"))