3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.trezor: 0.13.2 -> 0.13.3

This commit is contained in:
Pavol Rusnak 2022-07-13 16:07:05 +02:00
parent c9e017e542
commit 5e6ec193f8
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -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