diff options
Diffstat (limited to 'gnu/packages/finance.scm')
-rw-r--r-- | gnu/packages/finance.scm | 30 |
1 files changed, 23 insertions, 7 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index d6b3c8aa00..5c51d9329d 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -122,6 +122,7 @@ #:use-module (gnu packages ncurses) #:use-module (gnu packages networking) #:use-module (gnu packages ninja) + #:use-module (gnu packages nss) #:use-module (gnu packages pdf) #:use-module (gnu packages pkg-config) #:use-module (gnu packages popt) @@ -1085,7 +1086,8 @@ the Monero GUI client.") (sha256 (base32 "0wq6q0yrw3x42d81v445xy4nh2qlrn7swsydgpv81dkay11kajrz")))) (build-system pyproject-build-system) - (native-inputs (list python-setuptools python-wheel)) + (arguments (list #:test-backend #~'unittest)) + (native-inputs (list python-setuptools)) (home-page "https://github.com/fiatjaf/bech32") (synopsis "Reference implementation for Bech32 and Segwit addresses") (description "This package provides a python reference implementation for @@ -1322,7 +1324,22 @@ Nano dongle.") (for-each delete-file (append (find-files "." "^CHANGELOG.unreleased$") (find-files "." "^.towncrier.template.md$"))))))) - (build-system python-build-system) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "-k" (string-join + ;; Failed to resolve 'data.trezor.io' + (list "not test_core_basic" + "test_core_code_hashes" + "test_disallow_unsigned" + "test_embedded_v2" + "test_integrity_core" + "test_integrity_legacy" + "test_legacy_basic" + "test_unsigned" + "test_vendor_header") + " and not ")))) (propagated-inputs (list python-attrs python-click @@ -1334,15 +1351,14 @@ Nano dongle.") python-requests python-typing-extensions)) (native-inputs ; Only needed for running the tests - (list protobuf - python-black - python-isort + (list nss-certs-for-test + protobuf + python-pytest python-pillow python-protobuf python-pyqt python-pytest - python-simple-rlp - python-wheel)) + python-simple-rlp)) (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 |