Loading pkgs/development/python-modules/forecast-solar/default.nix +12 −7 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , setuptools , pythonOlder , aiodns , aiohttp Loading @@ -10,20 +11,23 @@ buildPythonPackage rec { pname = "forecast-solar"; version = "3.0.0"; format = "setuptools"; version = "3.1.0"; pyproject = true; src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "forecast_solar"; rev = "refs/tags/${version}"; hash = "sha256-Go0DF2qyVyGVYEeoEEuxsSR9Ge8Pg4S77zM1HL83ELc="; rev = "refs/tags/v${version}"; hash = "sha256-iol0XtfPZI95o/uEyBcXgeQjcfl2kI+4mugtywa6BXI="; }; PACKAGE_VERSION = version; build-system = [ setuptools ]; env.PACKAGE_VERSION = version; propagatedBuildInputs = [ dependencies = [ aiodns aiohttp ] ++ lib.optionals (pythonOlder "3.9") [ Loading @@ -37,6 +41,7 @@ buildPythonPackage rec { ]; 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"; homepage = "https://github.com/home-assistant-libs/forecast_solar"; license = licenses.mit; Loading Loading
pkgs/development/python-modules/forecast-solar/default.nix +12 −7 Original line number Diff line number Diff line { lib , buildPythonPackage , fetchFromGitHub , setuptools , pythonOlder , aiodns , aiohttp Loading @@ -10,20 +11,23 @@ buildPythonPackage rec { pname = "forecast-solar"; version = "3.0.0"; format = "setuptools"; version = "3.1.0"; pyproject = true; src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "forecast_solar"; rev = "refs/tags/${version}"; hash = "sha256-Go0DF2qyVyGVYEeoEEuxsSR9Ge8Pg4S77zM1HL83ELc="; rev = "refs/tags/v${version}"; hash = "sha256-iol0XtfPZI95o/uEyBcXgeQjcfl2kI+4mugtywa6BXI="; }; PACKAGE_VERSION = version; build-system = [ setuptools ]; env.PACKAGE_VERSION = version; propagatedBuildInputs = [ dependencies = [ aiodns aiohttp ] ++ lib.optionals (pythonOlder "3.9") [ Loading @@ -37,6 +41,7 @@ buildPythonPackage rec { ]; 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"; homepage = "https://github.com/home-assistant-libs/forecast_solar"; license = licenses.mit; Loading