3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.pyeconet: limit to later Python releases

This commit is contained in:
Fabian Affolter 2022-02-17 09:03:20 +01:00
parent 42b14bb360
commit 3f9b3d21dd

View file

@ -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";