pyserial: only disable on actually-unsupported versions
This commit is contained in:
parent
2a04d4cb5e
commit
f89ccf732b
|
@ -4,6 +4,7 @@
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, python
|
, python
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
|
, isPy3k
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
@ -11,7 +12,8 @@ buildPythonPackage rec {
|
||||||
version = "3.5";
|
version = "3.5";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
# Supports Python 2.7 and 3.4+
|
||||||
|
disabled = isPy3k && pythonOlder "3.4";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
|
Loading…
Reference in a new issue