Merge pull request #302587 from r-ryantm/auto-update/python312Packages.forecast-solar
python312Packages.forecast-solar: 3.0.0 -> 3.1.0
This commit is contained in:
commit
4b31973464
1 changed files with 12 additions and 7 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, setuptools
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, aiodns
|
, aiodns
|
||||||
, aiohttp
|
, aiohttp
|
||||||
|
@ -10,20 +11,23 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "forecast-solar";
|
pname = "forecast-solar";
|
||||||
version = "3.0.0";
|
version = "3.1.0";
|
||||||
|
pyproject = true;
|
||||||
format = "setuptools";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "home-assistant-libs";
|
owner = "home-assistant-libs";
|
||||||
repo = "forecast_solar";
|
repo = "forecast_solar";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-Go0DF2qyVyGVYEeoEEuxsSR9Ge8Pg4S77zM1HL83ELc=";
|
hash = "sha256-iol0XtfPZI95o/uEyBcXgeQjcfl2kI+4mugtywa6BXI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
PACKAGE_VERSION = version;
|
build-system = [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
env.PACKAGE_VERSION = version;
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
aiodns
|
aiodns
|
||||||
aiohttp
|
aiohttp
|
||||||
] ++ lib.optionals (pythonOlder "3.9") [
|
] ++ lib.optionals (pythonOlder "3.9") [
|
||||||
|
@ -37,6 +41,7 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/home-assistant-libs/forecast_solar/releases/tag/v${version}";
|
||||||
description = "Asynchronous Python client for getting forecast solar information";
|
description = "Asynchronous Python client for getting forecast solar information";
|
||||||
homepage = "https://github.com/home-assistant-libs/forecast_solar";
|
homepage = "https://github.com/home-assistant-libs/forecast_solar";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
|
Loading…
Reference in a new issue