~ruther/guix-local

1cde09675eeb835b85fed4d80723a8e208fe0ecb — Abhishek Cherath 1 year, 5 months ago f698e1f
gnu: Add termdown.

* gnu/packages/time.scm (termdown): New variable.

Change-Id: I1532cb6828437bb6a4a6416237454529e4de1e07
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
1 files changed, 33 insertions(+), 6 deletions(-)

M gnu/packages/time.scm
M gnu/packages/time.scm => gnu/packages/time.scm +33 -6
@@ 70,18 70,45 @@
  #:use-module (guix licenses)
  #:use-module (guix packages))

(define-public termdown
  (package
    (name "termdown")
    (version "1.18.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "termdown" version))
       (sha256
        (base32
         "07nxsqpwnpr9jkvif2ngjlcq05z0ldnmqxd15d1l593lzmxdyrci"))))
    (build-system pyproject-build-system)
    (native-inputs
     (list python-setuptools python-wheel))
    (propagated-inputs
     (list python-click
           python-pyfiglet
           python-dateutil))
    (home-page "https://github.com/trehn/termdown")
    (synopsis "Countdown timer for your terminal")
    (description
     "Termdown provides a fancy text display while it counts down to zero from
a starting point you provide.  The user can pause and resume the countdown
from the text user interface.  It can also be used in stop watch mode which
counts forward or for just showing the current time.")
    (license gpl3)))

(define-public time
  (package
    (name "time")
    (version "1.9")
    (source
     (origin
      (method url-fetch)
      (uri (string-append "mirror://gnu/time/time-"
                          version ".tar.gz"))
      (sha256
       (base32
        "07jj7cz6lc13iqrpgn81ivqh8rkm73p4rnivwgrrshk23v4g1b7v"))))
       (method url-fetch)
       (uri (string-append "mirror://gnu/time/time-"
                           version ".tar.gz"))
       (sha256
        (base32
         "07jj7cz6lc13iqrpgn81ivqh8rkm73p4rnivwgrrshk23v4g1b7v"))))
    (build-system gnu-build-system)
    (home-page "https://www.gnu.org/software/time/")
    (synopsis "Run a command, then display its resource usage")