~ruther/guix-local

fe506109f02cee7f2e00d18f603384f1faf5ea30 — jgart 1 year, 3 months ago f7cd085
gnu: visidata: Update to 3.1.1.

* gnu/packages/spreadsheet.scm (visidata): Update to 3.1.1.
[arguments]: Add phase for setting HOME to a temporary path in order to allow
tests to pass.

Change-Id: Ib3a5713cf1d328cba6727c155654b57aa7366567
1 files changed, 4 insertions(+), 2 deletions(-)

M gnu/packages/spreadsheet.scm
M gnu/packages/spreadsheet.scm => gnu/packages/spreadsheet.scm +4 -2
@@ 99,18 99,20 @@
(define-public visidata
  (package
    (name "visidata")
    (version "3.0.2")
    (version "3.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "visidata" version))
       (sha256
        (base32
         "0nn0fwm0172gn5ffil310k7hmxqrrc1dn6xfz7jxsj0vikq8vhrq"))))
         "0cdhx0n79n9z5d22nr90kkg93ndxcnyl4margs4f8l88iwaq8i4c"))))
    (build-system python-build-system)
    (arguments
     (list #:phases
           #~(modify-phases %standard-phases
               (add-after 'unpack 'set-home-directory
                 (lambda _ (setenv "HOME" "/tmp")))
               (replace 'check
                 (lambda* (#:key tests? #:allow-other-keys)
                   (when tests? (invoke "pytest")))))))