python3Packages.trezor: 0.12.1 -> 0.12.2

+ add attrs, pillow to dependencies
This commit is contained in:
Pavol Rusnak 2020-08-25 11:29:22 +02:00
parent d9e6beab26
commit a39edded2f
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -1,34 +1,56 @@
{ lib, fetchPypi, buildPythonPackage, isPy3k, python, pytest
, typing-extensions
, protobuf
, hidapi
, ecdsa
, mnemonic
, requests
, pyblake2
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, installShellFiles
, attrs
, click
, construct
, ecdsa
, hidapi
, libusb1
, mnemonic
, pillow
, protobuf
, pyblake2
, requests
, rlp
, shamir-mnemonic
, typing-extensions
, trezor-udev-rules
, installShellFiles
, pytest
}:
buildPythonPackage rec {
pname = "trezor";
version = "0.12.1";
version = "0.12.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "1w19m9lws55k9sjhras47hpfpqwq1jm5vy135nj65yhkblygqg19";
sha256 = "0r0j0y0ii62ppawc8qqjyaq0fkmmb0zk1xb3f9navxp556w2dljv";
};
nativeBuildInputs = [ installShellFiles ];
propagatedBuildInputs = [ typing-extensions protobuf hidapi ecdsa mnemonic requests pyblake2 click construct libusb1 rlp shamir-mnemonic trezor-udev-rules ];
propagatedBuildInputs = [
attrs
click
construct
ecdsa
hidapi
libusb1
mnemonic
pillow
protobuf
pyblake2
requests
rlp
shamir-mnemonic
typing-extensions
trezor-udev-rules
];
checkInputs = [
pytest
@ -52,7 +74,7 @@ buildPythonPackage rec {
'';
meta = with lib; {
description = "Python library for communicating with TREZOR Bitcoin Hardware Wallet";
description = "Python library for communicating with Trezor Hardware Wallet";
homepage = "https://github.com/trezor/trezor-firmware/tree/master/python";
license = licenses.gpl3;
maintainers = with maintainers; [ np prusnak mmahut _1000101 ];