GNU bug report logs -
#48364
[PATCH 5/5] gnu: Add tz.
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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
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.