about summary refs log tree commit diff
path: root/pkgs/development/python-modules/keepkey
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2021-12-10 21:22:30 +0100
committerPavol Rusnak <pavol@rusnak.io>2021-12-17 15:39:48 +0100
commit510c0408725bcc0fe03a6d0f717217581921092d (patch)
tree3221b946f5f274d155508d78e5de5c665455036b /pkgs/development/python-modules/keepkey
parent71cabc227bf44337bf465b85ecd577690950e5bb (diff)
python3Packages.keepkey: fix dependencies
- trezor is not required
- ecdsa, libusb1 and mnemonic are
Diffstat (limited to 'pkgs/development/python-modules/keepkey')
-rw-r--r--pkgs/development/python-modules/keepkey/default.nix16
1 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/keepkey/default.nix b/pkgs/development/python-modules/keepkey/default.nix
index 95981992fea3e..a29ce93680714 100644
--- a/pkgs/development/python-modules/keepkey/default.nix
+++ b/pkgs/development/python-modules/keepkey/default.nix
@@ -1,5 +1,13 @@
-{ lib, fetchFromGitHub, buildPythonPackage, pytest
-, ecdsa , mnemonic, protobuf, hidapi, trezor }:
+{ lib
+, fetchFromGitHub
+, buildPythonPackage
+, ecdsa
+, hidapi
+, libusb1
+, mnemonic
+, protobuf
+, pytest
+}:
 
 buildPythonPackage rec {
   pname = "keepkey";
@@ -12,9 +20,7 @@ buildPythonPackage rec {
     sha256 = "00hqppdj3s9y25x4ad59y8axq94dd4chhw9zixq32sdrd9v8z55a";
   };
 
-  propagatedBuildInputs = [ protobuf hidapi trezor ];
-
-  buildInputs = [ ecdsa mnemonic ];
+  propagatedBuildInputs = [ ecdsa hidapi libusb1 mnemonic protobuf ];
 
   checkInputs = [ pytest ];