Skip to content

Commit

Permalink
pythonPackages.ecpy: disable for python 2
Browse files Browse the repository at this point in the history
setup.py specifies
    python_requires='>=3'
  • Loading branch information
Robert Schütz committed Feb 22, 2018
1 parent 0862ca3 commit 9b37f0a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/development/python-modules/ecpy/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{ stdenv, fetchPypi, buildPythonPackage, hidapi
{ stdenv, fetchPypi, buildPythonPackage, isPy3k, hidapi
, pycrypto, pillow, protobuf, future, ecpy
}:

buildPythonPackage rec {
name = "${pname}-${version}";
pname = "ECPy";
version = "0.8.3";

disabled = !isPy3k;

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

0 comments on commit 9b37f0a

Please sign in to comment.