Merge pull request #131041 from fabaff/bump-forecast-solar

python3Packages.forecast-solar: 1.3.1 -> 2.0.0
This commit is contained in:
Martin Weinelt 2021-08-04 12:53:37 +02:00 committed by GitHub
commit 7019124d17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,24 +1,28 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, aiodns
, aiohttp
, backports-zoneinfo
}:
buildPythonPackage rec {
pname = "forecast-solar";
version = "1.3.1";
version = "2.0.0";
src = fetchFromGitHub {
owner = "home-assistant-libs";
repo = "forecast_solar";
rev = version;
sha256 = "1kqzr1ypvdjw0zvac4spb6xdd2qpms9h8nr6vf0w9qx756ir0f95";
sha256 = "12d9bb3q7gp0yy152x0rcbi727wrg3w9458asp2nhnqlb8nm6j4d";
};
propagatedBuildInputs = [
aiodns
aiohttp
] ++ lib.optionals (pythonOlder "3.9") [
backports-zoneinfo
];
# no unit tests implemented