forked from mirrors/nixpkgs
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
|
||||
, mnemonic, protobuf, hidapi }:
|
||||
{ stdenv, fetchFromGitHub, buildPythonPackage, pytest
|
||||
, ecdsa , mnemonic, protobuf, hidapi, trezor }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "keepkey";
|
||||
version = "0.7.3";
|
||||
version = "4.0.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "14d2r8dlx997ypgma2k8by90acw7i3l7hfq4gar9lcka0lqfj714";
|
||||
src = fetchFromGitHub {
|
||||
owner = "keepkey";
|
||||
repo = "python-keepkey";
|
||||
rev = "v${version}";
|
||||
sha256 = "144awjkc169z2n1ffirs697y6m97izh3pbh3sjhy3nji7jszh592";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ protobuf hidapi ];
|
||||
propagatedBuildInputs = [ protobuf hidapi trezor ];
|
||||
|
||||
buildInputs = [ ecdsa mnemonic ];
|
||||
|
||||
# There are no actual tests: "ImportError: No module named tests"
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
# tests requires hardware
|
||||
doCheck = false;
|
||||
|
||||
# Remove impossible dependency constraint
|
||||
|
|
Loading…
Reference in a new issue