python3Packages.trezor: 0.12.4 -> 0.13.0

This commit is contained in:
Pavol Rusnak
2021-12-09 20:43:41 +01:00
parent 48a1f721e2
commit 71cabc227b

View File

@@ -24,13 +24,13 @@
buildPythonPackage rec {
pname = "trezor";
version = "0.12.4";
version = "0.13.0";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "3e180d9f9f8b69176b5ef36311b6161f5b793b538eb2dfd4babbb4d3fb1e374e";
sha256 = "4571aa09dbfe88b31eb2f16c7c359b4809621b75a04b7b5bc9dbffe17046c99a";
};
nativeBuildInputs = [ installShellFiles ];
@@ -56,6 +56,10 @@ buildPythonPackage rec {
checkInputs = [ pytestCheckHook ];
disabledTestPaths = [
"tests/test_stellar.py" # requires stellar-sdk
];
postFixup = ''
mkdir completions
_TREZORCTL_COMPLETE=source_bash $out/bin/trezorctl > completions/trezorctl || true