From 4c3fc5d920fb0cd963077e67c36945ce24994f6d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 29 Jan 2026 22:16:16 +0100 Subject: [PATCH 1/3] python313Packages.fritzconnection: 1.15.0 -> 1.15.1 Diff: https://github.com/kbr/fritzconnection/compare/1.15.0...1.15.1 Changelog: https://fritzconnection.readthedocs.io/en/1.15.1/sources/version_history.html --- pkgs/development/python-modules/fritzconnection/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/fritzconnection/default.nix b/pkgs/development/python-modules/fritzconnection/default.nix index 86d4f0cf653f..9c61bfe9f182 100644 --- a/pkgs/development/python-modules/fritzconnection/default.nix +++ b/pkgs/development/python-modules/fritzconnection/default.nix @@ -10,14 +10,14 @@ buildPythonPackage rec { pname = "fritzconnection"; - version = "1.15.0"; + version = "1.15.1"; pyproject = true; src = fetchFromGitHub { owner = "kbr"; repo = "fritzconnection"; tag = version; - hash = "sha256-ulY+nh9CSnxrktTlFSXAWJALkS4GwP/3dRIG07jQCWs="; + hash = "sha256-J07zAXZxQc3TCfsjYcBhQdxsYwHabE9vdj3eMkWua54="; }; build-system = [ setuptools ]; From 274614272e7100c7a6cecf5fc20511137635548f Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 29 Jan 2026 22:17:59 +0100 Subject: [PATCH 2/3] python313Packages.fritzconnection: migrate to finalAttrs --- .../python-modules/fritzconnection/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/fritzconnection/default.nix b/pkgs/development/python-modules/fritzconnection/default.nix index 9c61bfe9f182..3afbbdc6d3be 100644 --- a/pkgs/development/python-modules/fritzconnection/default.nix +++ b/pkgs/development/python-modules/fritzconnection/default.nix @@ -8,7 +8,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "fritzconnection"; version = "1.15.1"; pyproject = true; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "kbr"; repo = "fritzconnection"; - tag = version; + tag = finalAttrs.version; hash = "sha256-J07zAXZxQc3TCfsjYcBhQdxsYwHabE9vdj3eMkWua54="; }; @@ -44,11 +44,11 @@ buildPythonPackage rec { meta = { description = "Python module to communicate with the AVM Fritz!Box"; homepage = "https://github.com/kbr/fritzconnection"; - changelog = "https://fritzconnection.readthedocs.io/en/${version}/sources/version_history.html"; + changelog = "https://fritzconnection.readthedocs.io/en/${finalAttrs.src.tag}/sources/version_history.html"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ dotlambda valodim ]; }; -} +}) From a2bf4fb00ccad35a4c05496a98995c7574a52f35 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 29 Jan 2026 22:19:19 +0100 Subject: [PATCH 3/3] python313Packages.fritzconnection: migrate to writableTmpDirAsHomeHook --- .../python-modules/fritzconnection/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/fritzconnection/default.nix b/pkgs/development/python-modules/fritzconnection/default.nix index 3afbbdc6d3be..1de0d06e5db5 100644 --- a/pkgs/development/python-modules/fritzconnection/default.nix +++ b/pkgs/development/python-modules/fritzconnection/default.nix @@ -6,6 +6,7 @@ requests, segno, setuptools, + writableTmpDirAsHomeHook, }: buildPythonPackage (finalAttrs: { @@ -28,11 +29,10 @@ buildPythonPackage (finalAttrs: { qr = [ segno ]; }; - nativeCheckInputs = [ pytestCheckHook ]; - - preCheck = '' - export HOME=$TEMP - ''; + nativeCheckInputs = [ + pytestCheckHook + writableTmpDirAsHomeHook + ]; pythonImportsCheck = [ "fritzconnection" ];