gnu: visidata: Update to 3.0.2.

* gnu/packages/spreadsheet.scm (visidata): Update to 3.0.2.
[arguments]: Migrate to new style.
[inputs]: Add python-importlib-metadata.

Change-Id: I54fd775b54e42cc9f2ec66fa2159cf63e77b868c
This commit is contained in:
jgart 2024-07-10 10:29:09 -05:00
parent ab54f8c514
commit 64ecead2a5
No known key found for this signature in database
GPG key ID: A52AA2B477B6DD35

View file

@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020, 2021 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2020 Ekaitz Zarraga <ekaitz@elenq.tech>
;;; Copyright © 2021, 2023 jgart <jgart@dismail.de>
;;; Copyright © 2021, 2023-2024 jgart <jgart@dismail.de>
;;;
;;; This file is part of GNU Guix.
;;;
@ -99,24 +99,24 @@ (define-public sc-im
(define-public visidata
(package
(name "visidata")
(version "2.8")
(version "3.0.2")
(source
(origin
(method url-fetch)
(uri (pypi-uri "visidata" version))
(sha256
(base32
"1jfhrk0xvzzqfzs0khbig2dc94718qki8zys1f1a9553vjncvmi6"))))
"0nn0fwm0172gn5ffil310k7hmxqrrc1dn6xfz7jxsj0vikq8vhrq"))))
(build-system python-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests? (invoke "pytest"))
#t)))))
(list #:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests? (invoke "pytest")))))))
(inputs
(list python-dateutil
python-importlib-metadata
python-requests
python-lxml
python-openpyxl