From 8d8530229fea6c921416fa783d170e6b662bf843 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 Apr 2026 14:35:48 +0200 Subject: [PATCH 1/2] python3Packages.apple-weatherkit: 1.1.3 -> 1.2.0 Diff: https://github.com/tjhorner/python-weatherkit/compare/v1.1.3...v1.2.0 Changelog: https://github.com/tjhorner/python-weatherkit/releases/tag/v1.2.0 --- pkgs/development/python-modules/apple-weatherkit/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/apple-weatherkit/default.nix b/pkgs/development/python-modules/apple-weatherkit/default.nix index a9afaa51b4b3..c5a064ef50eb 100644 --- a/pkgs/development/python-modules/apple-weatherkit/default.nix +++ b/pkgs/development/python-modules/apple-weatherkit/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { 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="; + hash = "sha256-6dln/599XTJrIY2wL8n9WdHEjJ75goYeZC5szQ6WNsk="; }; build-system = [ poetry-core ]; From 0915ce85135ca6c592e9ee754e37b716351ce6b3 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 Apr 2026 14:37:10 +0200 Subject: [PATCH 2/2] python3Packages.apple-weatherkit: migrate to finalAttrs --- .../python-modules/apple-weatherkit/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/apple-weatherkit/default.nix b/pkgs/development/python-modules/apple-weatherkit/default.nix index c5a064ef50eb..6e03a8e4d3bd 100644 --- a/pkgs/development/python-modules/apple-weatherkit/default.nix +++ b/pkgs/development/python-modules/apple-weatherkit/default.nix @@ -8,7 +8,7 @@ pyjwt, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "apple-weatherkit"; version = "1.2.0"; pyproject = true; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "tjhorner"; repo = "python-weatherkit"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-6dln/599XTJrIY2wL8n9WdHEjJ75goYeZC5szQ6WNsk="; }; @@ -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 ]; }; -} +})