From fb2b25fe92abc7512897a8c6688d483c63c6e0e1 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 15 May 2026 01:04:01 +0200 Subject: [PATCH 1/2] python3Packages.thermopro-ble: 1.1.3 -> 1.1.4 Diff: https://github.com/bluetooth-devices/thermopro-ble/compare/v1.1.3...v1.1.4 Changelog: https://github.com/Bluetooth-Devices/thermopro-ble/releases/tag/v1.1.4 --- pkgs/development/python-modules/thermopro-ble/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/thermopro-ble/default.nix b/pkgs/development/python-modules/thermopro-ble/default.nix index 83c6b11858f1..7ab4055688ca 100644 --- a/pkgs/development/python-modules/thermopro-ble/default.nix +++ b/pkgs/development/python-modules/thermopro-ble/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "thermopro-ble"; - version = "1.1.3"; + version = "1.1.4"; pyproject = true; src = fetchFromGitHub { owner = "bluetooth-devices"; repo = "thermopro-ble"; tag = "v${version}"; - hash = "sha256-LyFA/O7nsmbg8KxT07Z0l+GEnTWF/IG0ykIN/8FK8Es="; + hash = "sha256-goTJwTMaWBm5gc0/LOkjpKeRTkLStHkKJYsbE5Wj/X4="; }; build-system = [ poetry-core ]; From bcb2f7c039f642791cdafee40f34522b899c02b9 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 15 May 2026 01:20:37 +0200 Subject: [PATCH 2/2] python3Packages.thermopro-ble: migrate to finalAttrs --- pkgs/development/python-modules/thermopro-ble/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/thermopro-ble/default.nix b/pkgs/development/python-modules/thermopro-ble/default.nix index 7ab4055688ca..08430d51d81f 100644 --- a/pkgs/development/python-modules/thermopro-ble/default.nix +++ b/pkgs/development/python-modules/thermopro-ble/default.nix @@ -11,7 +11,7 @@ sensor-state-data, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "thermopro-ble"; version = "1.1.4"; pyproject = true; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "bluetooth-devices"; repo = "thermopro-ble"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-goTJwTMaWBm5gc0/LOkjpKeRTkLStHkKJYsbE5Wj/X4="; }; @@ -42,8 +42,8 @@ buildPythonPackage rec { meta = { description = "Library for Thermopro BLE devices"; homepage = "https://github.com/bluetooth-devices/thermopro-ble"; - changelog = "https://github.com/Bluetooth-Devices/thermopro-ble/releases/tag/${src.tag}"; + changelog = "https://github.com/Bluetooth-Devices/thermopro-ble/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})