From patchwork Sun Sep 8 04:02:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuval Langer X-Patchwork-Id: 67751 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 1B3B127BBEC; Sun, 8 Sep 2024 05:05:27 +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=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=ham 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 061E727BBE9 for ; Sun, 8 Sep 2024 05:05:26 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sn9Ak-0000Fr-RP; Sun, 08 Sep 2024 00:05:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sn9Ab-0000B9-6C for guix-patches@gnu.org; Sun, 08 Sep 2024 00:05:01 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sn9Aa-00059G-TU for guix-patches@gnu.org; Sun, 08 Sep 2024 00:05:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=tamZoxMIW85wJfTik78Ney/T4pUtr3C/Pgsis+mkjm0=; b=N/nlhLLvGIcft3OGphRFD5Or80zG7Zsf1sobdaJE6xoVV078B/BsqEryGpnxHEgaW8Dm5mW3NKb768MUTF+qNeVIzx+fRM24x+hiBBcJk3ovTrgRy0Js/jSn1Ep98f1v4h2Q8zK3HF/ZhwaeRaKozG4Yg9OiuP7Hp3JUJZq86re94GOAHzINwS248aFongVqQssDp7AWdk5zamrL9Pg+ruUl7bVcmVAMDnSVlpe+iwtcepP0mym7ou0BGOH0QqP54DMEwZVjO+qbmp/aYIZ99cNDXButeww45o+eksr60L6HRyWFREf3bQXrNpG9CoPcvpoDXeD7XIY7SOpu6Q+y8g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sn9Ac-0000WY-Gu for guix-patches@gnu.org; Sun, 08 Sep 2024 00:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73096] A guile package for SRFI-235. Resent-From: Yuval Langer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 08 Sep 2024 04:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73096 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 73096@debbugs.gnu.org Received: via spool by 73096-submit@debbugs.gnu.org id=B73096.17257682741945 (code B ref 73096); Sun, 08 Sep 2024 04:05:02 +0000 Received: (at 73096) by debbugs.gnu.org; 8 Sep 2024 04:04:34 +0000 Received: from localhost ([127.0.0.1]:57840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sn9AA-0000VJ-AM for submit@debbugs.gnu.org; Sun, 08 Sep 2024 00:04:34 -0400 Received: from mail-lj1-f174.google.com ([209.85.208.174]:49534) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sn9A6-0000V0-F9 for 73096@debbugs.gnu.org; Sun, 08 Sep 2024 00:04:33 -0400 Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2f763e9e759so1721841fa.3 for <73096@debbugs.gnu.org>; Sat, 07 Sep 2024 21:04:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725768203; x=1726373003; darn=debbugs.gnu.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=tamZoxMIW85wJfTik78Ney/T4pUtr3C/Pgsis+mkjm0=; b=Z2zGUwN5zpbYhzldeqrWnpUkMvXAuV6rG8O4K58YPm9HTOzEmAYNLmJuctsHQUpoYR HPJYXVWgL/aimSff9BmLZqNdGYGM0Y2dWlxpMkGaI0XiVrgezuLmz+i5TXeKDGiJkiLr jzZQVY7NkyiZVz836JI/NwuLIGHIyGUzL5IwcOv8OFMAZVd70QPO2om+Zz0NBiwrCq/P KAEz++4/M59M4+qYTYYZCSuf44BzaT3vNAkz0F62DEEMv747Seg0dQNQtPPvbOl/TvO7 pxX2cJMi9ULLqnExCTn6g2PmLqsoECXGexm5n/O6lZni3j7NwCC5R+u31I0EFV4IuobF J7xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725768203; x=1726373003; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tamZoxMIW85wJfTik78Ney/T4pUtr3C/Pgsis+mkjm0=; b=klNAbuVWSvrH/tWRvkGt3MnC9FeDHrzRWDHVS11x8bRqTVS+QDu3kbPLUkR7JrsO5J TRtlxqteuxF0HOf/oGbNmEjGRQJ1LYHgVg3uV8B9pFR0qdO93CYStJr0BvNrpO1dabET ZihB5cCC8Xgn1/zFsHkWAGcHqMkJTDyD2EVDVfpeSNQJk2cus6lOmSFbjHNYviRh09nE xsdgDCDjJ7nTMMLpSH9tq84B7j+4dvz0N6dKUWNxsnyCluka83PpET54u0bttyS9Dct5 r6I36ljp84nRxQHBgvs8EZZzuOBf0RNr5sJpMxmUF7iybXGueJ5zFbs7meqW3u05JMkz dEmQ== X-Gm-Message-State: AOJu0YzadXYdugMqUCmaGAy0rRUF7CiceTkpa+Y4kZCJ785pycr5O0F1 qEDnHFG9BIviWA5721DN/xCEhrx4Ynxe2v+D12roYJ77rOO7UvQxI9TdmtAZHfD+9kkW2W23JL9 ppZrD6gGoWBHp0gzvw+gRo5ejNQtwaxNZ X-Google-Smtp-Source: AGHT+IFoQTxSKT8xjkFz8rEj88dG5Svs8PM7sA9OLZKGX42W3KpCqJ9+Tbeji3z9XuPkyOB2HVIAQAX0o9ehfQL7530= X-Received: by 2002:a2e:859:0:b0:2f3:d8dd:a1f6 with SMTP id 38308e7fff4ca-2f751f865c5mr40764291fa.40.1725768202277; Sat, 07 Sep 2024 21:03:22 -0700 (PDT) MIME-Version: 1.0 References: <877cbnp8ou.fsf@dismail.de> In-Reply-To: From: Yuval Langer Date: Sun, 8 Sep 2024 07:02:45 +0300 Message-ID: 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches Friend (robin on Libera) just noticed I didn't remove the gnu:packages:guile: prefix I use for my own Guix channel. Uploading the hopefully final version of this patch. From 2922975cb88444b7abfb8fe971a4eb77deab0474 Mon Sep 17 00:00:00 2001 Message-Id: <2922975cb88444b7abfb8fe971a4eb77deab0474.1725768085.git.yuval.langer@gmail.com> From: Yuval Langer Date: Sat, 7 Sep 2024 16:00:04 +0300 Subject: [PATCH] gnu: Add guile-srfi-235. * gnu/packages/guile-xyz.scm (guile-srfi-235): New variable. --- gnu/packages/guile-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 3bcb0e82bb..792b1c6fa8 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -4079,6 +4079,45 @@ procedures, and procedures created with it have predictable behavior when applied to surplus arguments.") (license license:expat))) +(define-public guile-srfi-235 + (let ((version "1.0.0") + (revision "1") + (commit "643a44aa9d6872962257995ecb0a31eb06a71d88")) + (package + (name "guile-srfi-235") + (version (git-version version revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url + "https://github.com/scheme-requests-for-implementation/srfi-235") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1slkcr67ad12ipkbhjdzjhbnsyvq5wi7cssvgv110fr2dy4rciwp")))) + (build-system guile-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'move-create-and-delete-files + (lambda _ + (substitute* "srfi/235.sld" + (("srfi 235") + "srfi srfi-235")) + (rename-file "srfi/235.sld" "srfi/srfi-235.scm")))))) + (native-inputs (list guile-3.0)) + (home-page + "https://github.com/scheme-requests-for-implementation/srfi-235") + (synopsis "Combinators for Guile Scheme") + (description + "This SRFI contains various procedures that accept and return procedures, as +well as a few others, drawn from an earlier version of Chicken. +Common Lisp has a few of them too, and more come from the Standard +Prelude from Programming Praxis. Using these procedures helps to keep +code terse and reduce the need for ad hoc lambdas.") + (license license:expat)))) + (define-public emacsy (package (name "emacsy") -- 2.30.2