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

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Mon, 30 Aug 2021 16:42:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 50276-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: jgart <jgart <at> dismail.de>
Cc: 50276-done <at> debbugs.gnu.org, Arun Isaac <arunisaac <at> systemreboot.net>,
 Brice Waegeneire <brice <at> waegenei.re>, Julien Lepiller <julien <at> lepiller.eu>
Subject: Re: bug#50276: [PATCH 2/4] gnu: Add go-github-com-anaseto-gruid-tcell.
Date: Mon, 30 Aug 2021 15:35:40 -0400
Hi,

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

jgart <jgart <at> dismail.de> writes:

> From: Guix Together <jgart <at> dismail.de>
>
> * gnu/packages/games.scm (go-github-com-anaseto-gruid-tcell): New variable.
>
> Co-authored-by: Arun Isaac <arunisaac <at> systemreboot.net>
> Co-authored-by: Brice Waegeneire <brice <at> waegenei.re>
> Co-authored-by: jgart <jgart <at> dismail.de>
> Co-authored-by: Julien Lepiller <julien <at> lepiller.eu>
> ---
>  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




This bug report was last modified 3 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.