python3Packages.aiolifx: disable on older Python releases

This commit is contained in:
Fabian Affolter 2022-04-23 15:45:44 +02:00 committed by Jonathan Ringer
parent cb536356ee
commit 6fbd7f1c04

View file

@ -9,12 +9,13 @@
buildPythonPackage rec {
pname = "aiolifx";
version = "0.8.0";
format = "setuptools";
disabled = pythonOlder "3.4";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-7XwtTALfEFAI2Rl3JcVcncIZBTFNuXyyclpJj5jHyEU=";
hash = "sha256-7XwtTALfEFAI2Rl3JcVcncIZBTFNuXyyclpJj5jHyEU=";
};
propagatedBuildInputs = [
@ -25,10 +26,12 @@ buildPythonPackage rec {
# tests are not implemented
doCheck = false;
pythonImportsCheck = [ "aiolifx" ];
pythonImportsCheck = [
"aiolifx"
];
meta = with lib; {
description = "API for local communication with LIFX devices over a LAN";
description = "MOdule for local communication with LIFX devices over a LAN";
homepage = "https://github.com/frawau/aiolifx";
license = licenses.mit;
maintainers = with maintainers; [ netixx ];