Merge pull request #69545 from 1000101/python-trezor

python-trezor: 0.11.4 -> 0.11.5
This commit is contained in:
Marek Mahut
2019-09-26 22:02:34 +02:00
committed by GitHub

View File

@@ -15,13 +15,13 @@
buildPythonPackage rec {
pname = "trezor";
version = "0.11.4";
version = "0.11.5";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "aeb3f56a4c389495617f27bf218471b7969f636d25ddc491dfefeb8a1b3cd499";
sha256 = "cd8aafd70a281daa644c4a3fb021ffac20b7a88e86226ecc8bb3e78e1734a184";
};
propagatedBuildInputs = [ typing-extensions protobuf hidapi ecdsa mnemonic requests pyblake2 click construct libusb1 rlp shamir-mnemonic ];
@@ -33,7 +33,7 @@ buildPythonPackage rec {
# disable test_tx_api.py as it requires being online
checkPhase = ''
runHook preCheck
${python.interpreter} -m pytest --pyargs trezorlib.tests.unit_tests --ignore trezorlib/tests/unit_tests/test_tx_api.py
pytest --pyargs tests --ignore tests/test_tx_api.py
runHook postCheck
'';