gnu: trezor-agent: Update to 0.14.4.

* gnu/packages/finance.scm (trezor-agent): Update to 0.14.4.
[phases]{relax-requirements}: New phase.
This commit is contained in:
Maxim Cournoyer 2022-06-06 17:17:38 -04:00
parent 036a464258
commit da0839c77d
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1110,7 +1110,7 @@ (define-public ledger-agent
(define-public trezor-agent
(package
(name "trezor-agent")
(version "0.11.0-1")
(version "0.14.4")
(source
(origin
(method git-fetch)
@ -1150,6 +1150,11 @@ (define-public trezor-agent
;; This package only has a Python script, not a Python module, so the
;; sanity-check phase can't work.
(delete 'sanity-check)
(add-after 'unpack 'relax-requirements
(lambda _
(substitute* "setup.py"
(("'trezor\\[hidapi]>=0.12.0,<0.13'")
"'trezor[hidapi]>=0.13'"))))
(add-after 'wrap 'fixup-agent-py
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out")))