gnu: t-todo-manager: Actually run the tests.

* gnu/packages/task-management.scm (t-todo-manager)[arguments]
<#:phases>: Replace the 'check phase to actually run tests.
[home-page]: Update and relocate.

Change-Id: Ied16c083eb59ff0669a14b5ae3ad493f0c1d4c64
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-07-21 23:05:00 +02:00 committed by Sharlatan Hellseher
parent dffbfcfeca
commit 73f2bee591
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -178,13 +178,22 @@ backed by Git Annex.")
(sha256
(base32 "0c8zn7l0xq65wp07h7mxnb5ww56d1443l2vkjvx5sj6wpcchfn0s"))))
(build-system python-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(if tests?
(invoke "cram" "tests")
(format #t "test suite not run.~%")))))))
(native-inputs
(list python-cram))
(home-page "https://github.com/sjl/t")
(synopsis "Command-line todo list manager")
(description
"@command{t} is a command-line todo list manager for people that want
to finish tasks, not organize them.")
(home-page "https://stevelosh.com/projects/t/")
(license license:expat))))
(define-public taskwarrior