python.pkgs.keepkey: 0.7.3 -> 4.0.0
This commit is contained in:
parent
65d115dd7d
commit
8ad6b2e862
@ -1,21 +1,25 @@
|
|||||||
{ stdenv, fetchPypi, buildPythonPackage, ecdsa
|
{ stdenv, fetchFromGitHub, buildPythonPackage, pytest
|
||||||
, mnemonic, protobuf, hidapi }:
|
, ecdsa , mnemonic, protobuf, hidapi, trezor }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
name = "${pname}-${version}";
|
||||||
pname = "keepkey";
|
pname = "keepkey";
|
||||||
version = "0.7.3";
|
version = "4.0.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchFromGitHub {
|
||||||
inherit pname version;
|
owner = "keepkey";
|
||||||
sha256 = "14d2r8dlx997ypgma2k8by90acw7i3l7hfq4gar9lcka0lqfj714";
|
repo = "python-keepkey";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "144awjkc169z2n1ffirs697y6m97izh3pbh3sjhy3nji7jszh592";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ protobuf hidapi ];
|
propagatedBuildInputs = [ protobuf hidapi trezor ];
|
||||||
|
|
||||||
buildInputs = [ ecdsa mnemonic ];
|
buildInputs = [ ecdsa mnemonic ];
|
||||||
|
|
||||||
# There are no actual tests: "ImportError: No module named tests"
|
checkInputs = [ pytest ];
|
||||||
|
|
||||||
|
# tests requires hardware
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
# Remove impossible dependency constraint
|
# Remove impossible dependency constraint
|
||||||
|
Loading…
Reference in New Issue
Block a user