mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user