Merge pull request #35328 from clefru/pytrezor-fix

trezor: Add pyblake2, click, libusb1 and ecdsa as propagatedBuildInput
This commit is contained in:
adisbladis 2018-02-22 18:35:50 +08:00 committed by GitHub
commit 52e419bb2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{ lib, fetchPypi, buildPythonPackage, protobuf, hidapi, ecdsa, mnemonic
, requests
{ lib, fetchPypi, buildPythonPackage,
protobuf, hidapi, ecdsa, mnemonic, requests, pyblake2, click, libusb1
}:
buildPythonPackage rec {
@ -12,9 +12,7 @@ buildPythonPackage rec {
sha256 = "2dd01e11d669cb8f5e40fcf1748bcabc41fb5f41edb010fc807dc3088f9bd7de";
};
propagatedBuildInputs = [ protobuf hidapi requests mnemonic ];
buildInputs = [ ecdsa ];
propagatedBuildInputs = [ protobuf hidapi ecdsa mnemonic requests pyblake2 click libusb1 ];
# There are no actual tests: "ImportError: No module named tests"
doCheck = false;