GNU bug report logs - #48364
[PATCH 5/5] gnu: Add tz.

Previous Next

Package: guix-patches;

Reported by: Stefan Reichör <stefan <at> xsteve.at>

Date: Tue, 11 May 2021 18:57:04 UTC

Severity: normal

Tags: patch

Merged with 48360, 48361, 48362, 48363

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 48364 in the body.
You can then email your comments to 48364 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Tue, 11 May 2021 18:57:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Reichör <stefan <at> xsteve.at>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 11 May 2021 18:57:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Reichör <stefan <at> xsteve.at>
To: guix-patches <at> gnu.org
Cc: Stefan Reichör <stefan <at> xsteve.at>
Subject: [PATCH 5/5] gnu: Add tz.
Date: Tue, 11 May 2021 20:55:54 +0200
* gnu/packages/time.scm (tz): New variable.
---
 gnu/packages/time.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index d6ebb59a1e..fbe7a8b5c1 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -19,6 +19,7 @@
 ;;; Copyright © 2020 Lars-Dominik Braun <ldb <at> leibniz-psychology.org>
 ;;; Copyright © 2020 Tanguy Le Carrour <tanguy <at> bioneland.org>
 ;;; Copyright © 2021 Ryan Prior <rprior <at> protonmail.com>
+;;; Copyright © 2021 Stefan Reichör <stefan <at> xsteve.at>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -540,3 +541,37 @@ calls.")
 from a starting point you provide.  The user can pause and resume the
 countdown from the text user interface.")
     (license expat)))
+
+(define-public tz
+  (package
+    (name "tz")
+    (version "0.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/oz/tz")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1sixfbph5013c9ccx0xqkp9jskg7jr9y29nn9j85q1zmg5by221v"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/oz/tz"))
+    (native-inputs
+     `(("go-github-com-charmbracelet-bubbletea" ,go-github-com-charmbracelet-bubbletea)
+       ("go-github-com-containerd-console" ,go-github-com-containerd-console)
+       ("go-github-com-google-goterm" ,go-github-com-google-goterm)
+       ("go-github-com-mattn-go-isatty" ,go-github-com-mattn-go-isatty)
+       ("go-github.com-mattn-go-runewidth" ,go-github.com-mattn-go-runewidth)
+       ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
+       ("go-github-com-muesli-reflow-truncate" ,go-github-com-muesli-reflow-truncate)
+       ("go-github-com-muesli-termenv" ,go-github-com-muesli-termenv)
+       ("go-golang-org-colorful" ,go-golang-org-colorful)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)))
+    (home-page "https://github.com/oz/tz")
+    (synopsis "Display time across a few selected time zones.")
+    (description
+     "tz is a cli tool that displays a given time in several time zones.  Use
+the environment variable TZ_LIST to specify a list of time zones.")
+    (license gpl3)))
-- 
2.25.1





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Wed, 12 May 2021 16:22:01 GMT) Full text and rfc822 format available.

Message #8 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Stefan Reichör <stefan <at> xsteve.at>
Cc: 48364 <at> debbugs.gnu.org
Subject: Re: [bug#48364] [PATCH 5/5] gnu: Add tz.
Date: Tue, 11 May 2021 15:13:07 -0400
On Tue, May 11, 2021 at 08:55:54PM +0200, Stefan Reichör wrote:
> * gnu/packages/time.scm (tz): New variable.

> +    (synopsis "Display time across a few selected time zones.")
> +    (description
> +     "tz is a cli tool that displays a given time in several time zones.  Use
> +the environment variable TZ_LIST to specify a list of time zones.")

I'm curious, how does it find the time zone database?

It should look them up at runtime via something like a TZDIR environment
variable. It should not include a copy of the database, or else it will
become "stale" before too long.




Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Thu, 13 May 2021 19:00:02 GMT) Full text and rfc822 format available.

Message #11 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Reichör <stefan <at> xsteve.at>
To: 48364 <at> debbugs.gnu.org
Subject: [PATCH 5/5] gnu: Add tz.
Date: Thu, 13 May 2021 20:59:07 +0200
Another attempt to answer the question from Leo Famulari

I didn't get the question from the bugtracker by email:

,----
| I'm curious, how does it find the time zone database?
| 
| It should look them up at runtime via something like a TZDIR environment
| variable. It should not include a copy of the database, or else it will
| become "stale" before too long.
`----

Yesterday I tried to answer it directly in the web interface. My answer
didn't show up :-(

Now I try to answer per email


The timezone is determined by the go runtime function LoadLocation:

https://github.com/oz/tz/blob/main/zone.go#L77


LoadLocation does the lookup in the installed timezone database:

https://golang.org/pkg/time/#LoadLocation




Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Fri, 14 May 2021 01:29:01 GMT) Full text and rfc822 format available.

