From 5f53e5ac5b2273ce21501d8048392cdd5458ff5f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 30 Dec 2025 21:39:20 +0100 Subject: [PATCH 1/2] python313Packages.accuweather: 4.2.2 -> 5.0.0 Diff: https://github.com/bieniu/accuweather/compare/4.2.2...5.0.0 Changelog: https://github.com/bieniu/accuweather/releases/tag/5.0.0 --- pkgs/development/python-modules/accuweather/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/accuweather/default.nix b/pkgs/development/python-modules/accuweather/default.nix index 120281bc02a9..0b5da23b49a7 100644 --- a/pkgs/development/python-modules/accuweather/default.nix +++ b/pkgs/development/python-modules/accuweather/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "accuweather"; - version = "4.2.2"; + version = "5.0.0"; pyproject = true; disabled = pythonOlder "3.12"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "bieniu"; repo = "accuweather"; tag = version; - hash = "sha256-ORxo92nfLGNRC+eWX4NrpoMgiCLbtfR5JA+23OT/L3Y="; + hash = "sha256-EM0DpFvToPgI0PSFYlJsQQ16Uh1qd0ARp1ucvUD16ss="; }; build-system = [ setuptools ]; From e29093eb7b3c1b17804aa4bda69a92d90a48b0d6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 31 Dec 2025 12:30:59 +0100 Subject: [PATCH 2/2] python313Packages.accuweather: modernize --- pkgs/development/python-modules/accuweather/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/accuweather/default.nix b/pkgs/development/python-modules/accuweather/default.nix index 0b5da23b49a7..431bb391292e 100644 --- a/pkgs/development/python-modules/accuweather/default.nix +++ b/pkgs/development/python-modules/accuweather/default.nix @@ -8,7 +8,6 @@ pytest-asyncio, pytest-error-for-skips, pytestCheckHook, - pythonOlder, setuptools, syrupy, }: @@ -18,8 +17,6 @@ buildPythonPackage rec { version = "5.0.0"; pyproject = true; - disabled = pythonOlder "3.12"; - src = fetchFromGitHub { owner = "bieniu"; repo = "accuweather"; @@ -47,7 +44,7 @@ buildPythonPackage rec { meta = { description = "Python wrapper for getting weather data from AccuWeather servers"; homepage = "https://github.com/bieniu/accuweather"; - changelog = "https://github.com/bieniu/accuweather/releases/tag/${version}"; + changelog = "https://github.com/bieniu/accuweather/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ jamiemagee ]; };