[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48364] [PATCH 7/7] gnu: Add tz.
From: |
jgart |
Subject: |
[bug#48364] [PATCH 7/7] gnu: Add tz. |
Date: |
Sun, 26 Sep 2021 04:44:47 -0400 |
From: Guix Together <jgart@dismail.de>
* gnu/packages/time.scm (tz): New variable.
Co-authored-by: jgart <jgart@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
- [bug#48364] [PATCH 1/7] gnu: go-golang-org-colorful: Update to 1.2.0., jgart, 2021/09/26
- [bug#48364] [PATCH 7/7] gnu: Add tz.,
jgart <=
- [bug#48364] [PATCH 2/7] gnu: Add go-github-com-charmbracelet-bubbletea., jgart, 2021/09/26
- [bug#48364] [PATCH 5/7] gnu: Add go-github-com-muesli-reflow-truncate., jgart, 2021/09/26
- [bug#48364] [PATCH 3/7] gnu: Add go-github-com-containerd-console., jgart, 2021/09/26
- [bug#48364] [PATCH 4/7] gnu: go-github-com-muesli-reflow-wordwrap: Update to 0.3.0., jgart, 2021/09/26
- [bug#48364] [PATCH 6/7] gnu: go-github-com-muesli-termenv: Update to 0.8.1., jgart, 2021/09/26