Message #14 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Stefan Reichör <stefan <at> xsteve.at>
Cc: 48364 <at> debbugs.gnu.org
Subject: Re: [bug#48364] [PATCH 5/5] gnu: Add tz.
Date: Thu, 13 May 2021 21:28:21 -0400
On Thu, May 13, 2021 at 08:59:07PM +0200, Stefan Reichör wrote:
> LoadLocation does the lookup in the installed timezone database:
> 
> https://golang.org/pkg/time/#LoadLocation

Oh, I see. This must be why Go itself depends on (and keeps a run-time
reference to) tzdata.

We'll want to fix that someday, but that's a separate concern from these
packages.




Merged 48360 48361 48362 48363 48364 48369. Request was from Sarah Morgensen <iskarian <at> mgsn.dev> to control <at> debbugs.gnu.org. (Sat, 07 Aug 2021 06:09:02 GMT) Full text and rfc822 format available.

Disconnected #48369 from all other report(s). Request was from Sarah Morgensen <iskarian <at> mgsn.dev> to control <at> debbugs.gnu.org. (Sat, 07 Aug 2021 06:45:01 GMT) Full text and rfc822 format available.

Merged 48360 48361 48362 48363 48364. Request was from Sarah Morgensen <iskarian <at> mgsn.dev> to control <at> debbugs.gnu.org. (Sat, 07 Aug 2021 06:55:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sun, 26 Sep 2021 08:46:02 GMT) Full text and rfc822 format available.

Message #23 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH 1/7] gnu: go-golang-org-colorful: Update to 1.2.0.
Date: Sun, 26 Sep 2021 04:44:41 -0400
From: Guix Together <jgart <at> dismail.de>

* gnu/packages/golang.scm (go-golang-org-colorful): Update to 1.2.0.

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
---
 gnu/packages/golang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a96f743f68..a5ce91bb56 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5451,7 +5451,7 @@ golang's database/sql package.")
 (define-public go-golang-org-colorful
   (package
     (name "go-golang-org-colorful")
-    (version "1.0.2")
+    (version "1.2.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -5460,7 +5460,7 @@ golang's database/sql package.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
+                "08c3fkf27r16izjjd4w94xd1z7w1r4mdalbl53ms2ka2j465s3qs"))))
     (build-system go-build-system)
     (arguments
      '(#:import-path "github.com/lucasb-eyer/go-colorful"))
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sun, 26 Sep 2021 08:46:02 GMT) Full text and rfc822 format available.

Message #26 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH 2/7] gnu: Add go-github-com-charmbracelet-bubbletea.
Date: Sun, 26 Sep 2021 04:44:42 -0400
From: Guix Together <jgart <at> dismail.de>

* gnu/packages/golang.scm (go-github-com-charmbracelet-bubbletea): New variable.

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
---
 gnu/packages/golang.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index a5ce91bb56..0ab20238e8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3309,6 +3309,44 @@ middleware for Go web applications and services.")
     (description "Safe and easy casting from one type to another in Go")
     (license license:expat)))
 
