From 66dc105d66f0e69bee93458227ab8840ea5eb77a Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Tue, 10 Mar 2026 03:04:54 +0000 Subject: [PATCH 1/2] python3Packages.plugwise: 1.11.2 -> 1.11.3 --- pkgs/development/python-modules/plugwise/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/plugwise/default.nix b/pkgs/development/python-modules/plugwise/default.nix index 383c89717d9e..0e9ea686aca1 100644 --- a/pkgs/development/python-modules/plugwise/default.nix +++ b/pkgs/development/python-modules/plugwise/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { pname = "plugwise"; - version = "1.11.2"; + version = "1.11.3"; pyproject = true; disabled = pythonOlder "3.12"; @@ -27,7 +27,7 @@ buildPythonPackage rec { owner = "plugwise"; repo = "python-plugwise"; tag = "v${version}"; - hash = "sha256-4d9AK2sT0KVKU0oDfskOiSq7g2BuZksPL0wVJN0LbzY="; + hash = "sha256-tIV1h5V+a1ERr5uGH68pMDK6C55qGgJpegPRvXwZ7bM="; }; postPatch = '' From 5626478845d197b1220872a434c462a8b4064355 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 10 Mar 2026 14:40:10 +0100 Subject: [PATCH 2/2] python3Packages.plugwise: modernize --- pkgs/development/python-modules/plugwise/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/plugwise/default.nix b/pkgs/development/python-modules/plugwise/default.nix index 0e9ea686aca1..7f91aa1a4c18 100644 --- a/pkgs/development/python-modules/plugwise/default.nix +++ b/pkgs/development/python-modules/plugwise/default.nix @@ -12,21 +12,18 @@ pytest-asyncio, pytestCheckHook, python-dateutil, - pythonOlder, setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "plugwise"; version = "1.11.3"; pyproject = true; - disabled = pythonOlder "3.12"; - src = fetchFromGitHub { owner = "plugwise"; repo = "python-plugwise"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-tIV1h5V+a1ERr5uGH68pMDK6C55qGgJpegPRvXwZ7bM="; }; @@ -60,8 +57,8 @@ buildPythonPackage rec { meta = { description = "Python module for Plugwise Smiles, Stretch and USB stick"; homepage = "https://github.com/plugwise/python-plugwise"; - changelog = "https://github.com/plugwise/python-plugwise/releases/tag/${src.tag}"; + changelog = "https://github.com/plugwise/python-plugwise/releases/tag/${finalAttrs.src.tag}"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fab ]; }; -} +})