gnu: clikan: Convert to use modern style.

* gnu/packages/task-management.scm (clikan): Convert to use modern style.
[arguments]: Convert to modern style.
[native-inputs]: Convert to modern style.
[inputs]: Convert to modern style.

Change-Id: Ifd584b6bdf26331e9ea896d36d7e0533e9ab3558
This commit is contained in:
jgart 2025-07-16 12:56:02 -05:00
parent 2e9b8be55b
commit bc616ff943
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35

View file

@ -13,6 +13,7 @@
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2025 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2025 Matthias Riße <matrss@0px.xyz>
;;; Copyright © 2025 jgart <jgart@dismail.de>
;;;
;;; This file is part of GNU Guix.
;;;
@ -93,22 +94,23 @@
(base32 "1nyx80z53xxlbhpb5k22jnv4jajxqhjm0gz7qb18w9pqqlrvkqd4"))))
(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")))))))
(list
#: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)))
(list python-pytest
python-click))
(inputs
`(("click" ,python-click)
("click-default-group" ,python-click-default-group)
("pyyaml" ,python-pyyaml)
("rich" ,python-rich)))
(list python-click
python-click-default-group
python-pyyaml
python-rich))
(home-page "https://github.com/kitplummer/clikan")
(synopsis "Command-line kanban utility")
(description