From 3b72253f2256bd223b3bfb9a51d5acdb974cb9ff Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 9 Jan 2026 21:08:34 +0100 Subject: [PATCH 1/2] python313Packages.python-otbr-api: 2.7.0 -> 2.7.1 Diff: https://github.com/home-assistant-libs/python-otbr-api/compare/2.7.0...2.7.1 Changelog: https://github.com/home-assistant-libs/python-otbr-api/releases/tag/2.7.1 --- pkgs/development/python-modules/python-otbr-api/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-otbr-api/default.nix b/pkgs/development/python-modules/python-otbr-api/default.nix index c188a00692b2..09ca4af1c4b9 100644 --- a/pkgs/development/python-modules/python-otbr-api/default.nix +++ b/pkgs/development/python-modules/python-otbr-api/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "python-otbr-api"; - version = "2.7.0"; + version = "2.7.1"; pyproject = true; disabled = pythonOlder "3.9"; @@ -24,7 +24,7 @@ buildPythonPackage rec { owner = "home-assistant-libs"; repo = "python-otbr-api"; tag = version; - hash = "sha256-irQ4QvpGIAYYKq0UqLuo7Nrnde905+GJFd4HkxsCDmQ="; + hash = "sha256-hFWFi64mRJL5487N6Xm6EQVVaYEzsdg9P2QZYEn758k="; }; build-system = [ setuptools ]; From 8c391de8f9627623adb7e9b125050bade3dcfffe Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 9 Jan 2026 21:23:37 +0100 Subject: [PATCH 2/2] python313Packages.python-otbr-api: migrate to finalAttrs --- .../python-modules/python-otbr-api/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/python-otbr-api/default.nix b/pkgs/development/python-modules/python-otbr-api/default.nix index 09ca4af1c4b9..82d570be73a5 100644 --- a/pkgs/development/python-modules/python-otbr-api/default.nix +++ b/pkgs/development/python-modules/python-otbr-api/default.nix @@ -7,23 +7,20 @@ fetchFromGitHub, pytest-asyncio, pytestCheckHook, - pythonOlder, setuptools, typing-extensions, voluptuous, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "python-otbr-api"; version = "2.7.1"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "python-otbr-api"; - tag = version; + tag = finalAttrs.version; hash = "sha256-hFWFi64mRJL5487N6Xm6EQVVaYEzsdg9P2QZYEn758k="; }; @@ -47,8 +44,8 @@ buildPythonPackage rec { meta = { description = "Library for the Open Thread Border Router"; homepage = "https://github.com/home-assistant-libs/python-otbr-api"; - changelog = "https://github.com/home-assistant-libs/python-otbr-api/releases/tag/${version}"; + changelog = "https://github.com/home-assistant-libs/python-otbr-api/releases/tag/${finalAttrs.version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})