From 462fd144dbd01089fdc3132fbac88b633af41050 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 9 Jan 2026 20:59:45 +0100 Subject: [PATCH 1/2] python313Packages.ruuvitag-ble: 0.3.0 -> 0.4.0 Diff: https://github.com/Bluetooth-Devices/ruuvitag-ble/compare/v0.3.0...v0.4.0 Changelog: https://github.com/Bluetooth-Devices/ruuvitag-ble/releases/tag/v0.4.0 --- pkgs/development/python-modules/ruuvitag-ble/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ruuvitag-ble/default.nix b/pkgs/development/python-modules/ruuvitag-ble/default.nix index 22d199c71f945..f6002a060ccaa 100644 --- a/pkgs/development/python-modules/ruuvitag-ble/default.nix +++ b/pkgs/development/python-modules/ruuvitag-ble/default.nix @@ -13,14 +13,14 @@ buildPythonPackage rec { pname = "ruuvitag-ble"; - version = "0.3.0"; + version = "0.4.0"; pyproject = true; src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = "ruuvitag-ble"; tag = "v${version}"; - hash = "sha256-5hlO2/YCTc65ImwjJVyWhFe2PTPlQ33aNdqEIxH/lms="; + hash = "sha256-/xtNT36s7vdU0+1QFW2Of6v3OIQ9e6ZA9K3t9rPw5o8="; }; build-system = [ hatchling ]; From 22f6ab5de632cbfab6a7c243b3fee6f6a0f45e5c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 9 Jan 2026 21:17:35 +0100 Subject: [PATCH 2/2] python313Packages.ruuvitag-ble: migrate to finalAttrs --- pkgs/development/python-modules/ruuvitag-ble/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/ruuvitag-ble/default.nix b/pkgs/development/python-modules/ruuvitag-ble/default.nix index f6002a060ccaa..07f8ce15efa42 100644 --- a/pkgs/development/python-modules/ruuvitag-ble/default.nix +++ b/pkgs/development/python-modules/ruuvitag-ble/default.nix @@ -11,7 +11,7 @@ sensor-state-data, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "ruuvitag-ble"; version = "0.4.0"; pyproject = true; @@ -19,7 +19,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = "ruuvitag-ble"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-/xtNT36s7vdU0+1QFW2Of6v3OIQ9e6ZA9K3t9rPw5o8="; }; @@ -40,10 +40,10 @@ buildPythonPackage rec { pythonImportsCheck = [ "ruuvitag_ble" ]; meta = { - changelog = "https://github.com/Bluetooth-Devices/ruuvitag-ble/releases/tag/${src.tag}"; description = "Library for Ruuvitag BLE devices"; homepage = "https://github.com/Bluetooth-Devices/ruuvitag-ble"; + changelog = "https://github.com/Bluetooth-Devices/ruuvitag-ble/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})