Merge pull request #96257 from prusnak/trezor-pillow

python3Packages.trezor: 0.12.1 -> 0.12.2
This commit is contained in:
Marek Mahut 2020-08-27 20:29:01 +02:00 committed by GitHub
commit c30c1b501e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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