guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

30/33: gnu: tz: Refresh package style.


From: guix-commits
Subject: 30/33: gnu: tz: Refresh package style.
Date: Sat, 6 Apr 2024 08:27:48 -0400 (EDT)

sharlatan pushed a commit to branch master
in repository guix.

commit 702d01a5960464f32b1f8b185322ec5a4903464d
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sat Apr 6 11:31:23 2024 +0100

    gnu: tz: Refresh package style.
    
    * gnu/packages/time.scm (tz): [arguments]: Swap to list
    style. <#:phases>: Swap to default 'check phase. Set <#:install-source?>
    to #t.
    [inputs]: Remove labels.
    [description]: Fix indentation.
    
    Change-Id: Id375585c926535015f5c4b8b9964fa455de7ca41
---
 gnu/packages/time.scm | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm
index 101776fa56..b74d1bc092 100644
--- a/gnu/packages/time.scm
+++ b/gnu/packages/time.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2022 Pradana AUMARS <paumars@courrier.dev>
 ;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
 ;;; Copyright © 2024 Liliana Marie Prikler <liliana.prikler@gmail.com>
+;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -642,23 +643,20 @@ calls.")
         (base32 "1zf5w6338y0s0pf0jlpbqzlbxbx39s93z0bmdaa0cxkxs8cz8xij"))))
     (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)))))))
+     (list
+      #:go go-1.17
+      #:install-source? #f
+      #:import-path "github.com/oz/tz"))
     (inputs
-     `(("github.com/charmbracelet/bubbletea" 
,go-github-com-charmbracelet-bubbletea)
-       ("github.com/tkuchiki/go-timezone" ,go-github-com-tkuchiki-go-timezone)
-       ("github.com/muesli/termenv" ,go-github-com-muesli-termenv)))
+     (list go-github-com-charmbracelet-bubbletea
+           go-github-com-muesli-termenv
+           go-github-com-tkuchiki-go-timezone))
     (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.")
+     "@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]