From e934ca1936fc0c2f303e89ecc3797c8d0483c5c8 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 4 Feb 2026 09:00:57 +0100 Subject: [PATCH 1/2] python313Packages.heatzypy: 2.5.7 -> 2.5.9 Diff: https://github.com/Cyr-ius/heatzypy/compare/2.5.7...2.5.9 Changelog: https://github.com/cyr-ius/heatzypy/releases/tag/2.5.9 --- pkgs/development/python-modules/heatzypy/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/heatzypy/default.nix b/pkgs/development/python-modules/heatzypy/default.nix index ec1fa4d54017..3762e35ceb6d 100644 --- a/pkgs/development/python-modules/heatzypy/default.nix +++ b/pkgs/development/python-modules/heatzypy/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "heatzypy"; - version = "2.5.7"; + version = "2.5.9"; pyproject = true; disabled = pythonOlder "3.11"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "Cyr-ius"; repo = "heatzypy"; tag = version; - hash = "sha256-MPieUg5p8j1OTWDwV/IY3dKz8bKcPrRy9tK2iKleEoM="; + hash = "sha256-6vdzxQGNQSMCFYA/nQ2T72RUWmBRvb9v0YcxVbjtG94="; }; build-system = [ From 4a15f1f1223473fe499871c46683c20a34691f95 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 4 Feb 2026 09:02:27 +0100 Subject: [PATCH 2/2] python313Packages.heatzypy: modernize --- pkgs/development/python-modules/heatzypy/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/heatzypy/default.nix b/pkgs/development/python-modules/heatzypy/default.nix index 3762e35ceb6d..d7f9236ff0c7 100644 --- a/pkgs/development/python-modules/heatzypy/default.nix +++ b/pkgs/development/python-modules/heatzypy/default.nix @@ -3,22 +3,19 @@ aiohttp, buildPythonPackage, fetchFromGitHub, - pythonOlder, setuptools, setuptools-scm, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "heatzypy"; version = "2.5.9"; pyproject = true; - disabled = pythonOlder "3.11"; - src = fetchFromGitHub { owner = "Cyr-ius"; repo = "heatzypy"; - tag = version; + tag = finalAttrs.version; hash = "sha256-6vdzxQGNQSMCFYA/nQ2T72RUWmBRvb9v0YcxVbjtG94="; }; @@ -37,8 +34,8 @@ buildPythonPackage rec { meta = { description = "Module to interact with Heatzy devices"; homepage = "https://github.com/Cyr-ius/heatzypy"; - changelog = "https://github.com/cyr-ius/heatzypy/releases/tag/${version}"; + changelog = "https://github.com/cyr-ius/heatzypy/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ fab ]; }; -} +})