From patchwork Sat Sep 7 13:02:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuval Langer X-Patchwork-Id: 67720 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 08F5427BBEA; Sat, 7 Sep 2024 14:03:24 +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,URIBL_BLOCKED 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 1B89727BBE2 for ; Sat, 7 Sep 2024 14:03:23 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smv5i-0003by-I3; Sat, 07 Sep 2024 09:03:02 -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 1smv5h-0003aB-DV for guix-patches@gnu.org; Sat, 07 Sep 2024 09:03: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 1smv5h-00012s-4P for guix-patches@gnu.org; Sat, 07 Sep 2024 09:03:01 -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:MIME-Version:To:Subject; bh=Oo1iFM55zZGzR2a9mYWg6Ym8Q+4qguepFFc7/nzBi/c=; b=S2SjzSn/v4JkEJJ+0ZPuD9Rpgd2vIWRxmsahliX78ygvHQgHzkVmsUarPzKAvZo+E1IBtjBD6Xn1pSACPERTOV1hviIPY5sqp0LB0qZTQZGJCVxPV0+TJFNY+9BzS9I9tPIAzXmgYaieWO9m6hklG3g621GXWfTlyNcCMq+bbDzlqE2FLBFMLQcpjqbtvNfVQUe1McqYHPJlL90PucTbhyvOQU4CVk88cjcJTFKIV4nNLa3e1G9SsY4Bwgbyehao9kZYf0sZASNshVGnIWcUkma4PmbIC99fuG52JG9hSzoJzqPTZWeLBOIRlCOAxkQfgoyLvQKOwMNOUc/fyqcEKQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1smv5h-0002hR-Rr for guix-patches@gnu.org; Sat, 07 Sep 2024 09:03:01 -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: Sat, 07 Sep 2024 13:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73096 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 73096@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172571417210359 (code B ref -1); Sat, 07 Sep 2024 13:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Sep 2024 13:02:52 +0000 Received: from localhost ([127.0.0.1]:55148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smv5X-0002gy-Nh for submit@debbugs.gnu.org; Sat, 07 Sep 2024 09:02:52 -0400 Received: from lists.gnu.org ([209.51.188.17]:53216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1smv5V-0002gq-Mo for submit@debbugs.gnu.org; Sat, 07 Sep 2024 09:02:50 -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 1smv5U-0003Ot-DC for guix-patches@gnu.org; Sat, 07 Sep 2024 09:02:48 -0400 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smv5S-00012D-FN for guix-patches@gnu.org; Sat, 07 Sep 2024 09:02:47 -0400 Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-2f5064816edso32946251fa.3 for ; Sat, 07 Sep 2024 06:02:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725714164; x=1726318964; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Oo1iFM55zZGzR2a9mYWg6Ym8Q+4qguepFFc7/nzBi/c=; b=cXp7ytwvJyNvQ2AXI3KXuR/WzRBhpKOsHuFalLzcLnWzOr9LWf+lbjDnU9mqMHwElh kKWza6WgylUXy2vGf7fbzgRcSwSkkoigEkHcAJ3FtlcGf5gIKPuT/CpRltAthG1HSq0L iDL/nUCPA78uJ6quQ5zIgclXb8W21DrlKYnNTne68G/Y2tOKjbo7gQaCoL2ZQrrNOwTh 95yMcxZhNEcJk8Zf5tGZEuv6Sjmx5R9lUJMieLYlfzPDfpyl5zsbth8htH0ero2Za7Fj 1QY3VPnIblO9hoaumtP9dBMya+hW5bz7wiPgYK9yfHBZGdceB+eWqYtJYu58oUFD57BJ 5MBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725714164; x=1726318964; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Oo1iFM55zZGzR2a9mYWg6Ym8Q+4qguepFFc7/nzBi/c=; b=Qb919Xv9gn2VU1gsxoqZnCcCNg7xvVkPIaBQKi4P1zBTpkd68YRtQfa8Mwv4n2jPy/ 7CCYREZRKl8yTBCl/Qw/wj7BuunmoUilLulxc7poJYm0zZwTjLDziydFjdschkFyCaiF 9wp74US8SSpt2VOq85Bg2OmJT5MRddg7sqrIC8HeZgvzxKa5QFAdz6eDWbn4Sl4UdmyD bqQdt+U/B6B4TJlUdZdAA+V03CkWVSDoZmwjixRCgJpPLMoS6q9bfcrVMrJfn2MviVsw Kozi0uEzj3DqiO5Qmu0seACnEZFnpxcKtoiB+Pm4Nbq6UDzRiKOifURy9Jxf/Ik8Izxo X5tQ== X-Gm-Message-State: AOJu0Yzv/FaPeBb46uxO4ulLyy8NpmMJW7cS7n//MuYiwVp1D/qGOSMv zSl/6W/iT0bPcwwOhBCqdROOAxgxCGLy+jXqI/ikb3dLAIXzkLzkyu7HjUPj/FB+rFMh/Vos9/H X12h9YvZ9bm90GtaZlFZ+Z1lBzWHqhUSZ X-Google-Smtp-Source: AGHT+IHwFQ3wYj6Xrz1SnNYR5DfTKzVZsowfO7Ii5nMDL5R3Ckial6r9yhwvwL1lo2fgYAK2fUxbLp2FHIrgMMUC79M= X-Received: by 2002:a05:651c:506:b0:2ef:1c0a:9b97 with SMTP id 38308e7fff4ca-2f75220a76emr35338221fa.3.1725714163311; Sat, 07 Sep 2024 06:02:43 -0700 (PDT) MIME-Version: 1.0 From: Yuval Langer Date: Sat, 7 Sep 2024 16:02:06 +0300 Message-ID: Received-SPF: pass client-ip=2a00:1450:4864:20::231; envelope-from=yuval.langer@gmail.com; helo=mail-lj1-x231.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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 Hi, here's my package definition for SRFI-235. Please review! Many thanks, Yuval Langer. From 56f2508f1bd35ae74846555f65aa0c267bcc4eaf Mon Sep 17 00:00:00 2001 Message-Id: <56f2508f1bd35ae74846555f65aa0c267bcc4eaf.1725714029.git.yuval.langer@gmail.com> From: Yuval Langer Date: Sat, 7 Sep 2024 16:00:04 +0300 Subject: [PATCH] Add guile-srfi-235. --- 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..a558674989 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 gnu:packages:guile: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