From 81aab7120254f633789b4669df548c59339dee59 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 1 Mar 2026 10:00:03 +0100 Subject: [PATCH 1/2] python3Packages.weheat: 2026.1.25 -> 2026.2.28 Diff: https://github.com/wefabricate/wh-python/compare/2026.1.25...2026.2.28 Changelog: https://github.com/wefabricate/wh-python/releases/tag/2026.2.28 --- pkgs/development/python-modules/weheat/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/weheat/default.nix b/pkgs/development/python-modules/weheat/default.nix index c965380b0da4..b23e1eb8c2e7 100644 --- a/pkgs/development/python-modules/weheat/default.nix +++ b/pkgs/development/python-modules/weheat/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "weheat"; - version = "2026.1.25"; + version = "2026.2.28"; pyproject = true; src = fetchFromGitHub { owner = "wefabricate"; repo = "wh-python"; tag = version; - hash = "sha256-8gpRK7vQojOskF0n8iY/UzfCfNPQZ5eVhw2H7vZvgps="; + hash = "sha256-V29B30LztIHFbTRTqppR3kvVNwDoK4BPq5fK1blJUrU="; }; build-system = [ setuptools ]; From 6eec0a017cd25135b28137c46b8cc29569b1bff5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 1 Mar 2026 10:12:00 +0100 Subject: [PATCH 2/2] python3Packages.weheat: migrate to finalAttrs --- pkgs/development/python-modules/weheat/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/weheat/default.nix b/pkgs/development/python-modules/weheat/default.nix index b23e1eb8c2e7..f4a5fd26782d 100644 --- a/pkgs/development/python-modules/weheat/default.nix +++ b/pkgs/development/python-modules/weheat/default.nix @@ -11,7 +11,7 @@ urllib3, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "weheat"; version = "2026.2.28"; pyproject = true; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "wefabricate"; repo = "wh-python"; - tag = version; + tag = finalAttrs.version; hash = "sha256-V29B30LztIHFbTRTqppR3kvVNwDoK4BPq5fK1blJUrU="; }; @@ -42,8 +42,8 @@ buildPythonPackage rec { meta = { description = "Library to interact with the weheat API"; homepage = "https://github.com/wefabricate/wh-python"; - changelog = "https://github.com/wefabricate/wh-python/releases/tag/${src.tag}"; + changelog = "https://github.com/wefabricate/wh-python/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})