all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#50930] [PATCH] gnu: Add guile-pipe
@ 2021-10-01  8:21 jgart via Guix-patches via
  2021-10-01  8:30 ` jgart via Guix-patches via
  2021-10-01 14:33 ` jgart via Guix-patches via
  0 siblings, 2 replies; 8+ messages in thread
From: jgart via Guix-patches via @ 2021-10-01  8:21 UTC (permalink / raw)
  To: 50930

Hi Guix,

Here's guile-pipe.

https://github.com/joshwalters/guile-pipe

guile-pipe is currently available from GuixRUs channel as guile-pipe-guixrus

https://git.sr.ht/~whereiseveryone/guixrus

all best,

jgart




^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#50930] [PATCH] gnu: Add guile-pipe.
  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
  2021-10-01 14:04   ` Xinglu Chen
  2021-10-01 14:33 ` jgart via Guix-patches via
  1 sibling, 1 reply; 8+ messages in thread
From: jgart via Guix-patches via @ 2021-10-01  8:30 UTC (permalink / raw)
  To: 50930; +Cc: jgart

* 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





^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#50930] [PATCH] gnu: Add guile-pipe.
  2021-10-01  8:30 ` jgart via Guix-patches via
@ 2021-10-01 14:04   ` Xinglu Chen
  2021-10-01 14:33     ` jgart via Guix-patches via
  0 siblings, 1 reply; 8+ messages in thread
From: Xinglu Chen @ 2021-10-01 14:04 UTC (permalink / raw)
  To: 50930; +Cc: jgart

[-- Attachment #1: Type: text/plain, Size: 2121 bytes --]

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
>  
> +(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 function
> +threading macros @command{->} and @command{->>}.")

s/@command/@code/

The description should consist of full sentences (see “16.4.4 Synopses
and Descriptions” in the manual); both sentences are lacking a subject.
I suggest:

  This package provides macros for functional chaining in Guile, similar
  to UNIX pipes (@code{|}) and Clojure's threading macros (@code{->} and
  @code{->>}).
  

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#50930] [PATCH] gnu: Add guile-pipe.
  2021-10-01 14:04   ` Xinglu Chen
@ 2021-10-01 14:33     ` jgart via Guix-patches via
  0 siblings, 0 replies; 8+ messages in thread
From: jgart via Guix-patches via @ 2021-10-01 14:33 UTC (permalink / raw)
  To: Xinglu Chen; +Cc: 50930

On Fri, 01 Oct 2021 16:04:20 +0200 Xinglu Chen <public@yoctocell.xyz> wrote:
Hi Xinglu,

Thanks for the review! It is much appreciated. I submitted the patches again 
with your changes.

all best,

jgart




^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#50930] [PATCH] gnu: Add guile-pipe.
  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
@ 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
  1 sibling, 2 replies; 8+ messages in thread
From: jgart via Guix-patches via @ 2021-10-01 14:33 UTC (permalink / raw)
  To: 50930; +Cc: jgart

* gnu/packages/guile-xyz.scm (guile-pipe): New variable.
---
 gnu/packages/guile-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 7188058b42..5484371f3b 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -256,6 +256,33 @@ more.")
     (home-page "https://www.gnu.org/software/artanis/")
     (license (list license:gpl3+ license:lgpl3+)))) ;dual license
 
+;; There are no releases yet of this package.
+(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
+"This package provides macros for functional chaining in Guile, similar
+ to UNIX pipes (@code{|}), Clojure's threading macros (@code{->} and
+ @code{->>}).")
+      (license license:gpl3+))))
+
 (define-public guile-f-scm
   (package
     (name "guile-f-scm")
-- 
2.33.0





^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [bug#50930] [PATCH] gnu: Add guile-pipe.
  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
  1 sibling, 0 replies; 8+ messages in thread
From: Xinglu Chen @ 2021-10-01 16:49 UTC (permalink / raw)
  To: 50930; +Cc: jgart

[-- Attachment #1: Type: text/plain, Size: 1884 bytes --]

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 | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>
> diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
> index 7188058b42..5484371f3b 100644
> --- a/gnu/packages/guile-xyz.scm
> +++ b/gnu/packages/guile-xyz.scm
> @@ -256,6 +256,33 @@ more.")
>      (home-page "https://www.gnu.org/software/artanis/")
>      (license (list license:gpl3+ license:lgpl3+)))) ;dual license
>  
> +;; There are no releases yet of this package.
> +(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
> +"This package provides macros for functional chaining in Guile, similar
> + to UNIX pipes (@code{|}), Clojure's threading macros (@code{->} and
> + @code{->>}).")

The indentation of the string is a bit off, sorry for not noticing this
earlier!  Whoever commits this (I am not a committer) can probably fixup
this, so you don’t have to resend a v3 just for this minor change.  The
rest LGTM!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#50930: [PATCH] gnu: Add guile-pipe.
  2021-10-01 14:33 ` jgart via Guix-patches via
  2021-10-01 16:49   ` Xinglu Chen
@ 2021-10-01 18:30   ` Liliana Marie Prikler
  2021-10-01 20:24     ` [bug#50930] " jgart via Guix-patches via
  1 sibling, 1 reply; 8+ messages in thread
From: Liliana Marie Prikler @ 2021-10-01 18:30 UTC (permalink / raw)
  To: jgart, 50930-done

Am Freitag, den 01.10.2021, 10:33 -0400 schrieb jgart:
> * gnu/packages/guile-xyz.scm (guile-pipe): New variable.
> [...]
Pushed with a fix to the indentation

> +      (description
> +"This package provides macros for functional chaining in Guile,
> similar
> + to UNIX pipes (@code{|}), Clojure's threading macros (@code{->} and
> + @code{->>}).")
here :)





^ permalink raw reply	[flat|nested] 8+ messages in thread

* [bug#50930] [PATCH] gnu: Add guile-pipe.
  2021-10-01 18:30   ` bug#50930: " Liliana Marie Prikler
@ 2021-10-01 20:24     ` jgart via Guix-patches via
  0 siblings, 0 replies; 8+ messages in thread
From: jgart via Guix-patches via @ 2021-10-01 20:24 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: 50930-done

On Fri, 01 Oct 2021 20:30:12 +0200 Liliana Marie Prikler <liliana.prikler@gmail.com> wrote:
> Pushed with a fix to the indentation

Thank you Liliana

all best,

jgart




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-10-01 20:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.