diff --git a/pkgs/development/python-modules/forecast-solar/default.nix b/pkgs/development/python-modules/forecast-solar/default.nix index 8543662edbd7..8a955b514440 100644 --- a/pkgs/development/python-modules/forecast-solar/default.nix +++ b/pkgs/development/python-modules/forecast-solar/default.nix @@ -6,7 +6,6 @@ pythonOlder, aiodns, aiohttp, - backports-zoneinfo, pytestCheckHook, }: @@ -15,6 +14,8 @@ buildPythonPackage rec { version = "3.1.0"; pyproject = true; + disabled = pythonOlder "3.11"; + src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "forecast_solar"; @@ -29,7 +30,7 @@ buildPythonPackage rec { dependencies = [ aiodns aiohttp - ] ++ lib.optionals (pythonOlder "3.9") [ backports-zoneinfo ]; + ]; pythonImportsCheck = [ "forecast_solar" ];