diff --git a/pkgs/development/python-modules/apple-weatherkit/default.nix b/pkgs/development/python-modules/apple-weatherkit/default.nix index a9afaa51b4b3..6e03a8e4d3bd 100644 --- a/pkgs/development/python-modules/apple-weatherkit/default.nix +++ b/pkgs/development/python-modules/apple-weatherkit/default.nix @@ -8,16 +8,16 @@ pyjwt, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "apple-weatherkit"; - version = "1.1.3"; + version = "1.2.0"; pyproject = true; src = fetchFromGitHub { owner = "tjhorner"; repo = "python-weatherkit"; - tag = "v${version}"; - hash = "sha256-JvN8GmlTxz9VGttIFVG6q//c+BhP2pt1tBOhnJhNwJg="; + tag = "v${finalAttrs.version}"; + hash = "sha256-6dln/599XTJrIY2wL8n9WdHEjJ75goYeZC5szQ6WNsk="; }; build-system = [ poetry-core ]; @@ -37,8 +37,8 @@ buildPythonPackage rec { meta = { description = "Python library for Apple WeatherKit"; homepage = "https://github.com/tjhorner/python-weatherkit"; - changelog = "https://github.com/tjhorner/python-weatherkit/releases/tag/v${version}"; + changelog = "https://github.com/tjhorner/python-weatherkit/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})