diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2024-04-19 12:27:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-19 12:27:50 +0200 |
commit | ee5ad6173a9d9c117af6240091ac19e46789f586 (patch) | |
tree | c36036556f177c8eeac45048833ce9926eef3fc9 /pkgs | |
parent | 5ab7ff1f84836ce3d4b50f55f40607173b865d86 (diff) | |
parent | ae9a721adad459a63bec2eadce83e4046c1f8dd0 (diff) |
Merge pull request #305255 from fabaff/accuweather-bump
python312Packages.accuweather: 2.1.1 -> 3.0.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/accuweather/default.nix | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/pkgs/development/python-modules/accuweather/default.nix b/pkgs/development/python-modules/accuweather/default.nix index 6069d06d9984c..e27c617665561 100644 --- a/pkgs/development/python-modules/accuweather/default.nix +++ b/pkgs/development/python-modules/accuweather/default.nix @@ -1,30 +1,35 @@ -{ 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 ]; @@ -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"; |