summary refs log tree commit diff
path: root/pkgs/development/python-modules/trezor
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2017-06-22 14:27:11 +0200
committeraszlig <aszlig@redmoonstudios.org>2017-06-22 14:29:25 +0200
commit9c57f3b5c05621f0d1c207aa80f20ccc1d79ebfb (patch)
treed78158b3b21c49199e91a0f93aa39d48619ad46b /pkgs/development/python-modules/trezor
parent5041df441112a4533c62091799d864e61dbda3de (diff)
downloadnixpkgs-9c57f3b5c05621f0d1c207aa80f20ccc1d79ebfb.tar
nixpkgs-9c57f3b5c05621f0d1c207aa80f20ccc1d79ebfb.tar.gz
nixpkgs-9c57f3b5c05621f0d1c207aa80f20ccc1d79ebfb.tar.bz2
nixpkgs-9c57f3b5c05621f0d1c207aa80f20ccc1d79ebfb.tar.lz
nixpkgs-9c57f3b5c05621f0d1c207aa80f20ccc1d79ebfb.tar.xz
nixpkgs-9c57f3b5c05621f0d1c207aa80f20ccc1d79ebfb.tar.zst
nixpkgs-9c57f3b5c05621f0d1c207aa80f20ccc1d79ebfb.zip
python-modules/trezor: Fix build
Regression introduced by 76beb0831384b5ae53592513507524990017e973.

With version 0.7.15 a few additional dependencies are needed by trezor,
mainly a newer version of protobuf bindings and requests.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Cc: @np
Diffstat (limited to 'pkgs/development/python-modules/trezor')
-rw-r--r--pkgs/development/python-modules/trezor/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/trezor/default.nix b/pkgs/development/python-modules/trezor/default.nix
index 29e6a7d1743..6a3f9c63890 100644
--- a/pkgs/development/python-modules/trezor/default.nix
+++ b/pkgs/development/python-modules/trezor/default.nix
@@ -1,4 +1,6 @@
-{ lib, fetchPypi, buildPythonPackage, protobuf3_0, hidapi, ecdsa, mnemonic }:
+{ lib, fetchPypi, buildPythonPackage, protobuf3_2, hidapi, ecdsa, mnemonic
+, requests
+}:
 
 buildPythonPackage rec {
   name = "${pname}-${version}";
@@ -10,7 +12,7 @@ buildPythonPackage rec {
     sha256 = "f7e4f509263ca172532b4c0a440d164add7cdc021b4370a253d51eba5806b618";
   };
 
-  propagatedBuildInputs = [ protobuf3_0 hidapi ];
+  propagatedBuildInputs = [ protobuf3_2 hidapi requests ];
 
   buildInputs = [ ecdsa mnemonic ];