add forecast-solar
This commit is contained in:
parent
3bbff6a3cd
commit
f539b24544
19
hosts/giggles/forecast-solar.nix
Normal file
19
hosts/giggles/forecast-solar.nix
Normal 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
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue