Subject: bug#50276: closed (Re: bug#50276: [PATCH 2/4] gnu: Add go-github-com-anaseto-gruid-tcell.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 30 Aug 2021 19:36:03 +0000

Your bug report

#50276: [PATCH 2/4] gnu: Add go-github-com-anaseto-gruid-tcell.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
50276: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50276
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#50276: [PATCH 2/4] gnu: Add go-github-com-anaseto-gruid-tcell.
From: Maxim Cournoyer <[email-masked]>
To: jgart <[email-masked]>
Cc: [email-masked], Arun Isaac <[email-masked]>, Brice Waegeneire <[email-masked]>, Julien Lepiller <[email-masked]>
Date: Mon, 30 Aug 2021 15:35:40 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

This came out as patch 2, but depends on patch 3 :-).

jgart <[email-masked]> writes:

> From: Guix Together <[email-masked]>
>
> * gnu/packages/games.scm (go-github-com-anaseto-gruid-tcell): New variable.
>
> Co-authored-by: Arun Isaac <[email-masked]>
> Co-authored-by: Brice Waegeneire <[email-masked]>
> Co-authored-by: jgart <[email-masked]>
> Co-authored-by: Julien Lepiller <[email-masked]>
> ---
>  gnu/packages/games.scm | 31 +++++++++++++++++++++++++++++++
>  1 file changed, 31 insertions(+)
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index 07a61f2c0b..262b85edc0 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -131,6 +131,7 @@
>    #:use-module (gnu packages gnu-doc)
>    #:use-module (gnu packages gnupg)
>    #:use-module (gnu packages gnuzilla)
> +  #:use-module (gnu packages golang)
>    #:use-module (gnu packages gperf)
>    #:use-module (gnu packages graphics)
>    #:use-module (gnu packages gsasl)
> @@ -9373,6 +9374,36 @@ and bring the war to your enemy.")
>                     license:expat license:fdl1.3+ license:public-domain
>                     license:zlib))))
>  
> +(define-public go-github-com-anaseto-gruid-tcell
> +  (package
> +    (name "go-github-com-anaseto-gruid-tcell")
> +    (version "0.1.1")
> +    (source
> +      (origin
> +        (method git-fetch)
> +        (uri (git-reference
> +               (url "https://github.com/anaseto/gruid-tcell")
> +               (commit (string-append "v" version))))
> +        (file-name (git-file-name name version))
> +        (sha256
> +          (base32
> +            "09ajr9mbldjfc44qprplbf8dr8yhlbn2nfnas2z62m9wmklc0qiv"))))
> +    (build-system go-build-system)
> +    (arguments
> +      '(#:import-path "github.com/anaseto/gruid-tcell"))
> +    (propagated-inputs
> +      `(("go-github-com-gdamore-tcell-v2"
> +         ,go-github-com-gdamore-tcell-v2)
> +        ("go-github-com-anaseto-gruid"
> +         ,go-github-com-anaseto-gruid)))
> +    (home-page
> +      "https://github.com/anaseto/gruid-tcell")
> +    (synopsis "Gruid driver using the tcell library")
> +    (description
> +"The gruid-tcell module provides a gruid driver for building terminal 
> +full-window applications.")
> +    (license license:isc)))
> +
>  (define-public harmonist
>    (package
>      (name "harmonist")

I fixed the indentation using Emacs and compressed the fields as bit,
like so:

1 file changed, 15 insertions(+), 19 deletions(-)
gnu/packages/games.scm | 34 +++++++++++++++-------------------

modified   gnu/packages/games.scm
@@ -9407,29 +9407,25 @@ application.")
     (name "go-github-com-anaseto-gruid-tcell")
     (version "0.1.1")
     (source
-      (origin
-        (method git-fetch)
-        (uri (git-reference
-               (url "https://github.com/anaseto/gruid-tcell")
-               (commit (string-append "v" version))))
-        (file-name (git-file-name name version))
-        (sha256
-          (base32
-            "09ajr9mbldjfc44qprplbf8dr8yhlbn2nfnas2z62m9wmklc0qiv"))))
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/anaseto/gruid-tcell")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "09ajr9mbldjfc44qprplbf8dr8yhlbn2nfnas2z62m9wmklc0qiv"))))
     (build-system go-build-system)
     (arguments
-      '(#:import-path "github.com/anaseto/gruid-tcell"))
+     '(#:import-path "github.com/anaseto/gruid-tcell"))
     (propagated-inputs
-      `(("go-github-com-gdamore-tcell-v2"
-         ,go-github-com-gdamore-tcell-v2)
-        ("go-github-com-anaseto-gruid"
-         ,go-github-com-anaseto-gruid)))
-    (home-page
-      "https://github.com/anaseto/gruid-tcell")
+     `(("go-github-com-gdamore-tcell-v2" ,go-github-com-gdamore-tcell-v2)
+       ("go-github-com-anaseto-gruid" ,go-github-com-anaseto-gruid)))
+    (home-page "https://github.com/anaseto/gruid-tcell")
     (synopsis "Gruid driver using the tcell library")
-    (description
-"The gruid-tcell module provides a gruid driver for building terminal 
-full-window applications.")
+    (description "The gruid-tcell module provides a Gruid driver for building
+terminal full-window applications.")
     (license license:isc)))

There also was an odd white space in the description; I capitalized
"Gruid".

Applied along go-github-com-anaseto-gruid, for which I did I applied a
similar treatment and pushed as efb756554939e4caa7bb2998b99ab6a95c43a4ec.

Thank you!

Maxim

Subject: [PATCH 2/4] gnu: Add go-github-com-anaseto-gruid-tcell.
From: jgart <[email-masked]>
To: [email-masked]
Cc: Brice Waegeneire <[email-masked]>, Arun Isaac <[email-masked]>, Guix Together <[email-masked]>, Julien Lepiller <[email-masked]>
Date: Mon, 30 Aug 2021 12:40:39 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Guix Together <[email-masked]>

* gnu/packages/games.scm (go-github-com-anaseto-gruid-tcell): New variable.

Co-authored-by: Arun Isaac <[email-masked]>
Co-authored-by: Brice Waegeneire <[email-masked]>
Co-authored-by: jgart <[email-masked]>
Co-authored-by: Julien Lepiller <[email-masked]>
---
 gnu/packages/games.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 07a61f2c0b..262b85edc0 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -131,6 +131,7 @@
   #:use-module (gnu packages gnu-doc)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gnuzilla)
+  #:use-module (gnu packages golang)
   #:use-module (gnu packages gperf)
   #:use-module (gnu packages graphics)
   #:use-module (gnu packages gsasl)
@@ -9373,6 +9374,36 @@ and bring the war to your enemy.")
                    license:expat license:fdl1.3+ license:public-domain
                    license:zlib))))
 
+(define-public go-github-com-anaseto-gruid-tcell
+  (package
+    (name "go-github-com-anaseto-gruid-tcell")
+    (version "0.1.1")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/anaseto/gruid-tcell")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32
+            "09ajr9mbldjfc44qprplbf8dr8yhlbn2nfnas2z62m9wmklc0qiv"))))
+    (build-system go-build-system)
+    (arguments
+      '(#:import-path "github.com/anaseto/gruid-tcell"))
+    (propagated-inputs
+      `(("go-github-com-gdamore-tcell-v2"
+         ,go-github-com-gdamore-tcell-v2)
+        ("go-github-com-anaseto-gruid"
+         ,go-github-com-anaseto-gruid)))
+    (home-page
+      "https://github.com/anaseto/gruid-tcell")
+    (synopsis "Gruid driver using the tcell library")
+    (description
+"The gruid-tcell module provides a gruid driver for building terminal 
+full-window applications.")
+    (license license:isc)))
+
 (define-public harmonist
   (package
     (name "harmonist")
-- 
2.33.0