From patchwork Tue Aug 9 09:30:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: pukkamustard X-Patchwork-Id: 41422 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 140FE27BBEA; Tue, 9 Aug 2022 10:31:33 +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 A4F9227BBE9 for ; Tue, 9 Aug 2022 10:31:32 +0100 (BST) Received: from localhost ([::1]:37806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLLaF-0004gx-Qz for patchwork@mira.cbaines.net; Tue, 09 Aug 2022 05:31:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLLZn-0004gP-7b for guix-patches@gnu.org; Tue, 09 Aug 2022 05:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52812) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLLZm-0000xf-UV for guix-patches@gnu.org; Tue, 09 Aug 2022 05:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLLZm-0002lI-Pw for guix-patches@gnu.org; Tue, 09 Aug 2022 05:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57055] [PATCH v2 2/2] gnu: Add guile-srfi-146. Resent-From: pukkamustard Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Aug 2022 09:31: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.166003743610545 (code B ref 57055); Tue, 09 Aug 2022 09:31:02 +0000 Received: (at 57055) by debbugs.gnu.org; 9 Aug 2022 09:30:36 +0000 Received: from localhost ([127.0.0.1]:42553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLLZM-0002k0-8f for submit@debbugs.gnu.org; Tue, 09 Aug 2022 05:30:36 -0400 Received: from mout01.posteo.de ([185.67.36.65]:46495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLLZK-0002jU-Up for 57055@debbugs.gnu.org; Tue, 09 Aug 2022 05:30:35 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 66828240029 for <57055@debbugs.gnu.org>; Tue, 9 Aug 2022 11:30:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1660037429; bh=bVbzawD+vaobCDpjnrWDIz0AKisKT/L/xqHAdUyuHOk=; h=From:To:Cc:Subject:Date:From; b=SOT6NrHaFR/yLqhuUZzzox51+Ea+NRG9Qqj/k9F8jzgj4p0N5fw2IvInwkEKIiO7v mJCe3eQHVh9TENaYxVK5U6a11iAEfsMFcuRfTfxDKgfdMaY8M7m8Spo+P1iDfejWzZ /TAY3r+SEEWElwtgK+pwptbzZwVftDvVuaX76dhbMNXQJrMU7bSPfFHpU/YsEJouUp SpIF0iE4WDje6Uhpxe3FfQbQuolyNMbvz1eXsYoqf7krJOtSjEGd9YO/3erxgI0pFZ FYncPHEmKbKcZNqxdfbaaBvs7ctmxEn8yftJeTBHb4phbb7FOP7lrVRpT3SEw+Yllm Md5NikzvWXLIg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4M278h1R3Fz6tmf; Tue, 9 Aug 2022 11:30:28 +0200 (CEST) From: pukkamustard Date: Tue, 9 Aug 2022 09:30:09 +0000 Message-Id: <20220809093009.26566-2-pukkamustard@posteo.net> In-Reply-To: <20220809093009.26566-1-pukkamustard@posteo.net> References: <20220808083254.16059-1-pukkamustard@posteo.net> <20220809093009.26566-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 | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index f23d77c8d6..2db99dc33e 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -3142,6 +3142,41 @@ (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 license:lgpl3+))) + (define-public guile-srfi-158 (let ((commit "13126d1ed37892c864337a600a43d6876625fb99") (revision "0"))