Skip to content

Commit

Permalink
pythonPackages.trezor: disable build
Browse files Browse the repository at this point in the history
It seems as recent versions of `trezor` don't work with python 2.x:

```
/build/trezor-0.9.1/dist /build/trezor-0.9.1
Processing ./trezor-0.9.1-py2-none-any.whl
trezor requires Python '>=3.3' but the running Python is 2.7.15
builder for '/nix/store/aqyxki0ckanjk4r1f0an4kj1w4s3kk4f-python2.7-trezor-0.9.1.drv' failed with exit code 1
cannot build derivation '/nix/store/gp4smkzc9r87lzajs17jnq4rh2ayc5q0-python2.7-keepkey-4.0.0.drv': 1 dependencies couldn't be built
```
  • Loading branch information
Ma27 committed Jul 17, 2018
1 parent bf23666 commit ab41833
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/python-modules/trezor/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{ lib, fetchPypi, buildPythonPackage,
protobuf, hidapi, ecdsa, mnemonic, requests, pyblake2, click, libusb1, rlp
protobuf, hidapi, ecdsa, mnemonic, requests, pyblake2, click, libusb1, rlp, isPy3k
}:

buildPythonPackage rec {
pname = "trezor";
version = "0.9.1";

disabled = !isPy3k;

src = fetchPypi {
inherit pname version;
sha256 = "a481191011bade98f1e9f1201e7c72a83945050657bbc90dc4ac32dc8b8b46a4";
Expand Down

0 comments on commit ab41833

Please sign in to comment.