git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #67881 from prusnak/python-trezor

pythonPackages.trezor: fix typo (pyarg vs pyargs)

commit80345739347643ffbece29bd3644e7343a52d4d6 authorMarek Mahut <marek.mahut@gmail.com> dateSun 1 Sep 2019, 15:11 (7 years ago) parent7264658a39eb9d
1 file changed+1−4
pkgs/development/python-modules/trezor/default.nix+1−4
pkgs/development/python-modules/trezor/default.nix+1−4
@@ -26,9 +26,6 @@ buildPythonPackage rec {
2626
2727 propagatedBuildInputs = [ typing-extensions protobuf hidapi ecdsa mnemonic requests pyblake2 click construct libusb1 rlp shamir-mnemonic ];
2828
29− # build requires UTF-8 locale
30− LANG = "en_US.UTF-8";
31−
3229 checkInputs = [
3330 pytest
3431 ];
@@ -36,7 +33,7 @@ buildPythonPackage rec {
3633 # disable test_tx_api.py as it requires being online
3734 checkPhase = ''
3835 runHook preCheck
39− ${python.interpreter} -m pytest --pyarg trezorlib.tests.unit_tests --ignore trezorlib/tests/unit_tests/test_tx_api.py
36+ ${python.interpreter} -m pytest --pyargs trezorlib.tests.unit_tests --ignore trezorlib/tests/unit_tests/test_tx_api.py
4037 runHook postCheck
4138 '';
4239