unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 50930@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#50930] [PATCH] gnu: Add guile-pipe.
Date: Fri,  1 Oct 2021 04:30:28 -0400	[thread overview]
Message-ID: <20211001083028.8694-1-jgart@dismail.de> (raw)
In-Reply-To: <20211001042125.GB7282@gac.attlocal.net>

* 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
 
+(define-public guile-pipe
+  (let ((commit "0746ec38d19d844dff0c6f62f209b2b6c8d8872e")
+        (revision "0"))
+    (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 function
+threading macros @command{->} and @command{->>}.")
+      (license license:gpl3+))))
+
 (define-public guile-f-scm
   (package
     (name "guile-f-scm")
-- 
2.33.0





  reply	other threads:[~2021-10-01  8:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-01  8:21 [bug#50930] [PATCH] gnu: Add guile-pipe jgart via Guix-patches via
2021-10-01  8:30 ` jgart via Guix-patches via [this message]
2021-10-01 14:04   ` Xinglu Chen
2021-10-01 14:33     ` jgart via Guix-patches via
2021-10-01 14:33 ` jgart via Guix-patches via
2021-10-01 16:49   ` Xinglu Chen
2021-10-01 18:30   ` bug#50930: " Liliana Marie Prikler
2021-10-01 20:24     ` [bug#50930] " jgart via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211001083028.8694-1-jgart@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=50930@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).