python310Packages.hass-nabucasa: disable on unsupported Python releases

- add format
This commit is contained in:
Fabian Affolter 2023-03-18 17:12:07 +01:00 committed by Martin Weinelt
parent 4620b234fe
commit 096b9f83b5

View File

@ -8,6 +8,7 @@
, pycognito
, pytest-aiohttp
, pytestCheckHook
, pythonOlder
, snitun
, warrant
}:
@ -15,6 +16,9 @@
buildPythonPackage rec {
pname = "hass-nabucasa";
version = "0.61.1";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "nabucasa";
@ -47,7 +51,9 @@ buildPythonPackage rec {
pytestCheckHook
];
pythonImportsCheck = [ "hass_nabucasa" ];
pythonImportsCheck = [
"hass_nabucasa"
];
meta = with lib; {
homepage = "https://github.com/NabuCasa/hass-nabucasa";