# tz.scm -rw-r--r-- 1.1 KiB View raw
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
(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"
       #:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda* (#:key import-path #:allow-other-keys)
             (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 "A 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 expat)))