python: python-py3status: Update to 3.7.

* gnu/packages/python.scm (python-py3status): Update to 3.7.
 [arguments]: Adjust string substitution.
This commit is contained in:
Tomáš Čech 2018-03-27 20:32:16 +02:00
parent 55dc003877
commit 0d0cf3b0f6
No known key found for this signature in database
GPG key ID: 4A23E34FA033436D

View file

@ -8616,14 +8616,14 @@ (define-public python2-rope
(define-public python-py3status
(package
(name "python-py3status")
(version "3.1")
(version "3.7")
(source
(origin
(method url-fetch)
(uri (pypi-uri "py3status" version))
(sha256
(base32
"0i283z1pivmir61z8kbiycigc94l61v33ygzkhczf1ifq7cppyds"))))
"0shxcfz4wcczj0mhwp4w0dvwd2fdd9bgprq8slim1519iiqzgwhq"))))
(build-system python-build-system)
(inputs
`(("file" ,file)))
@ -8636,8 +8636,8 @@ (define-public python-py3status
(lambda* (#:key inputs #:allow-other-keys)
(let ((file-path (assoc-ref inputs "file")))
(substitute* "py3status/parse_config.py"
(("check_output\\(\\['file'")
(string-append "check_output(['" file-path "/bin/file'")))
(("\\['file', '-b'")
(string-append "['" file-path "/bin/file', '-b'")))
#t))))
#:tests? #f)) ; TODO: Requires many libraries not in Guix.
(home-page "https://github.com/ultrabug/py3status")