From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CGpxK74VV2GfCgAAgWs5BA (envelope-from ) for ; Fri, 01 Oct 2021 16:05:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0MfwJr4VV2GRVQAAB5/wlQ (envelope-from ) for ; Fri, 01 Oct 2021 14:05:50 +0000 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 726EBCB03 for ; Fri, 1 Oct 2021 16:05:50 +0200 (CEST) Received: from localhost ([::1]:48532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWJAb-00021x-HM for larch@yhetil.org; Fri, 01 Oct 2021 10:05:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWJ9q-00021Z-O0 for guix-patches@gnu.org; Fri, 01 Oct 2021 10:05:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45240) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWJ9q-00023N-GU for guix-patches@gnu.org; Fri, 01 Oct 2021 10:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWJ9q-000549-7p for guix-patches@gnu.org; Fri, 01 Oct 2021 10:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50930] [PATCH] gnu: Add guile-pipe. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Oct 2021 14:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50930 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50930@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: jgart via Guix-patches via , 50930@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163309707219434 (code B ref -1); Fri, 01 Oct 2021 14:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Oct 2021 14:04:32 +0000 Received: from localhost ([127.0.0.1]:56786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWJ9M-00053I-Hn for submit@debbugs.gnu.org; Fri, 01 Oct 2021 10:04:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:51928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWJ9I-000531-AL for submit@debbugs.gnu.org; Fri, 01 Oct 2021 10:04:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWJ9I-0001yu-07 for guix-patches@gnu.org; Fri, 01 Oct 2021 10:04:28 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:41896 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWJ9F-0001ZP-SU for guix-patches@gnu.org; Fri, 01 Oct 2021 10:04:27 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1633097062; bh=FVnkgDQjGjPRWabESmoP4YYs+/Y/35kJCf/x2i7jo7g=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=DnUdsjCg4jsjGG/K6yMM5DjTF7/0gpDzQjFtn8V8rBnj0F4MbkOjYg5p+/2nQiPfc y0uSOpuNfOeTWD5DUzaL25O9m804x5hvs+DVj3QnF/DNmTnW/ZfMlH7PpzY+6H90vN LWuO1P+vsPR33c5tU5RabNvX8DlbyWaj15vS1qas= In-Reply-To: <20211001083028.8694-1-jgart@dismail.de> References: <20211001042125.GB7282@gac.attlocal.net> <20211001083028.8694-1-jgart@dismail.de> Date: Fri, 01 Oct 2021 16:04:20 +0200 Message-ID: <87sfxklu3f.fsf@yoctocell.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 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, FROM_SUSPICIOUS_NTLD=0.498, PDS_OTHER_BAD_TLD=1.997, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633097150; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=HorQNPaRKpS9CdvN7m/GTen8pcuh4hu4QAFx369rh3U=; b=jObbsFbrdA8uMQlMEqJhPGmkkmF8qJPqPB13qDuJyr49OKe0nD+QqgZXJKfitLMHM9Rzdb NdyNG27Q6HEZHdS/+eahgqNo9FXDhZoCAMnw2AGQGPC4f6teTSXJJumjhC6inu0ddWSfEb OgqkT9KkiecpRBZjjbfEh98kI8vcj+OyhFJ5EHpq8QNYI3gesJLmOLPcromRDu9kGmBv15 DB8s/MHUVE+LSq0mlvDB4sCn7SLUBhwmK7qCYFTDWJ5shh7Tr5FuFnZI7FmFsupIRviZDq bjrWZ58+DuO3GX1YSdDklujdoaQMG77n9zRuwh8fa1uFbmRV6zo/1wKjmCl4eg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633097150; a=rsa-sha256; cv=none; b=EMJ61FIt3Db6kZk2jNHG6/opMmgvvGPbuYrZNBBt8sReRK78yY9BmNr384/DwtKv6icyvC /WDT227npOGbn/2UIEO9S4inMbqi4mL7iXDcV7zLNRAKL3UPzDVWuC6lUxi/Yc0wdKt92X gdRD2vjCSJdeA3Kur0FBEwnEVi7BnGWd2YlSFukXVzZ0hrHRNj36CUpQzwXLjx7Bs6AD2/ aD/MGNTsizd/aVkqEHwKpNpzECZj5sngVcscJhWA6zCwDLiAvo+cfPc2otmHK91i/W/m3k NeESWNiAvzblHsAKbNe9C2Spw/FiudmJqCSC2XVm5Iqk6KCEShf9UD+Mvqk+0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=DnUdsjCg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=yoctocell.xyz header.s=mail header.b=DnUdsjCg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=yoctocell.xyz (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 726EBCB03 X-Spam-Score: -3.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: rfbQnrFPlXtg --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Fri, Oct 01 2021, jgart via Guix-patches via wrote: > * gnu/packages/guile-xyz.scm (guile-pipe): New variable. > --- > gnu/packages/guile-xyz.scm | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm > index 7188058b42..f5c5ccd8da 100644 > --- a/gnu/packages/guile-xyz.scm > +++ b/gnu/packages/guile-xyz.scm > @@ -256,6 +256,32 @@ more.") > (home-page "https://www.gnu.org/software/artanis/") > (license (list license:gpl3+ license:lgpl3+)))) ;dual license >=20=20 > +(define-public guile-pipe > + (let ((commit "0746ec38d19d844dff0c6f62f209b2b6c8d8872e") > + (revision "0")) There should be a comment stating why a commit and not a tag is used. In this case it seems that upstream is lacking tags. > + (package > + (name "guile-pipe") > + (version (git-version "0.0.0" revision commit)) > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/joshwalters/guile-pipe") > + (commit commit))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "038gwrhfywgs8372q478wn4623lhcmkknfj4p8yaa93bykfc0fml"= )))) > + (build-system guile-build-system) > + (native-inputs > + `(("guile" ,guile-3.0))) > + (home-page "https://github.com/joshwalters/guile-pipe") > + (synopsis "Guile pipe macros for functional chaining") > + (description > +"Guile pipe macros for functional chaining, similar to the UNIX pipe > +@command{|} operator. Provides identical functionality to Clojure's fun= ction > +threading macros @command{->} and @command{->>}.") s/@command/@code/ The description should consist of full sentences (see =E2=80=9C16.4.4 Synop= ses and Descriptions=E2=80=9D in the manual); both sentences are lacking a subj= ect. I suggest: This package provides macros for functional chaining in Guile, similar to UNIX pipes (@code{|}) and Clojure's threading macros (@code{->} and @code{->>}). =20=20 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmFXFWQVHHB1YmxpY0B5 b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5OSsQAIuEtO6iEQ3pkL30j6getnAqNOYn 13CpFEL4EJwx9WVL62lY0JLd4MWNcnWeuJ4/iEQp949znAkR8kXRx97M4vDIgoto q44g3HHnfwiad979b2U0o6/T1RNu11Ey4R1XMmeJc+qa/2mKyVC0QmzxH/MZlCnS QY5d22jPzE/0WsPnfSM5NZAtjSr4nRmfqeDE/+M0qYaZvgPPD19pV3XRk0VTVkJh VRYwU9wcBd3UdqeEKPQukDeSGNluKcQGpFHMlJ5vaK2iVNmgdkIzZriOEiEuTsGH 2aXZ0E9B3Hwd7j+P3xasHkRey4Y6CVjOMrBrIwLEzaMzrGJYenep4p15//s9t1jg pQouQXeeSEbrQgya80Y3EVg3Mp9BV0NFtEeNBKpKB9gZ2WWjZq/KqOt/hN/rGdQe xVcwklQkGskylCNCMGVfZ2qIoMJTyGc3f3RAVCNPNlVmR8FbLWfTVSB0DcbU5rao IGw5URBLHfkmt3iBkoGuDecSWM2ghr61RQ+Z4FSHe54IvYfp8qcZUSjUQN1+39Hw KOkmsOggARSuztqHfeJA16p5jbbQou6bHxPkc/MMe3clG3wtTtV8GKorbRKZ+qS8 3d9CTXrI1wMwPml+6a4JO6X7dWfMAp4eDypcDfeUh2RYCY5TZd144fTOi0qQSsqm nN1hwltw0wMW2nf9 =VL7B -----END PGP SIGNATURE----- --=-=-=--