Archived
1
0
Fork 0

gnu: clikan: Upgrade to 0.2.1.

* gnu/packages/task-management.scm (clikan)[version]: Upgrade to
0.2.1.
[arguments]: Enable tests.
[inputs]: Add python-rich.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
jgart via Guix-patches via 2021-07-06 19:53:00 -04:00 committed by Nicolas Goaziou
parent e01ae01e57
commit 889c5c584f
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -23,6 +23,7 @@
(define-module (gnu packages task-management) (define-module (gnu packages task-management)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (gnu packages check)
#:use-module (gnu packages freedesktop) #:use-module (gnu packages freedesktop)
#:use-module (gnu packages gettext) #:use-module (gnu packages gettext)
#:use-module (gnu packages glib) #:use-module (gnu packages glib)
@ -45,32 +46,44 @@
#:use-module (guix build-system python)) #:use-module (guix build-system python))
(define-public clikan (define-public clikan
(let ((commit "90fd60e485b46e49fcec7d029384fe1471c4443a") (let ((commit "55ab29e68263c6fed2844aef96fbebacda3eba9b")
(revision "0")) (revision "1"))
(package (package
(name "clikan") (name "clikan")
(version (version
(git-version "0.1.3" revision commit)) (git-version "0.2.1" revision commit))
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/kitplummer/clikan/") (url "https://github.com/kitplummer/clikan")
(commit commit))) (commit commit)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "113kizm05v4cvyhdlg9zami54wk9qaiizq19mx36qvq9w7pg7a3k")))) (base32 "1nyx80z53xxlbhpb5k22jnv4jajxqhjm0gz7qb18w9pqqlrvkqd4"))))
(build-system python-build-system) (build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
(setenv "HOME" (getenv "TEMP"))
(when tests?
(add-installed-pythonpath inputs outputs)
(invoke "pytest" "-vv")))))))
(native-inputs
`(("pytest" ,python-pytest)
("click" ,python-click)))
(inputs (inputs
`(("click" ,python-click) `(("click" ,python-click)
("click-default-group" ,python-click-default-group) ("click-default-group" ,python-click-default-group)
("pyyaml" ,python-pyyaml) ("pyyaml" ,python-pyyaml)
("terminaltables" ,python-terminaltables))) ("rich" ,python-rich)))
(synopsis "Command-line kanban (boarding) utility") (home-page "https://github.com/kitplummer/clikan")
(synopsis "Command-line kanban utility")
(description (description
"Clikan is a super simple command-line utility for tracking tasks "Clikan is a super simple command-line utility for tracking tasks
following the Japanese kanban (boarding) style.") following the Japanese kanban (boarding) style.")
(home-page "https://github.com/kitplummer/clikan/")
(license license:expat)))) (license license:expat))))
(define-public t-todo-manager (define-public t-todo-manager