gnu: python-trezor: Update to 0.13.0.

* gnu/packages/finance.scm (python-trezor): Update to 0.13.0.
[source]: Delete broken symbolic links in snippet.
[propagated-inputs]: Use python-click-7.
[native-inputs]: Re-order.
This commit is contained in:
Maxim Cournoyer 2022-06-06 16:56:42 -04:00
parent 8df6117b78
commit 08063e55ba
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1001,7 +1001,7 @@ (define-public python-btchip-python
(define-public python-trezor
(package
(name "python-trezor")
(version "0.12.4")
(version "0.13.0")
(source
(origin
(method git-fetch)
@ -1010,7 +1010,7 @@ (define-public python-trezor
(commit (string-append "python/v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1k0zk94jnkhr4iyngjfhfvff5mibx265q81v8jhvhd3m4clzgc45"))
(base32 "1wy584bxx5p2av4lv1bx9hl1q0b5n7hqz0hnqb9shjriarvl5ckd"))
(modules
'((guix build utils)
(srfi srfi-26)
@ -1028,11 +1028,18 @@ (define-public python-trezor
(string-append "./" file-name)))
(scandir "./python/"
(negate (cut member <> '("." "..") string=))))
(delete-file-recursively "./python")))))
(delete-file-recursively "./python")
;; Delete now broken symbolic links.
(for-each delete-file
(append (find-files "." "^CHANGELOG.unreleased$")
(find-files "." "^.towncrier.template.md$")))))))
(build-system python-build-system)
(propagated-inputs
(list python-attrs
python-click
;; 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-construct
python-ecdsa
python-libusb1
@ -1043,8 +1050,8 @@ (define-public python-trezor
;; For tests.
(list protobuf
python-black
python-protobuf
python-isort
python-protobuf
python-pyqt
python-pytest))
(home-page "https://github.com/trezor/python-trezor")