gnu: picard: Update to 2.9.1.

* gnu/packages/music.scm (picard): Update to 2.9.1.
[uri]: Switch mirror.
[#:phases]: Add phase 'set-HOME.
Remove phase 'delete-failing-test.
This commit is contained in:
Hilton Chain 2023-08-16 17:31:25 +08:00
parent e9bea73e2d
commit 0ba7debb02
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -3780,15 +3780,15 @@ (define-public pianobar
(define-public picard
(package
(name "picard")
(version "2.9")
(version "2.9.1")
(source (origin
(method url-fetch)
(uri (string-append
"https://musicbrainz.osuosl.org/pub/musicbrainz/"
"https://data.musicbrainz.org/pub/musicbrainz/"
"picard/picard-" version ".tar.gz"))
(sha256
(base32
"0afiziaq49sq1dx5r3qis4ymhhkrqlrkfnb6f7gcksj0kwljvsw9"))))
"1f1nf53xm94jam8w86a8hx69ilzddjibf29c7f1i353fr6k6bqvs"))))
(build-system python-build-system)
(arguments
(list
@ -3806,12 +3806,10 @@ (define-public picard
(string-append
"pyfpcalc', '"
(assoc-ref inputs "chromaprint") "/bin/fpcalc")))))
(add-before 'check 'delete-failing-test
;; pipe tests require writable $HOME.
(add-before 'check 'set-HOME
(lambda _
;; FIXME: This test fails in build environment.
;; util/pipe.read_from_pipe:244: pipe reader exception:
;; ERROR: Pipe doesn't exist
(delete-file "test/test_util_pipe.py"))))))
(setenv "HOME" "/tmp"))))))
(native-inputs
(list gettext-minimal python-dateutil))
(inputs