forked from mirrors/nixpkgs
python3Packages.pyeconet: limit to later Python releases
This commit is contained in:
parent
42b14bb360
commit
3f9b3d21dd
|
@ -3,11 +3,15 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, aiohttp
|
, aiohttp
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyeconet";
|
pname = "pyeconet";
|
||||||
version = "0.1.15";
|
version = "0.1.15";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
|
@ -21,7 +25,10 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
# Tests require credentials
|
# Tests require credentials
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "pyeconet" ];
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"pyeconet"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python interface to the EcoNet API";
|
description = "Python interface to the EcoNet API";
|
||||||
|
|
Loading…
Reference in a new issue