[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52207] [PATCH 5/5] gnu: trezor-agent: Update to 0.11.0-1, aka git t
From: |
Attila Lendvai |
Subject: |
[bug#52207] [PATCH 5/5] gnu: trezor-agent: Update to 0.11.0-1, aka git tag v0.14.4. |
Date: |
Tue, 30 Nov 2021 21:44:32 +0100 |
---
gnu/packages/finance.scm | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 9b98eafcd4..68549520c2 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1103,7 +1103,7 @@ (define-public ledger-agent
(define-public trezor-agent
(package
(name "trezor-agent")
- (version "0.11.0")
+ (version "0.11.0-1")
(source
(origin
(method git-fetch)
@@ -1114,9 +1114,10 @@ (define-public trezor-agent
;; different versions. The git tag seems to track libagent,
;; i.e. python-trezor-agent in the Guix namespace.
;; See e.g. ./agents/trezor/setup.py
- (commit "v0.14.2")))
+ (commit "v0.14.4")))
+ (file-name (git-file-name name version))
(sha256
- (base32 "0nl44ldfw9s2v3p7g5bldfw3ds2hz9r28j42bpnp8bj0v5na3ivk"))
+ (base32 "1ksv494xpga27ifrjyn1bkqaya5h769lqb9rx1ng0n4kvmnrqr3l"))
(modules
'((guix build utils)
(ice-9 ftw)
@@ -1135,7 +1136,8 @@ (define-public trezor-agent
(string-append "./" file-name)))
(scandir "./agents/trezor/"
(negate (cut member <> '("." "..") string=))))
- (delete-file-recursively "./agents")))))
+ (delete-file-recursively "./agents")
+ #t))))
(arguments
`(#:phases
(modify-phases %standard-phases
@@ -1152,14 +1154,14 @@ (define-public trezor-agent
(delete-file (string-append out "/bin/.trezor_agent.py-real"))
;; Overwrite the wrapped one with the real thing.
(install-file "./trezor_agent.py"
- (string-append out "/bin"))
- #t))))))
+ (string-append out "/bin")))
+ #t)))))
(build-system python-build-system)
(inputs
`(("python-trezor" ,python-trezor)
("python-trezor-agent" ,python-trezor-agent)))
(native-inputs
- `(("python-attrs" ,python-attrs)))
+ `(("python-attrs" ,python-attrs))) ; for the tests
(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
--
2.33.0