pythonPackages.ecpy: disable for python 2
setup.py specifies python_requires='>=3'
This commit is contained in:
parent
0862ca375c
commit
9b37f0a06d
|
@ -1,12 +1,13 @@
|
||||||
{ stdenv, fetchPypi, buildPythonPackage, hidapi
|
{ stdenv, fetchPypi, buildPythonPackage, isPy3k, hidapi
|
||||||
, pycrypto, pillow, protobuf, future, ecpy
|
, pycrypto, pillow, protobuf, future, ecpy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
name = "${pname}-${version}";
|
|
||||||
pname = "ECPy";
|
pname = "ECPy";
|
||||||
version = "0.8.3";
|
version = "0.8.3";
|
||||||
|
|
||||||
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "ef3d95419d53368f52fb7d4b883b8df0dfc2dd19a76243422d24981c3e5f27bd";
|
sha256 = "ef3d95419d53368f52fb7d4b883b8df0dfc2dd19a76243422d24981c3e5f27bd";
|
||||||
|
|
Loading…
Reference in New Issue