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
|
||||
, fetchPypi
|
||||
, aiohttp
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyeconet";
|
||||
version = "0.1.15";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -21,7 +25,10 @@ buildPythonPackage rec {
|
|||
|
||||
# Tests require credentials
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "pyeconet" ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyeconet"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python interface to the EcoNet API";
|
||||
|
|
Loading…
Reference in a new issue