+(define-public go-github-com-charmbracelet-bubbletea
+  (package
+    (name "go-github-com-charmbracelet-bubbletea")
+    (version "0.13.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/charmbracelet/bubbletea")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1105cggi5fwqx69m0vrhgwx6kaw82w4ahn58sj0a81603c4yvrk0"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/charmbracelet/bubbletea"))
+    (propagated-inputs
+     `(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
+       ("github.com/muesli/termenv" ,go-github-com-muesli-termenv)
+       ("github.com/mattn/go-runewidth" ,go-github.com-mattn-go-runewidth)
+       ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
+       ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
+       ("go-golang-org-colorful" ,go-golang-org-colorful)
+       ("github.com/containerd/console" ,go-github-com-containerd-console)
+       ("go-github-com-muesli-reflow-truncate" ,go-github-com-muesli-reflow-truncate)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+       ("go-golang-org-x-term" ,go-golang-org-x-term)
+       ("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)))
+    (home-page "https://github.com/charmbracelet/bubbletea")
+    (synopsis "A powerful little TUI framework")
+    (description 
+"A Go framework based on The Elm Architecture. Bubble Tea is well-suited
+for simple and complex terminal applications, either inline, full-window,
+or a mix of both.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-spf13-cobra
   (package
     (name "go-github-com-spf13-cobra")
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sun, 26 Sep 2021 08:46:03 GMT) Full text and rfc822 format available.

Message #29 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH 3/7] gnu: Add go-github-com-containerd-console.
Date: Sun, 26 Sep 2021 04:44:43 -0400
From: Guix Together <jgart <at> dismail.de>

* gnu/packages/golang.scm (go-github-com-containerd-console): New variable.

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0ab20238e8..e4bacfc92a 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -3347,6 +3347,31 @@ for simple and complex terminal applications, either inline, full-window,
 or a mix of both.")
     (license license:asl2.0)))
 
+(define-public go-github-com-containerd-console
+  (package
+    (name "go-github-com-containerd-console")
+    (version "1.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/containerd/console")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0pgx0y8x23jwc2f9jfk5hd5aslqk599nj6c7dj5846xvnkz2x7p2"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/containerd/console"))
+    (propagated-inputs
+     `(("golang.org/x/sys" ,go-golang-org-x-sys)))
+    (home-page "https://github.com/containerd/console")
+    (synopsis "Console package for Go")
+    (description 
+"Golang package for dealing with consoles. Light on deps and a simple API.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-spf13-cobra
   (package
     (name "go-github-com-spf13-cobra")
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sun, 26 Sep 2021 08:46:03 GMT) Full text and rfc822 format available.

Message #32 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH 4/7] gnu: go-github-com-muesli-reflow-wordwrap: Update to
 0.3.0.
Date: Sun, 26 Sep 2021 04:44:44 -0400
From: Guix Together <jgart <at> dismail.de>

* gnu/packages/golang.scm (go-github-com-muesli-reflow-wordwrap): Update to 0.3.0.

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
---
 gnu/packages/golang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index e4bacfc92a..25bf8c6972 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7204,7 +7204,7 @@ transforms one JSON document into another through a JMESPath expression.")
 (define-public go-github-com-muesli-reflow-wordwrap
   (package
     (name "go-github-com-muesli-reflow-wordwrap")
-    (version "0.1.0")
+    (version "0.3.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -7213,7 +7213,7 @@ transforms one JSON document into another through a JMESPath expression.")
               (file-name (git-file-name "go-github-com-muesli-reflow" version))
               (sha256
                (base32
-                "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
+                "09zcz2cqdwgj1ilya5pqwndryk6lansn87x63fcm8j1xn74vd2ry"))))
     (build-system go-build-system)
     (arguments
      `(#:import-path "github.com/muesli/reflow/wordwrap"
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sun, 26 Sep 2021 08:46:04 GMT) Full text and rfc822 format available.

Message #35 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH 5/7] gnu: Add go-github-com-muesli-reflow-truncate.
Date: Sun, 26 Sep 2021 04:44:45 -0400
From: Guix Together <jgart <at> dismail.de>

* gnu/packages/golang.scm (go-github-com-muesli-reflow-truncate): New variable.

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
---
 gnu/packages/golang.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 25bf8c6972..3e89a27b6d 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7226,6 +7226,14 @@ transforms one JSON document into another through a JMESPath expression.")
 io.Writers helping you to transform blocks of text.")
     (license license:expat)))
 
+(define-public go-github-com-muesli-reflow-truncate
+  (package
+    (inherit go-github-com-muesli-reflow-wordwrap)
+    (name "go-github-com-muesli-reflow-truncate")
+    (arguments
+     `(#:import-path "github.com/muesli/reflow/truncate"
+       #:unpack-path "github.com/muesli/reflow"))))
+
 (define-public go-github-com-muesli-reflow-ansi
   (package
     (inherit go-github-com-muesli-reflow-wordwrap)
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sun, 26 Sep 2021 08:46:04 GMT) Full text and rfc822 format available.

Message #38 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH 6/7] gnu: go-github-com-muesli-termenv: Update to 0.8.1.
Date: Sun, 26 Sep 2021 04:44:46 -0400
From: Guix Together <jgart <at> dismail.de>

* gnu/packages/golang.scm (go-github-com-muesli-termenv): Update to 0.8.1.

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
---
 gnu/packages/golang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 3e89a27b6d..83791f4de2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7261,7 +7261,7 @@ io.Writers helping you to transform blocks of text.")
 (define-public go-github-com-muesli-termenv
   (package
     (name "go-github-com-muesli-termenv")
-    (version "0.7.0")
+    (version "0.8.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -7270,7 +7270,7 @@ io.Writers helping you to transform blocks of text.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
+                "0m24ljq1nq7z933fcvg99fw0fhxj9rb5ll4rlay7z2f2p59mrbdp"))))
     (build-system go-build-system)
     (arguments
      `(#:import-path "github.com/muesli/termenv"))
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sun, 26 Sep 2021 08:46:04 GMT) Full text and rfc822 format available.

Message #41 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Guix Together <jgart <at> dismail.de>
Subject: [PATCH 7/7] gnu: Add tz.
Date: Sun, 26 Sep 2021 04:44:47 -0400
From: Guix Together <jgart <at> dismail.de>

* gnu/packages/time.scm (tz): New variable.

Co-authored-by: jgart <jgart <at> dismail.de>
---
 gnu/packages/time.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index df4b8ac6f5..407b3fe179 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -512,6 +512,39 @@ modifies the @code{time}, @code{gettimeofday} and @code{clock_gettime} system
 calls.")
     (license gpl2)))
 
+(define-public tz
+  (package
+    (name "tz")
+    (version "0.5")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/oz/tz")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1sixfbph5013c9ccx0xqkp9jskg7jr9y29nn9j85q1zmg5by221v"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:go ,go-1.17
+       #:import-path "github.com/oz/tz"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key import-path tests? #:allow-other-keys)
+             (when tests?
+               (invoke "go" "test" "-cover" import-path)))))))
+    (inputs
+     `(("github.com/charmbracelet/bubbletea" ,go-github-com-charmbracelet-bubbletea)
+       ("github.com/muesli/termenv" ,go-github-com-muesli-termenv)))
+    (home-page "https://github.com/oz/tz")
+    (synopsis "TUI time zone helper")
+    (description
+"@command{tz} helps you schedule things across time zones.  It is an interactive
+TUI program that displays time across a few time zones of your choosing.")
+    (license gpl3+)))
+
 (define-public countdown
   (package
     (name "countdown")
-- 
2.33.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sun, 26 Sep 2021 08:54:02 GMT) Full text and rfc822 format available.

Message #44 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Gábor Boskovits <boskovits <at> gmail.com>
Subject: From today's Guix Meetup
Date: Sun, 26 Sep 2021 04:53:45 -0400
Hi,

I didn't realize that Stefan attempted this package already.

Well, here is another attempt from today's Guix Packaging Meetup.

Gábor and I hacked away on tz and it's dependencies a bit.

I tested and built tz with --check --rounds=3 and `guix environment --ad-hoc tz -- tz`

This is a very cool TUI! I use it daily but have had to install it with nix or
build it with golang, depending on what machine I'm on.

Now we can have it in guix.

all best,

jgart

3B1D 7F19 E36B B60C 0F5B 2CA9 A52A A2B4 77B6 DD35




Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sun, 26 Sep 2021 09:13:01 GMT) Full text and rfc822 format available.

Message #47 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Gábor Boskovits <boskovits <at> gmail.com>
Subject: Re: From today's Guix Meetup
Date: Sun, 26 Sep 2021 05:12:46 -0400
On Sun, 26 Sep 2021 04:53:45 -0400 jgart <jgart <at> dismail.de> wrote:

I want to give a special shoutout to iskarian‎ ‎and vagrantc‎ for helping me debug
tz over irc.

I was running into some issues with tz not being deterministic at first:

https://paste.sr.ht/~jgart/99583c33249dc7acd35763f9023efc1ec9f8fcd8




Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sun, 07 Nov 2021 07:48:02 GMT) Full text and rfc822 format available.

Message #50 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Date: Sun, 7 Nov 2021 02:47:04 -0500
0.6.1 is out as of 24 days ago.

https://github.com/oz/tz/releases/tag/v0.6.1






Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sat, 18 Dec 2021 20:30:03 GMT) Full text and rfc822 format available.

