gnu: jc: Update to 1.19.0.

* gnu/packages/admin.scm (jc): Update to 1.19.0.
[arguments]: Add a new 'hack-time-zone phase.
This commit is contained in:
Tobias Geerinckx-Rice 2022-05-22 02:00:01 +02:00
parent 4577f3c6b6
commit 1a6be55701
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -4541,7 +4541,7 @@ (define-public pam-mount
(define-public jc
(package
(name "jc")
(version "1.13.4")
(version "1.19.0")
(source
(origin
;; The PyPI tarball lacks the test suite.
@ -4551,8 +4551,16 @@ (define-public jc
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0rwvyyrdnw43pixp8h51rncq2inc9pbbj1j2191y5si00pjw34zr"))))
(base32 "021zk0y8kb6v3qf3hwfg8qjzzmrca039nz3fjywiy2njmbhr8hyi"))))
(build-system python-build-system)
(arguments
(list #:phases
#~(modify-phases %standard-phases
;; XXX Guix's America/Los_Angeles time zone is somehow broken.
(add-before 'check 'hack-time-zone
(lambda _
(substitute* (find-files "tests" "^test.*\\.py$")
(("America/Los_Angeles") "PST8PDT")))))))
(propagated-inputs
(list python-pygments python-ruamel.yaml python-xmltodict))
(home-page "https://github.com/kellyjonbrazil/jc")