aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorVagrant Cascadian <vagrant@debian.org>2019-02-07 00:07:49 +0000
committerDanny Milosavljevic <dannym@scratchpost.org>2019-02-13 00:26:03 +0100
commit7fafdadd4267b1b9c3e2898415a91d7b2ff6fdc7 (patch)
tree8a0061b5043a9ff2a52c48696dbd32540ac0d104 /gnu
parentdf724c9cfcd5007a1f2d7daaea3f661150548bfc (diff)
downloadpatches-7fafdadd4267b1b9c3e2898415a91d7b2ff6fdc7.tar
patches-7fafdadd4267b1b9c3e2898415a91d7b2ff6fdc7.tar.gz
gnu: trezor-agent: Update 0.10.0.
Fixes <https://bugs.gnu.org/34377>. * gnu/packages/finance.scm (trezor-agent): Update to 0.10.0. [arguments]<#:phases>[fixup-agent-py]: New phase. [native-inputs]: Add python-hidapi. [home-page]: Use https url.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/finance.scm19
1 files changed, 16 insertions, 3 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 27f74ec79e..36cb508564 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -804,19 +804,32 @@ Then set the environment variable GNUPGHOME to
(define-public trezor-agent
(package
(name "trezor-agent")
- (version "0.9.0")
+ (version "0.10.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "trezor_agent" version))
(sha256
(base32
- "1i5cdamlf3c0ym600pjklij74p8ifj9cv7xrpnrfl1b8nkadswbz"))))
+ "144657c7bn0a667dq5fv5r6j7iilxf3h9agj29v1m2qpq40g0az8"))))
+ (arguments
+ ;; Tests fail with "AttributeError: module 'attr' has no attribute 's'".
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'wrap 'fixup-agent-py
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out")))
+ ;; overwrite the wrapper with the real thing.
+ (install-file "./trezor_agent.py"
+ (string-append out "/bin"))
+ #t))))))
(build-system python-build-system)
(inputs
`(("python-trezor" ,python-trezor)
("python-trezor-agent" ,python-trezor-agent)))
- (home-page "http://github.com/romanz/trezor-agent")
+ (native-inputs
+ `(("python-hidapi" ,python-hidapi)))
+ (home-page "https://github.com/romanz/trezor-agent")
(synopsis "Using Trezor as hardware SSH/GPG agent")
(description "This package allows using Trezor as a hardware SSH/GPG
agent.")