Message #53 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Jorge Acereda <jacereda <at> gmail.com>,
 Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH 1/7] * gnu/packages/golang.scm (go-golang-org-colorful):
 Update to 1.2.0.
Date: Sat, 18 Dec 2021 15:27:42 -0500
From: Guix Together <jgart <at> dismail.de>

Hi Guixers,

Here's the update for 0.6.1.

We worked on this today as part of the Guix Packaging Meetup.

all best,

jgart

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
---
 gnu/packages/golang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c863388475..1ece1a90d8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5422,7 +5422,7 @@ (define-public go-github-com-go-sql-driver-mysql
 (define-public go-golang-org-colorful
   (package
     (name "go-golang-org-colorful")
-    (version "1.0.2")
+    (version "1.2.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -5431,7 +5431,7 @@ (define-public go-golang-org-colorful
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
+                "08c3fkf27r16izjjd4w94xd1z7w1r4mdalbl53ms2ka2j465s3qs"))))
     (build-system go-build-system)
     (arguments
      '(#:import-path "github.com/lucasb-eyer/go-colorful"))
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sat, 18 Dec 2021 20:30:03 GMT) Full text and rfc822 format available.

Message #56 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Jorge Acereda <jacereda <at> gmail.com>,
 Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH 2/7] * gnu/packages/golang.scm
 (go-github-com-charmbracelet-bubbletea): New variable.
Date: Sat, 18 Dec 2021 15:27:43 -0500
From: Guix Together <jgart <at> dismail.de>

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
---
 gnu/packages/golang.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1ece1a90d8..1e11d0053e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8797,6 +8797,45 @@ (define-public go-github-com-mattn-go-runewidth
 string.")
     (license license:expat)))
 
+
+(define-public go-github-com-charmbracelet-bubbletea
+  (package
+    (name "go-github-com-charmbracelet-bubbletea")
+    (version "0.13.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/charmbracelet/bubbletea")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1105cggi5fwqx69m0vrhgwx6kaw82w4ahn58sj0a81603c4yvrk0"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/charmbracelet/bubbletea"))
+    (propagated-inputs
+     `(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
+       ("github.com/muesli/termenv" ,go-github-com-muesli-termenv)
+       ("github.com/mattn/go-runewidth" ,go-github.com-mattn-go-runewidth)
+       ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
+       ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
+       ("go-golang-org-colorful" ,go-golang-org-colorful)
+       ("github.com/containerd/console" ,go-github-com-containerd-console)
+       ("go-github-com-muesli-reflow-truncate" ,go-github-com-muesli-reflow-truncate)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+       ("go-golang-org-x-term" ,go-golang-org-x-term)
+       ("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)))
+    (home-page "https://github.com/charmbracelet/bubbletea")
+    (synopsis "A powerful little TUI framework")
+    (description 
+"A Go framework based on The Elm Architecture. Bubble Tea is well-suited
+for simple and complex terminal applications, either inline, full-window,
+or a mix of both.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-arceliar-ironwood
   (package
     (name "go-github-com-arceliar-ironwood")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sat, 18 Dec 2021 20:30:04 GMT) Full text and rfc822 format available.

Message #59 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Jorge Acereda <jacereda <at> gmail.com>,
 Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH 3/7] * gnu/packages/golang.scm
 (go-github-com-containerd-console): New variable.
Date: Sat, 18 Dec 2021 15:27:44 -0500
From: Guix Together <jgart <at> dismail.de>

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1e11d0053e..9b99c1bd9b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8836,6 +8836,31 @@ (define-public go-github-com-charmbracelet-bubbletea
 or a mix of both.")
     (license license:asl2.0)))
 
+(define-public go-github-com-containerd-console
+  (package
+    (name "go-github-com-containerd-console")
+    (version "1.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/containerd/console")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0pgx0y8x23jwc2f9jfk5hd5aslqk599nj6c7dj5846xvnkz2x7p2"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/containerd/console"))
+    (propagated-inputs
+     `(("golang.org/x/sys" ,go-golang-org-x-sys)))
+    (home-page "https://github.com/containerd/console")
+    (synopsis "Console package for Go")
+    (description 
+"Golang package for dealing with consoles. Light on deps and a simple API.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-arceliar-ironwood
   (package
     (name "go-github-com-arceliar-ironwood")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sat, 18 Dec 2021 20:30:05 GMT) Full text and rfc822 format available.

Message #62 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Jorge Acereda <jacereda <at> gmail.com>,
 Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH 4/7] * gnu/packages/golang.scm
 (go-github-com-muesli-reflow-wordwrap): Update to 0.3.0.
