diff options
author | Abhishek Cherath <[email protected]> | 2025-02-27 15:44:33 +0100 |
---|---|---|
committer | Nicolas Goaziou <[email protected]> | 2025-02-27 15:44:33 +0100 |
commit | 1cde09675eeb835b85fed4d80723a8e208fe0ecb (patch) | |
tree | 98751d5269919d15a85ba9a4f27a0836f686f68c /gnu/packages/time.scm | |
parent | f698e1f38f6953d8462c052f122506ac4a5e7844 (diff) |
gnu: Add termdown.
* gnu/packages/time.scm (termdown): New variable.
Change-Id: I1532cb6828437bb6a4a6416237454529e4de1e07
Signed-off-by: Nicolas Goaziou <[email protected]>
Diffstat (limited to 'gnu/packages/time.scm')
-rw-r--r-- | gnu/packages/time.scm | 39 |
1 files changed, 33 insertions, 6 deletions
diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index 46e78c7ab7..56053da501 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -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") |