From cb3853ae4ae416d21e31492f96fefa9b269d81f2 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Wed, 22 Oct 2025 23:11:39 +0200 Subject: [PATCH] gnu: termdown: Switch to pyproject. * gnu/packages/time.scm (termdown): [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]<#:tests?>: Disable them. [native-inputs]: Add python-pytest. Remove python-wheel. Change-Id: I0ce2fbccaf6d87c069325372621edb73c960452f Signed-off-by: Sharlatan Hellseher --- gnu/packages/time.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/gnu/packages/time.scm b/gnu/packages/time.scm index c1ad2ba86fbc8eab7db6721c1123efd9f143170d..d1a6d90507dcd2a3d6667e98a2ed56233c7d9c24 100644 --- a/gnu/packages/time.scm +++ b/gnu/packages/time.scm @@ -76,18 +76,17 @@ (version "1.18.0") (source (origin - (method url-fetch) - (uri (pypi-uri "termdown" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/trehn/termdown") + (commit version))) + (file-name (git-file-name name version)) (sha256 - (base32 - "07nxsqpwnpr9jkvif2ngjlcq05z0ldnmqxd15d1l593lzmxdyrci")))) + (base32 "15i7ilwzwdj831bcd1gjnirydcdbr1b10d7jw5syjv0xwqq3yy8y")))) (build-system pyproject-build-system) - (native-inputs - (list python-setuptools python-wheel)) - (propagated-inputs - (list python-click - python-pyfiglet - python-dateutil)) + (arguments (list #:tests? #f)) ; No tests. + (native-inputs (list python-pytest python-setuptools)) + (propagated-inputs (list python-click python-pyfiglet python-dateutil)) (home-page "https://github.com/trehn/termdown") (synopsis "Countdown timer for your terminal") (description