Date: Sat, 18 Dec 2021 15:27:45 -0500
From: Guix Together <jgart <at> dismail.de>

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
---
 gnu/packages/golang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9b99c1bd9b..9124909ca9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7083,7 +7083,7 @@ (define-public go-github-com-microcosm-cc-bluemonday
 (define-public go-github-com-muesli-reflow-wordwrap
   (package
     (name "go-github-com-muesli-reflow-wordwrap")
-    (version "0.1.0")
+    (version "0.3.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -7092,7 +7092,7 @@ (define-public go-github-com-muesli-reflow-wordwrap
               (file-name (git-file-name "go-github-com-muesli-reflow" version))
               (sha256
                (base32
-                "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
+                "09zcz2cqdwgj1ilya5pqwndryk6lansn87x63fcm8j1xn74vd2ry"))))
     (build-system go-build-system)
     (arguments
      `(#:import-path "github.com/muesli/reflow/wordwrap"
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sat, 18 Dec 2021 20:30:05 GMT) Full text and rfc822 format available.

Message #65 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Jorge Acereda <jacereda <at> gmail.com>,
 Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH 5/7] * gnu/packages/golang.scm
 (go-github-com-muesli-reflow-truncate): New variable.
Date: Sat, 18 Dec 2021 15:27:46 -0500
From: Guix Together <jgart <at> dismail.de>

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
---
 gnu/packages/golang.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9124909ca9..0bfd3e9753 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7129,6 +7129,14 @@ (define-public go-github-com-muesli-reflow-padding
      `(#:import-path "github.com/muesli/reflow/padding"
        #:unpack-path "github.com/muesli/reflow"))))
 
+(define-public go-github-com-muesli-reflow-truncate
+  (package
+    (inherit go-github-com-muesli-reflow-wordwrap)
+    (name "go-github-com-muesli-reflow-truncate")
+    (arguments
+     `(#:import-path "github.com/muesli/reflow/truncate"
+       #:unpack-path "github.com/muesli/reflow"))))
+
 (define-public go-github-com-muesli-termenv
   (package
     (name "go-github-com-muesli-termenv")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sat, 18 Dec 2021 20:30:06 GMT) Full text and rfc822 format available.

Message #68 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Jorge Acereda <jacereda <at> gmail.com>,
 Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH 6/7] * gnu/packages/golang.scm (go-github-com-muesli-termenv):
 Update to 0.8.1.
Date: Sat, 18 Dec 2021 15:27:47 -0500
From: Guix Together <jgart <at> dismail.de>

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
---
 gnu/packages/golang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0bfd3e9753..a98dcb85c2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7140,7 +7140,7 @@ (define-public go-github-com-muesli-reflow-truncate
 (define-public go-github-com-muesli-termenv
   (package
     (name "go-github-com-muesli-termenv")
-    (version "0.7.0")
+    (version "0.8.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -7149,7 +7149,7 @@ (define-public go-github-com-muesli-termenv
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
+                "0m24ljq1nq7z933fcvg99fw0fhxj9rb5ll4rlay7z2f2p59mrbdp"))))
     (build-system go-build-system)
     (arguments
      `(#:import-path "github.com/muesli/termenv"))
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sat, 18 Dec 2021 20:30:07 GMT) Full text and rfc822 format available.

Message #71 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Jorge Acereda <jacereda <at> gmail.com>, Guix Together <jgart <at> dismail.de>
Subject: [PATCH 7/7] * gnu/packages/time.scm (tz): New variable.
Date: Sat, 18 Dec 2021 15:27:48 -0500
From: Guix Together <jgart <at> dismail.de>

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
---
 gnu/packages/time.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 97de5485ef..d4ff11228c 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -514,6 +514,39 @@ (define-public datefudge
 calls.")
     (license gpl2)))
 
+(define-public tz
+  (package
+    (name "tz")
+    (version "0.6.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/oz/tz")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1nbl13xd95np89sbx8fn0jqrh1iy17hsy70kq31hmcvyns8dljhg"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:go ,go-1.17
+       #:import-path "github.com/oz/tz"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key import-path tests? #:allow-other-keys)
+             (when tests?
+               (invoke "go" "test" "-cover" import-path)))))))
+    (inputs
+     `(("github.com/charmbracelet/bubbletea" ,go-github-com-charmbracelet-bubbletea)
+       ("github.com/muesli/termenv" ,go-github-com-muesli-termenv)))
+    (home-page "https://github.com/oz/tz")
+    (synopsis "TUI time zone helper")
+    (description
+"@command{tz} helps you schedule things across time zones.  It is an interactive
+TUI program that displays time across a few time zones of your choosing.")
+    (license gpl3+)))
+
 (define-public countdown
   (package
     (name "countdown")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sat, 18 Dec 2021 20:30:07 GMT) Full text and rfc822 format available.

Message #74 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Jorge Acereda <jacereda <at> gmail.com>,
 Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH v2 1/7] * gnu/packages/golang.scm (go-golang-org-colorful):
 Update to 1.2.0.
Date: Sat, 18 Dec 2021 15:27:49 -0500
From: Guix Together <jgart <at> dismail.de>

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
---
 gnu/packages/golang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index c863388475..1ece1a90d8 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -5422,7 +5422,7 @@ (define-public go-github-com-go-sql-driver-mysql
 (define-public go-golang-org-colorful
   (package
     (name "go-golang-org-colorful")
-    (version "1.0.2")
+    (version "1.2.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -5431,7 +5431,7 @@ (define-public go-golang-org-colorful
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2"))))
+                "08c3fkf27r16izjjd4w94xd1z7w1r4mdalbl53ms2ka2j465s3qs"))))
     (build-system go-build-system)
     (arguments
      '(#:import-path "github.com/lucasb-eyer/go-colorful"))
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sat, 18 Dec 2021 20:30:07 GMT) Full text and rfc822 format available.

Message #77 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Jorge Acereda <jacereda <at> gmail.com>,
 Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH v2 2/7] * gnu/packages/golang.scm
 (go-github-com-charmbracelet-bubbletea): New variable.
Date: Sat, 18 Dec 2021 15:27:50 -0500
From: Guix Together <jgart <at> dismail.de>

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
---
 gnu/packages/golang.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1ece1a90d8..1e11d0053e 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8797,6 +8797,45 @@ (define-public go-github-com-mattn-go-runewidth
 string.")
     (license license:expat)))
 
+
+(define-public go-github-com-charmbracelet-bubbletea
+  (package
+    (name "go-github-com-charmbracelet-bubbletea")
+    (version "0.13.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/charmbracelet/bubbletea")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "1105cggi5fwqx69m0vrhgwx6kaw82w4ahn58sj0a81603c4yvrk0"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/charmbracelet/bubbletea"))
+    (propagated-inputs
+     `(("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)
+       ("github.com/muesli/termenv" ,go-github-com-muesli-termenv)
+       ("github.com/mattn/go-runewidth" ,go-github.com-mattn-go-runewidth)
+       ("go-github-com-muesli-reflow-indent" ,go-github-com-muesli-reflow-indent)
+       ("go-github-com-muesli-reflow-ansi" ,go-github-com-muesli-reflow-ansi)
+       ("go-golang-org-colorful" ,go-golang-org-colorful)
+       ("github.com/containerd/console" ,go-github-com-containerd-console)
+       ("go-github-com-muesli-reflow-truncate" ,go-github-com-muesli-reflow-truncate)
+       ("go-golang-org-x-crypto" ,go-golang-org-x-crypto)
+       ("go-golang-org-x-sys" ,go-golang-org-x-sys)
+       ("go-golang-org-x-term" ,go-golang-org-x-term)
+       ("github.com/mattn/go-isatty" ,go-github-com-mattn-go-isatty)))
+    (home-page "https://github.com/charmbracelet/bubbletea")
+    (synopsis "A powerful little TUI framework")
+    (description 
+"A Go framework based on The Elm Architecture. Bubble Tea is well-suited
+for simple and complex terminal applications, either inline, full-window,
+or a mix of both.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-arceliar-ironwood
   (package
     (name "go-github-com-arceliar-ironwood")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sat, 18 Dec 2021 20:30:08 GMT) Full text and rfc822 format available.

Message #80 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Jorge Acereda <jacereda <at> gmail.com>,
 Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH v2 4/7] * gnu/packages/golang.scm
 (go-github-com-muesli-reflow-wordwrap): Update to 0.3.0.
Date: Sat, 18 Dec 2021 15:27:52 -0500
From: Guix Together <jgart <at> dismail.de>

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
---
 gnu/packages/golang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9b99c1bd9b..9124909ca9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7083,7 +7083,7 @@ (define-public go-github-com-microcosm-cc-bluemonday
 (define-public go-github-com-muesli-reflow-wordwrap
   (package
     (name "go-github-com-muesli-reflow-wordwrap")
-    (version "0.1.0")
+    (version "0.3.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -7092,7 +7092,7 @@ (define-public go-github-com-muesli-reflow-wordwrap
               (file-name (git-file-name "go-github-com-muesli-reflow" version))
               (sha256
                (base32
-                "1vhynm2n1az13fn03lp0gi28p9mznq1mblglh8f2rb9y1vkd2dqr"))))
+                "09zcz2cqdwgj1ilya5pqwndryk6lansn87x63fcm8j1xn74vd2ry"))))
     (build-system go-build-system)
     (arguments
      `(#:import-path "github.com/muesli/reflow/wordwrap"
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sat, 18 Dec 2021 20:30:08 GMT) Full text and rfc822 format available.

Message #83 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Jorge Acereda <jacereda <at> gmail.com>,
 Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH v2 5/7] * gnu/packages/golang.scm
 (go-github-com-muesli-reflow-truncate): New variable.
Date: Sat, 18 Dec 2021 15:27:53 -0500
From: Guix Together <jgart <at> dismail.de>

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
---
 gnu/packages/golang.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 9124909ca9..0bfd3e9753 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7129,6 +7129,14 @@ (define-public go-github-com-muesli-reflow-padding
      `(#:import-path "github.com/muesli/reflow/padding"
        #:unpack-path "github.com/muesli/reflow"))))
 
+(define-public go-github-com-muesli-reflow-truncate
+  (package
+    (inherit go-github-com-muesli-reflow-wordwrap)
+    (name "go-github-com-muesli-reflow-truncate")
+    (arguments
+     `(#:import-path "github.com/muesli/reflow/truncate"
+       #:unpack-path "github.com/muesli/reflow"))))
+
 (define-public go-github-com-muesli-termenv
   (package
     (name "go-github-com-muesli-termenv")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sat, 18 Dec 2021 20:30:09 GMT) Full text and rfc822 format available.

Message #86 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Jorge Acereda <jacereda <at> gmail.com>,
 Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH v2 3/7] * gnu/packages/golang.scm
 (go-github-com-containerd-console): New variable.
Date: Sat, 18 Dec 2021 15:27:51 -0500
From: Guix Together <jgart <at> dismail.de>

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 1e11d0053e..9b99c1bd9b 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -8836,6 +8836,31 @@ (define-public go-github-com-charmbracelet-bubbletea
 or a mix of both.")
     (license license:asl2.0)))
 
+(define-public go-github-com-containerd-console
+  (package
+    (name "go-github-com-containerd-console")
+    (version "1.0.3")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/containerd/console")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0pgx0y8x23jwc2f9jfk5hd5aslqk599nj6c7dj5846xvnkz2x7p2"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:import-path "github.com/containerd/console"))
+    (propagated-inputs
+     `(("golang.org/x/sys" ,go-golang-org-x-sys)))
+    (home-page "https://github.com/containerd/console")
+    (synopsis "Console package for Go")
+    (description 
+"Golang package for dealing with consoles. Light on deps and a simple API.")
+    (license license:asl2.0)))
+
 (define-public go-github-com-arceliar-ironwood
   (package
     (name "go-github-com-arceliar-ironwood")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sat, 18 Dec 2021 20:37:01 GMT) Full text and rfc822 format available.

Message #89 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Jorge Acereda <jacereda <at> gmail.com>,
 Gábor Boskovits <boskovits <at> gmail.com>,
 Guix Together <jgart <at> dismail.de>
Subject: [PATCH v2 6/7] * gnu/packages/golang.scm
 (go-github-com-muesli-termenv): Update to 0.8.1.
Date: Sat, 18 Dec 2021 15:27:54 -0500
From: Guix Together <jgart <at> dismail.de>

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
---
 gnu/packages/golang.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 0bfd3e9753..a98dcb85c2 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -7140,7 +7140,7 @@ (define-public go-github-com-muesli-reflow-truncate
 (define-public go-github-com-muesli-termenv
   (package
     (name "go-github-com-muesli-termenv")
-    (version "0.7.0")
+    (version "0.8.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -7149,7 +7149,7 @@ (define-public go-github-com-muesli-termenv
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "09fwrdhy7c9qlf70h97f5inh6xvkfq1vi8fwx9q7bwmjjbiykk8m"))))
+                "0m24ljq1nq7z933fcvg99fw0fhxj9rb5ll4rlay7z2f2p59mrbdp"))))
     (build-system go-build-system)
     (arguments
      `(#:import-path "github.com/muesli/termenv"))
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Sat, 18 Dec 2021 20:37:01 GMT) Full text and rfc822 format available.

Message #92 received at 48364 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 48364 <at> debbugs.gnu.org
Cc: Jorge Acereda <jacereda <at> gmail.com>, Guix Together <jgart <at> dismail.de>
Subject: [PATCH v2 7/7] * gnu/packages/time.scm (tz): New variable.
Date: Sat, 18 Dec 2021 15:27:55 -0500
From: Guix Together <jgart <at> dismail.de>

Co-authored-by: jgart <jgart <at> dismail.de>
Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
---
 gnu/packages/time.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 97de5485ef..d4ff11228c 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -514,6 +514,39 @@ (define-public datefudge
 calls.")
     (license gpl2)))
 
+(define-public tz
+  (package
+    (name "tz")
+    (version "0.6.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/oz/tz")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1nbl13xd95np89sbx8fn0jqrh1iy17hsy70kq31hmcvyns8dljhg"))))
+    (build-system go-build-system)
+    (arguments
+     `(#:go ,go-1.17
+       #:import-path "github.com/oz/tz"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key import-path tests? #:allow-other-keys)
+             (when tests?
+               (invoke "go" "test" "-cover" import-path)))))))
+    (inputs
+     `(("github.com/charmbracelet/bubbletea" ,go-github-com-charmbracelet-bubbletea)
+       ("github.com/muesli/termenv" ,go-github-com-muesli-termenv)))
+    (home-page "https://github.com/oz/tz")
+    (synopsis "TUI time zone helper")
+    (description
+"@command{tz} helps you schedule things across time zones.  It is an interactive
+TUI program that displays time across a few time zones of your choosing.")
+    (license gpl3+)))
+
 (define-public countdown
   (package
     (name "countdown")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Wed, 12 Jan 2022 21:58:02 GMT) Full text and rfc822 format available.

Message #95 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: jgart via Guix-patches via <guix-patches <at> gnu.org>
Cc: Jorge Acereda <jacereda <at> gmail.com>, 48364-done <at> debbugs.gnu.org,
 jgart <jgart <at> dismail.de>,
 Gábor Boskovits <boskovits <at> gmail.com>
Subject: Re: [bug#48364] [PATCH v2 1/7] * gnu/packages/golang.scm
 (go-golang-org-colorful): Update to 1.2.0.
Date: Wed, 12 Jan 2022 22:57:41 +0100
Hello,

jgart via Guix-patches via <guix-patches <at> gnu.org> writes:

> From: Guix Together <jgart <at> dismail.de>
>
> Co-authored-by: jgart <jgart <at> dismail.de>
> Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
> Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>

I normalized the commit messages and improved descriptions of new
packages, then applied the patch set.

Regards,
-- 
Nicolas Goaziou




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Wed, 12 Jan 2022 21:58:02 GMT) Full text and rfc822 format available.

Notification sent to Stefan Reichör <stefan <at> xsteve.at>:
bug acknowledged by developer. (Wed, 12 Jan 2022 21:58:02 GMT) Full text and rfc822 format available.

Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Wed, 12 Jan 2022 21:58:02 GMT) Full text and rfc822 format available.

Notification sent to Stefan Reichör <stefan <at> xsteve.at>:
bug acknowledged by developer. (Wed, 12 Jan 2022 21:58:02 GMT) Full text and rfc822 format available.

Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Wed, 12 Jan 2022 21:58:03 GMT) Full text and rfc822 format available.

Notification sent to Stefan Reichör <stefan <at> xsteve.at>:
bug acknowledged by developer. (Wed, 12 Jan 2022 21:58:03 GMT) Full text and rfc822 format available.

Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Wed, 12 Jan 2022 21:58:03 GMT) Full text and rfc822 format available.

Notification sent to Stefan Reichör <stefan <at> xsteve.at>:
bug acknowledged by developer. (Wed, 12 Jan 2022 21:58:03 GMT) Full text and rfc822 format available.

Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Wed, 12 Jan 2022 21:58:03 GMT) Full text and rfc822 format available.

Notification sent to Stefan Reichör <stefan <at> xsteve.at>:
bug acknowledged by developer. (Wed, 12 Jan 2022 21:58:03 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Thu, 13 Jan 2022 02:20:02 GMT) Full text and rfc822 format available.

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

From: jgart <jgart <at> dismail.de>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: 48364-done <at> debbugs.gnu.org, Jorge Acereda <jacereda <at> gmail.com>,
 Gábor Boskovits <boskovits <at> gmail.com>,
 jgart via Guix-patches via <guix-patches <at> gnu.org>
Subject: Re: [bug#48364] [PATCH v2 1/7] * gnu/packages/golang.scm
 (go-golang-org-colorful): Update to 1.2.0.
Date: Wed, 12 Jan 2022 21:19:44 -0500
On Wed, 12 Jan 2022 22:57:41 +0100 Nicolas Goaziou <mail <at> nicolasgoaziou.fr> wrote:
> Hello,
> 
> jgart via Guix-patches via <guix-patches <at> gnu.org> writes:
> 
> > From: Guix Together <jgart <at> dismail.de>
> >
> > Co-authored-by: jgart <jgart <at> dismail.de>
> > Co-authored-by: Jorge Acereda <jacereda <at> gmail.com>
> > Co-authored-by: Gábor Boskovits <boskovits <at> gmail.com>
> 
> I normalized the commit messages and improved descriptions of new
> packages, then applied the patch set.

Thanks Nicolas! Much appreciated

I closed the issue on our end we had open for it:

https://todo.sr.ht/~whereiseveryone/guixrus/5

all best,

jgart

https://whereiseveryone.srht.site/
gemini://whereiseveryone.srht.site/




Information forwarded to guix-patches <at> gnu.org:
bug#48364; Package guix-patches. (Thu, 13 Jan 2022 02:22:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 10 Feb 2022 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 75 days ago.

Previous Next


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