{ pkgs, python311 }: python311.pkgs.buildPythonPackage rec { pname = "forecast_solar"; version = "3.0.0"; src = pkgs.fetchFromGitHub { owner = "home-assistant-libs"; repo = "forecast_solar"; rev = version; sha256 = "Go0DF2qyVyGVYEeoEEuxsSR9Ge8Pg4S77zM1HL83ELc="; }; pythonImportsCheck = [ "pytest" "flake8" ]; propagatedBuildInputs = with python311.pkgs; [ pytest flake8 ]; }