Loading pkgs/development/python-modules/accuweather/default.nix +23 −19 Original line number Diff line number Diff line { lib , aiohttp , aioresponses , buildPythonPackage , fetchFromGitHub , orjson , pytest-asyncio , pytest-error-for-skips , pytestCheckHook , pythonOlder { lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, orjson, pytest-asyncio, pytest-error-for-skips, pytestCheckHook, pythonOlder, setuptools, syrupy, }: buildPythonPackage rec { pname = "accuweather"; version = "2.1.1"; format = "setuptools"; version = "3.0.0"; pyproject = true; disabled = pythonOlder "3.9"; disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "bieniu"; repo = pname; repo = "accuweather"; rev = "refs/tags/${version}"; hash = "sha256-hbmeQnxVhBbXKHNdeXzAwRnMKBNvKsdfHg8MzALinhc="; hash = "sha256-hnKwK0I8C8Xh7yn4yk2DqowqgyZYDB22IEllm5MeIGo="; }; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ aiohttp orjson ]; Loading @@ -34,11 +39,10 @@ buildPythonPackage rec { pytest-asyncio pytest-error-for-skips pytestCheckHook syrupy ]; pythonImportsCheck = [ "accuweather" ]; pythonImportsCheck = [ "accuweather" ]; meta = with lib; { description = "Python wrapper for getting weather data from AccuWeather servers"; Loading Loading
pkgs/development/python-modules/accuweather/default.nix +23 −19 Original line number Diff line number Diff line { lib , aiohttp , aioresponses , buildPythonPackage , fetchFromGitHub , orjson , pytest-asyncio , pytest-error-for-skips , pytestCheckHook , pythonOlder { lib, aiohttp, aioresponses, buildPythonPackage, fetchFromGitHub, orjson, pytest-asyncio, pytest-error-for-skips, pytestCheckHook, pythonOlder, setuptools, syrupy, }: buildPythonPackage rec { pname = "accuweather"; version = "2.1.1"; format = "setuptools"; version = "3.0.0"; pyproject = true; disabled = pythonOlder "3.9"; disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "bieniu"; repo = pname; repo = "accuweather"; rev = "refs/tags/${version}"; hash = "sha256-hbmeQnxVhBbXKHNdeXzAwRnMKBNvKsdfHg8MzALinhc="; hash = "sha256-hnKwK0I8C8Xh7yn4yk2DqowqgyZYDB22IEllm5MeIGo="; }; propagatedBuildInputs = [ build-system = [ setuptools ]; dependencies = [ aiohttp orjson ]; Loading @@ -34,11 +39,10 @@ buildPythonPackage rec { pytest-asyncio pytest-error-for-skips pytestCheckHook syrupy ]; pythonImportsCheck = [ "accuweather" ]; pythonImportsCheck = [ "accuweather" ]; meta = with lib; { description = "Python wrapper for getting weather data from AccuWeather servers"; Loading