From aaac581fdfe5c9880b3b7918167080b61bdf0c34 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 2 Oct 2026 04:08:03 +0000 Subject: [PATCH 1/2] python3Packages.bluemaestro-ble: 1.0.0 -> 1.2.0 --- pkgs/development/python-modules/bluemaestro-ble/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/bluemaestro-ble/default.nix b/pkgs/development/python-modules/bluemaestro-ble/default.nix index f82d98d94150..c6ed32d9913b 100644 --- a/pkgs/development/python-modules/bluemaestro-ble/default.nix +++ b/pkgs/development/python-modules/bluemaestro-ble/default.nix @@ -12,14 +12,14 @@ buildPythonPackage rec { pname = "bluemaestro-ble"; - version = "1.0.0"; + version = "1.2.0"; pyproject = true; src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = "bluemaestro-ble"; tag = "v${version}"; - hash = "sha256-H7VAidnClMA/Qmc4ahzrmSaqkWj50zMjfakRD0wX8xM="; + hash = "sha256-Uz4JE7ALfHxmdi7OesdJZqp4JhQdQGNwoiDxZyk8g9c="; }; build-system = [ poetry-core ]; From 716bbaf3014a8a5d967a7e5b81d4ead4e23d9855 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 2 Oct 2026 10:00:08 +0200 Subject: [PATCH 2/2] python3Packages.bluemaestro-ble: migrate to finalAttrs --- .../python-modules/bluemaestro-ble/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/bluemaestro-ble/default.nix b/pkgs/development/python-modules/bluemaestro-ble/default.nix index c6ed32d9913b..96da51be869d 100644 --- a/pkgs/development/python-modules/bluemaestro-ble/default.nix +++ b/pkgs/development/python-modules/bluemaestro-ble/default.nix @@ -10,7 +10,7 @@ sensor-state-data, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "bluemaestro-ble"; version = "1.2.0"; pyproject = true; @@ -18,7 +18,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = "bluemaestro-ble"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Uz4JE7ALfHxmdi7OesdJZqp4JhQdQGNwoiDxZyk8g9c="; }; @@ -40,8 +40,8 @@ buildPythonPackage rec { meta = { description = "Library for bluemaestro BLE devices"; homepage = "https://github.com/Bluetooth-Devices/bluemaestro-ble"; - changelog = "https://github.com/Bluetooth-Devices/bluemaestro-ble/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/Bluetooth-Devices/bluemaestro-ble/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})