add forecast-solar

This commit is contained in:
Hendrik Sokolowski 2023-10-29 01:07:11 +02:00
parent 3bbff6a3cd
commit f539b24544

View file

@ -0,0 +1,19 @@
{ 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
];
}