diff options
Diffstat (limited to 'pkgs/development/python-modules/trezor/default.nix')
-rw-r--r-- | pkgs/development/python-modules/trezor/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/trezor/default.nix b/pkgs/development/python-modules/trezor/default.nix index 82ddac3b620..bc9c59754d4 100644 --- a/pkgs/development/python-modules/trezor/default.nix +++ b/pkgs/development/python-modules/trezor/default.nix @@ -24,13 +24,13 @@ buildPythonPackage rec { pname = "trezor"; - version = "0.13.2"; + version = "0.13.3"; disabled = !isPy3k; src = fetchPypi { inherit pname version; - sha256 = "cdb696fd01dad6a0cb23b61ea3a4867bb51cecda5cb2a77366fb6a53bff58ac4"; + sha256 = "055d32174d4ecf2353f7622ee44b8e82e3bef78fe40ce5cdbeafc785b422a049"; }; nativeBuildInputs = [ installShellFiles ]; @@ -60,6 +60,12 @@ buildPythonPackage rec { "tests/test_stellar.py" # requires stellar-sdk ]; + pythonImportsCheck = [ "trezorlib" ]; + + postCheck = '' + $out/bin/trezorctl --version + ''; + postFixup = '' mkdir completions _TREZORCTL_COMPLETE=source_bash $out/bin/trezorctl > completions/trezorctl || true |