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.

Full log


View this message in rfc822 format

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: [bug#48364] [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





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

Previous Next


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