diff --git a/pkgs/development/python-modules/accuweather/default.nix b/pkgs/development/python-modules/accuweather/default.nix index 120281bc02a9..431bb391292e 100644 --- a/pkgs/development/python-modules/accuweather/default.nix +++ b/pkgs/development/python-modules/accuweather/default.nix @@ -8,23 +8,20 @@ pytest-asyncio, pytest-error-for-skips, pytestCheckHook, - pythonOlder, setuptools, syrupy, }: buildPythonPackage rec { pname = "accuweather"; - version = "4.2.2"; + version = "5.0.0"; pyproject = true; - disabled = pythonOlder "3.12"; - src = fetchFromGitHub { owner = "bieniu"; repo = "accuweather"; tag = version; - hash = "sha256-ORxo92nfLGNRC+eWX4NrpoMgiCLbtfR5JA+23OT/L3Y="; + hash = "sha256-EM0DpFvToPgI0PSFYlJsQQ16Uh1qd0ARp1ucvUD16ss="; }; build-system = [ setuptools ]; @@ -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 ]; };