[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: gnu: Add tz.
From: |
guix-commits |
Subject: |
07/07: gnu: Add tz. |
Date: |
Wed, 12 Jan 2022 16:56:00 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 0052c3b0458fba32920a1cfb48b8311429f0d6b5
Author: Guix Together <jgart@dismail.de>
AuthorDate: Sat Dec 18 15:27:55 2021 -0500
gnu: Add tz.
* gnu/packages/time.scm (tz): New variable.
Co-authored-by: jgart <jgart@dismail.de>
Co-authored-by: Jorge Acereda <jacereda@gmail.com>
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
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 @@ modifies the @code{time}, @code{gettimeofday} and
@code{clock_gettime} system
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")
- branch master updated (0a3e8c5930 -> 0052c3b045), guix-commits, 2022/01/12
- 02/07: gnu: Add go-github-com-charmbracelet-bubbletea., guix-commits, 2022/01/12
- 01/07: gnu: go-golang-org-colorful: Update to 1.2.0., guix-commits, 2022/01/12
- 04/07: gnu: go-github-com-muesli-reflow-wordwrap: Update to 0.3.0., guix-commits, 2022/01/12
- 05/07: gnu: Add go-github-com-muesli-reflow-truncate., guix-commits, 2022/01/12
- 03/07: gnu: Add go-github-com-containerd-console., guix-commits, 2022/01/12
- 06/07: gnu: go-github-com-muesli-termenv: Update to 0.8.1., guix-commits, 2022/01/12
- 07/07: gnu: Add tz.,
guix-commits <=