* [bug#58437] [PATCH 2/4] gnu: python-trezor: Update to 0.13.3.
2022-10-11 13:10 [bug#58437] [PATCH 1/4] gnu: Add python-simple-rlp Attila Lendvai
@ 2022-10-11 13:12 ` Attila Lendvai
2022-10-11 13:12 ` [bug#58437] [PATCH 3/4] gnu: Add python-bech32 Attila Lendvai
2022-10-11 13:12 ` [bug#58437] [PATCH 4/4] gnu: python-trezor-agent: Update to 0.14.5 Attila Lendvai
2022-12-06 18:04 ` [bug#58437] [PATCH 1/2 v2] gnu: python-trezor: Update to 0.13.3 Attila Lendvai
` (2 subsequent siblings)
3 siblings, 2 replies; 10+ messages in thread
From: Attila Lendvai @ 2022-10-11 13:12 UTC (permalink / raw)
To: 58437; +Cc: Attila Lendvai
Also disable the sanity-check phase.
---
gnu/packages/finance.scm | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index ac19851a85..340e56036d 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1048,7 +1048,7 @@ (define-public python-btchip-python
(define-public python-trezor
(package
(name "python-trezor")
- (version "0.13.0")
+ (version "0.13.3")
(source
(origin
(method git-fetch)
@@ -1057,7 +1057,7 @@ (define-public python-trezor
(commit (string-append "python/v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1wy584bxx5p2av4lv1bx9hl1q0b5n7hqz0hnqb9shjriarvl5ckd"))
+ (base32 "18qbdypi780b2s933dp7msh9m17mx9nq6qxn87jkwlf4i94h1vr2"))
(modules
'((guix build utils)
(srfi srfi-26)
@@ -1083,10 +1083,7 @@ (define-public python-trezor
(build-system python-build-system)
(propagated-inputs
(list python-attrs
- ;; TOOD: Use the latest click version after release 0.13.1 or later
- ;; is made (see:
- ;; https://github.com/trezor/trezor-firmware/issues/2199).
- python-click-7
+ python-click
python-construct
python-ecdsa
python-hidapi
@@ -1099,9 +1096,17 @@ (define-public python-trezor
(list protobuf
python-black
python-isort
+ python-pillow
python-protobuf
python-pyqt
- python-pytest))
+ python-pytest
+ python-simple-rlp))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; This package only has a Python script, not a Python module, so the
+ ;; sanity-check phase can't work.
+ (delete 'sanity-check))))
(home-page "https://github.com/trezor/python-trezor")
(synopsis "Python library for communicating with TREZOR Hardware Wallet")
(description "@code{trezor} is a Python library for communicating with
--
2.35.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#58437] [PATCH 3/4] gnu: Add python-bech32.
2022-10-11 13:12 ` [bug#58437] [PATCH 2/4] gnu: python-trezor: Update to 0.13.3 Attila Lendvai
@ 2022-10-11 13:12 ` Attila Lendvai
2022-10-11 13:12 ` [bug#58437] [PATCH 4/4] gnu: python-trezor-agent: Update to 0.14.5 Attila Lendvai
1 sibling, 0 replies; 10+ messages in thread
From: Attila Lendvai @ 2022-10-11 13:12 UTC (permalink / raw)
To: 58437; +Cc: Attila Lendvai
---
gnu/packages/finance.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 340e56036d..22b6855519 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -900,6 +900,23 @@ (define-public monero-gui
the Monero GUI client.")
(license license:bsd-3)))
+(define-public python-bech32
+ (package
+ (name "python-bech32")
+ (version "1.2.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "bech32" version))
+ (sha256
+ (base32
+ "16fq5cfy5id9hp123ylhpl55pf38xwk0hv7sziqpig838qhvhvbx"))))
+ (build-system python-build-system)
+ (home-page "https://github.com/fiatjaf/bech32")
+ (synopsis "Reference implementation for Bech32 and Segwit addresses")
+ (description "This package provides a python reference implementation
+for Bech32 and segwit addresses.")
+ (license license:expat)))
+
(define-public python-trezor-agent
;; It is called 'libagent' in pypi; i.e. this is the library as opposed to
;; the toplevel app called trezor-agent.
--
2.35.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#58437] [PATCH 4/4] gnu: python-trezor-agent: Update to 0.14.5.
2022-10-11 13:12 ` [bug#58437] [PATCH 2/4] gnu: python-trezor: Update to 0.13.3 Attila Lendvai
2022-10-11 13:12 ` [bug#58437] [PATCH 3/4] gnu: Add python-bech32 Attila Lendvai
@ 2022-10-11 13:12 ` Attila Lendvai
2022-12-06 11:18 ` Christopher Baines
1 sibling, 1 reply; 10+ messages in thread
From: Attila Lendvai @ 2022-10-11 13:12 UTC (permalink / raw)
To: 58437; +Cc: Attila Lendvai
---
gnu/packages/finance.scm | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 22b6855519..f9dab9c16c 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -922,7 +922,7 @@ (define-public python-trezor-agent
;; the toplevel app called trezor-agent.
(package
(name "python-trezor-agent")
- (version "0.14.4")
+ (version "0.14.5")
(source
(origin
(method git-fetch)
@@ -931,7 +931,7 @@ (define-public python-trezor-agent
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1ksv494xpga27ifrjyn1bkqaya5h769lqb9rx1ng0n4kvmnrqr3l"))))
+ (base32 "1syg5an5hj8sr56hvcr45y8dymwy8va5h0pfyrmsnxcz8z5q1124"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -959,8 +959,12 @@ (define-public python-trezor-agent
python-semver
python-unidecode
python-wheel))
- (native-inputs
- (list gnupg python-mock python-pytest))
+ (native-inputs ; Only needed for running the tests
+ (list gnupg
+ python-bech32
+ python-cryptography
+ python-mock
+ python-pytest))
(home-page "https://github.com/romanz/trezor-agent")
(synopsis "Use hardware wallets as SSH and GPG agent")
(description
@@ -1243,8 +1247,10 @@ (define-public trezor-agent
(build-system python-build-system)
(inputs
(list python-trezor python-trezor-agent))
- (native-inputs
- (list python-attrs))
+ (native-inputs ; Only needed for running the tests
+ (list python-attrs
+ python-bech32
+ python-simple-rlp))
(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.35.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#58437] [PATCH 1/2 v2] gnu: python-trezor: Update to 0.13.3.
2022-10-11 13:10 [bug#58437] [PATCH 1/4] gnu: Add python-simple-rlp Attila Lendvai
2022-10-11 13:12 ` [bug#58437] [PATCH 2/4] gnu: python-trezor: Update to 0.13.3 Attila Lendvai
@ 2022-12-06 18:04 ` Attila Lendvai
2022-12-06 18:46 ` [bug#58437] [PATCH 1/3 v3] " Attila Lendvai
2023-08-26 21:36 ` [bug#58437] (No Subject) Attila Lendvai
3 siblings, 0 replies; 10+ messages in thread
From: Attila Lendvai @ 2022-12-06 18:04 UTC (permalink / raw)
To: 58437; +Cc: Attila Lendvai
Also disable the sanity-check phase.
---
the sanity-check removal is in the same commit, because it became
needed due to the version update.
gnu/packages/finance.scm | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index cc2d417003..287ee38041 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1054,7 +1054,7 @@ (define-public python-btchip-python
(define-public python-trezor
(package
(name "python-trezor")
- (version "0.13.0")
+ (version "0.13.3")
(source
(origin
(method git-fetch)
@@ -1063,7 +1063,7 @@ (define-public python-trezor
(commit (string-append "python/v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1wy584bxx5p2av4lv1bx9hl1q0b5n7hqz0hnqb9shjriarvl5ckd"))
+ (base32 "18qbdypi780b2s933dp7msh9m17mx9nq6qxn87jkwlf4i94h1vr2"))
(modules
'((guix build utils)
(srfi srfi-26)
@@ -1089,10 +1089,7 @@ (define-public python-trezor
(build-system python-build-system)
(propagated-inputs
(list python-attrs
- ;; TOOD: Use the latest click version after release 0.13.1 or later
- ;; is made (see:
- ;; https://github.com/trezor/trezor-firmware/issues/2199).
- python-click-7
+ python-click
python-construct
python-ecdsa
python-hidapi
@@ -1100,14 +1097,21 @@ (define-public python-trezor
python-mnemonic
python-requests
python-typing-extensions))
- (native-inputs
- ;; For tests.
+ (native-inputs ; Only needed for running the tests
(list protobuf
python-black
python-isort
+ python-pillow
python-protobuf
python-pyqt
- python-pytest))
+ python-pytest
+ python-simple-rlp))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; This package only has a Python script, not a Python module, so the
+ ;; sanity-check phase can't work.
+ (delete 'sanity-check))))
(home-page "https://github.com/trezor/python-trezor")
(synopsis "Python library for communicating with TREZOR Hardware Wallet")
(description "@code{trezor} is a Python library for communicating with
--
2.35.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#58437] [PATCH 1/3 v3] gnu: python-trezor: Update to 0.13.3.
2022-10-11 13:10 [bug#58437] [PATCH 1/4] gnu: Add python-simple-rlp Attila Lendvai
2022-10-11 13:12 ` [bug#58437] [PATCH 2/4] gnu: python-trezor: Update to 0.13.3 Attila Lendvai
2022-12-06 18:04 ` [bug#58437] [PATCH 1/2 v2] gnu: python-trezor: Update to 0.13.3 Attila Lendvai
@ 2022-12-06 18:46 ` Attila Lendvai
2022-12-06 18:46 ` [bug#58437] [PATCH 2/3 v3] gnu: python-trezor-agent: Update to 0.14.5 Attila Lendvai
2022-12-06 18:46 ` [bug#58437] [PATCH 3/3 v3] gnu: trezor-agent: Fix build by adding native-inputs Attila Lendvai
2023-08-26 21:36 ` [bug#58437] (No Subject) Attila Lendvai
3 siblings, 2 replies; 10+ messages in thread
From: Attila Lendvai @ 2022-12-06 18:46 UTC (permalink / raw)
To: 58437; +Cc: Attila Lendvai
Also disable the sanity-check phase.
---
this series updates and fixes trezor support.
gnu/packages/finance.scm | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index cc2d417003..287ee38041 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1054,7 +1054,7 @@ (define-public python-btchip-python
(define-public python-trezor
(package
(name "python-trezor")
- (version "0.13.0")
+ (version "0.13.3")
(source
(origin
(method git-fetch)
@@ -1063,7 +1063,7 @@ (define-public python-trezor
(commit (string-append "python/v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1wy584bxx5p2av4lv1bx9hl1q0b5n7hqz0hnqb9shjriarvl5ckd"))
+ (base32 "18qbdypi780b2s933dp7msh9m17mx9nq6qxn87jkwlf4i94h1vr2"))
(modules
'((guix build utils)
(srfi srfi-26)
@@ -1089,10 +1089,7 @@ (define-public python-trezor
(build-system python-build-system)
(propagated-inputs
(list python-attrs
- ;; TOOD: Use the latest click version after release 0.13.1 or later
- ;; is made (see:
- ;; https://github.com/trezor/trezor-firmware/issues/2199).
- python-click-7
+ python-click
python-construct
python-ecdsa
python-hidapi
@@ -1100,14 +1097,21 @@ (define-public python-trezor
python-mnemonic
python-requests
python-typing-extensions))
- (native-inputs
- ;; For tests.
+ (native-inputs ; Only needed for running the tests
(list protobuf
python-black
python-isort
+ python-pillow
python-protobuf
python-pyqt
- python-pytest))
+ python-pytest
+ python-simple-rlp))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ ;; This package only has a Python script, not a Python module, so the
+ ;; sanity-check phase can't work.
+ (delete 'sanity-check))))
(home-page "https://github.com/trezor/python-trezor")
(synopsis "Python library for communicating with TREZOR Hardware Wallet")
(description "@code{trezor} is a Python library for communicating with
--
2.35.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#58437] [PATCH 2/3 v3] gnu: python-trezor-agent: Update to 0.14.5.
2022-12-06 18:46 ` [bug#58437] [PATCH 1/3 v3] " Attila Lendvai
@ 2022-12-06 18:46 ` Attila Lendvai
2022-12-06 18:46 ` [bug#58437] [PATCH 3/3 v3] gnu: trezor-agent: Fix build by adding native-inputs Attila Lendvai
1 sibling, 0 replies; 10+ messages in thread
From: Attila Lendvai @ 2022-12-06 18:46 UTC (permalink / raw)
To: 58437; +Cc: Attila Lendvai
---
gnu/packages/finance.scm | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 287ee38041..a81d82ad60 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -911,7 +911,7 @@ (define-public python-trezor-agent
;; the toplevel app called trezor-agent.
(package
(name "python-trezor-agent")
- (version "0.14.4")
+ (version "0.14.5")
(source
(origin
(method git-fetch)
@@ -920,7 +920,7 @@ (define-public python-trezor-agent
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1ksv494xpga27ifrjyn1bkqaya5h769lqb9rx1ng0n4kvmnrqr3l"))))
+ (base32 "1syg5an5hj8sr56hvcr45y8dymwy8va5h0pfyrmsnxcz8z5q1124"))))
(build-system python-build-system)
(arguments
`(#:phases
@@ -948,8 +948,12 @@ (define-public python-trezor-agent
python-semver
python-unidecode
python-wheel))
- (native-inputs
- (list gnupg python-mock python-pytest))
+ (native-inputs ; Only needed for running the tests
+ (list gnupg
+ python-bech32
+ python-cryptography
+ python-mock
+ python-pytest))
(home-page "https://github.com/romanz/trezor-agent")
(synopsis "Use hardware wallets as SSH and GPG agent")
(description
--
2.35.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#58437] [PATCH 3/3 v3] gnu: trezor-agent: Fix build by adding native-inputs.
2022-12-06 18:46 ` [bug#58437] [PATCH 1/3 v3] " Attila Lendvai
2022-12-06 18:46 ` [bug#58437] [PATCH 2/3 v3] gnu: python-trezor-agent: Update to 0.14.5 Attila Lendvai
@ 2022-12-06 18:46 ` Attila Lendvai
1 sibling, 0 replies; 10+ messages in thread
From: Attila Lendvai @ 2022-12-06 18:46 UTC (permalink / raw)
To: 58437; +Cc: Attila Lendvai
The tests, and thus the build, were failing prior to this change.
---
gnu/packages/finance.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index a81d82ad60..ed4374c2fd 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1235,8 +1235,10 @@ (define-public trezor-agent
(build-system python-build-system)
(inputs
(list python-trezor python-trezor-agent))
- (native-inputs
- (list python-attrs))
+ (native-inputs ; Only needed for running the tests
+ (list python-attrs
+ python-bech32
+ python-simple-rlp))
(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.35.1
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [bug#58437] (No Subject)
2022-10-11 13:10 [bug#58437] [PATCH 1/4] gnu: Add python-simple-rlp Attila Lendvai
` (2 preceding siblings ...)
2022-12-06 18:46 ` [bug#58437] [PATCH 1/3 v3] " Attila Lendvai
@ 2023-08-26 21:36 ` Attila Lendvai
3 siblings, 0 replies; 10+ messages in thread
From: Attila Lendvai @ 2023-08-26 21:36 UTC (permalink / raw)
To: 58437@debbugs.gnu.org
close 58437
done
meanwhile it's been superseded by https://issues.guix.gnu.org/65037 that updates the packages to even newer versions.
--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“Be the love you never received.”
— Rune Lazuli
^ permalink raw reply [flat|nested] 10+ messages in thread