From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +PX+Ek575WHlOQEAgWs5BA (envelope-from ) for ; Mon, 17 Jan 2022 15:21:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +A9gEE575WFYoQAA9RJhRA (envelope-from ) for ; Mon, 17 Jan 2022 15:21:02 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F2D273B78C for ; Mon, 17 Jan 2022 15:21:01 +0100 (CET) Received: from localhost ([::1]:44890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n9SsX-00023N-3x for larch@yhetil.org; Mon, 17 Jan 2022 09:21:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9S0N-0003SW-0e for guix-patches@gnu.org; Mon, 17 Jan 2022 08:25:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52399) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n9S0M-0008KX-MS for guix-patches@gnu.org; Mon, 17 Jan 2022 08:25:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n9S0M-00053f-J1 for guix-patches@gnu.org; Mon, 17 Jan 2022 08:25:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53317] [PATCH] Add guile-srfi-189. Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Jan 2022 13:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53317 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53317@debbugs.gnu.org Cc: Attila Lendvai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164242586519351 (code B ref -1); Mon, 17 Jan 2022 13:25:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Jan 2022 13:24:25 +0000 Received: from localhost ([127.0.0.1]:45293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9Rzk-000523-Tk for submit@debbugs.gnu.org; Mon, 17 Jan 2022 08:24:25 -0500 Received: from lists.gnu.org ([209.51.188.17]:38810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n9Rzj-00051u-Go for submit@debbugs.gnu.org; Mon, 17 Jan 2022 08:24:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n9RzZ-0001jb-E5 for guix-patches@gnu.org; Mon, 17 Jan 2022 08:24:21 -0500 Received: from [2a00:1450:4864:20::529] (port=37762 helo=mail-ed1-x529.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n9RzQ-0008Fi-D7 for guix-patches@gnu.org; Mon, 17 Jan 2022 08:24:13 -0500 Received: by mail-ed1-x529.google.com with SMTP id j7so17093331edr.4 for ; Mon, 17 Jan 2022 05:24:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4fJZotAwGDV8yG/s6b3/bgx1a4iV9nUU2mv34xCFQEY=; b=iXeqipeo5Ehb5VfbQiKr4lC8gMUQwg8DqZ6WDtReK5A6KOuRD3Qw9fMkdtjT7qKQOH 3g92TACE60pvMyORz1dPBMjyjWIeBXJhUxtvioej4Rkzg2sdLyJixpX/SUVjOGz65Lm0 uQAu/Hu6NopPJeAGJgwrB0lAnLyAy4VfRlXOKac5Um9XVmmZMmToeUt0q3mP6rVK+QuG qC3ibTfF5ibp/z3r7qjgPmgDL4FalSPzF5HXPx77wzR0sfK7hGoqhE2awq4aQnpjHlZ9 0pYX8sLLMFJUlgOZyOF/7/ek6+GlUQr5Eb+/ZewHIC8bB0Mt08T2qsKUmt1Oc8GAk9f+ q3Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=4fJZotAwGDV8yG/s6b3/bgx1a4iV9nUU2mv34xCFQEY=; b=XfYGv7GX8ieo67uMVJDM+I8Z5l8dNxHl1q+OGFynUJslHcaYcspoODQjqLWP4xAqn2 cGFPktQc0TpjG6QRgFN83zX/rNWr545aRymLwe7bFcYUeHrqxRTUzpNubVGvggrPKXDu NHi9Zh5GMD8kNJtMGtpGaVL0ILlEhzGXDHH/QoW9ArXNaoCBfshAtTP2uc0FlJhP0UEf FAbFdmQIgy/0c94geHZ3eZM2pIOPJSUrNufWvNUULJOZ6GqcAmLhIjwpMO5DjUF0Q1z8 6T5GGJ0Wha+6FP0wBj7HIAYD8NXPqHQTo9vAfGjc08KwGMOfUxM5KtH1hFXKZcYM9/lp h1MQ== X-Gm-Message-State: AOAM533PFAD1j76RJ7LF4pRRJabtBsPmCCOZ4U8bn5bydReAdP1YxzTx M8OsZTyragp/Ow4D/pGdB9JbAzCYm4U= X-Google-Smtp-Source: ABdhPJzTQmddzCvK1x+BmowbomWSMcFNfVa/xRVpIL+T6iuLJSK47R4apGyoj3T8UjzmeiOODAhl8A== X-Received: by 2002:a05:6402:3592:: with SMTP id y18mr3175682edc.41.1642425838874; Mon, 17 Jan 2022 05:23:58 -0800 (PST) Received: from lelap.lan (catv-89-132-245-188.catv.broadband.hu. [89.132.245.188]) by smtp.gmail.com with ESMTPSA id 16sm4438512ejy.213.2022.01.17.05.23.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jan 2022 05:23:58 -0800 (PST) From: Attila Lendvai Date: Mon, 17 Jan 2022 14:20:07 +0100 Message-Id: <20220117132006.21710-1-attila@lendvai.name> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::529 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=attila.lendvai@gmail.com; helo=mail-ed1-x529.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642429262; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=4fJZotAwGDV8yG/s6b3/bgx1a4iV9nUU2mv34xCFQEY=; b=T2IKm7pcllBAU6FQTk3QYZiNgRWp0HdUFLC94vFHVoXHSsfPEGUhLLXycG+QvVuYQDfkTY yRrzjF8lT99zIZ8e7EEbB4B2SuovpYNm7HwtZwuJ3Fzr0SsXAtigexG2nq+Kad/tz1PwBF Cx5CPZnnhfkgZQ03Z9A4bavDL+j2gkdwKtc2da4CtgdLtvVJjoFfJ8GxJCvg6eVb4voI7M 5/yK5RYXkFjiujPDOp90ho3gx6Quh7p2yRM6bItLD0et0TMdScPQ5bdWz+zxK5fBG5KPaJ FHF6hix9vUYWLDrJjzQbzFV055ZTVQjI8i69lKwUkjDRlCfdBLO41gEZOwLUwg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642429262; a=rsa-sha256; cv=none; b=T5d0hhplpCjtPdHAd8BIWiZ3nfhFoHYf913m7gmfacI+irIil+YQTQ4Jpk7lMb5FbDACpQ OFxaBsalKx7wK/CI4ONrHiiNAeSak/0RMnWSr3CVKgWdRTPwHYEu/cznDEnrJCREzTbggm wTBbM6ibpzSHkfiAzXEBAWeo5g6Id7JVJEseFKKuzBBhKdyaKdajh8MzBd3QWlKkmcYn2F gY78ALv0eSZNXfQQ3PTK2Z/cMTNheeCIZxZFotS7Guw+x1eTOaZzgVvjzXrjsyHlb4e5F5 p9X89+qQxuj88BhDRHDjH1Q5tOqCqlb4NflbS2U6QAgs8TyWzTQOOHl2V3IBhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iXeqipeo; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.82 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=iXeqipeo; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: F2D273B78C X-Spam-Score: -0.82 X-Migadu-Scanner: scn1.migadu.com X-TUID: nhnBPjKvj7wM * gnu/packages/guile-xyz.scm (guile-srfi-189): New variable. --- this is mimicing guile-srfi-180. please note that there's quite an anomaly among the guile-srfi packages, including which guile they depend on, and the use of native-inputs vs. inputs. it may be worth cleaning that up for someone with a better overview of what's going on here. gnu/packages/guile-xyz.scm | 45 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm index 74567830e6..6e46a8f376 100644 --- a/gnu/packages/guile-xyz.scm +++ b/gnu/packages/guile-xyz.scm @@ -3173,6 +3173,51 @@ (define-public guile-srfi-180 API.") (license license:expat)))) +(define-public guile-srfi-189 + (let ((commit "a0e3786702956c9e510d92746474ac988c2010ec") + (revision "0")) + (package + (name "guile-srfi-189") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + ;; This is a fork of: + ;; (url "https://github.com/scheme-requests-for-implementation/srfi-189") + ;; Upstream merge requested at: + ;; https://github.com/scheme-requests-for-implementation/srfi-189/pull/21 + ;; TODO switch over to the official repo when the PR gets merged + (url "https://github.com/attila-lendvai-patches/srfi-189") + (commit commit))) + (sha256 + (base32 + "0iqv4sjwbp4k87r9l9abzbs5yjcljm69m91kb1ypb03b0rx7napy")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file "test-syntax.scm") + (delete-file "test.scm"))) + (file-name (git-file-name name version)))) + (build-system guile-build-system) + (arguments + '(#:not-compiled-file-regexp "srfi/189\\.scm$")) ; it's INCLUDE'd + (native-inputs + (list guile-3.0)) + (propagated-inputs + (list guile-srfi-145)) + (home-page "https://srfi.schemers.org/srfi-189/") + (synopsis "Scheme SRFI implementation of Maybe and Either") + (description + "This SRFI defines two disjoint immutable container types known as +Maybe and Either, both of which can contain objects collectively known +as their payload. A Maybe object is either a Just object or the unique +object Nothing (which has no payload); an Either object is either a Right +object or a Left object. Maybe represents the concept of optional values; +Either represents the concept of values which are either correct (Right) +or errors (Left).") + (license license:expat)))) + (define-public emacsy (package (name "emacsy") -- 2.34.0