From a0a53485396f1dbf58dac165ae5f4e3d4d857b90 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Fri, 4 Jul 2025 04:53:36 +0000 Subject: [PATCH 1/2] python3Packages.aiobafi6: 0.9.0 -> 0.10.0 --- pkgs/development/python-modules/aiobafi6/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aiobafi6/default.nix b/pkgs/development/python-modules/aiobafi6/default.nix index 17f5df7a0941..cf182ff1eb5b 100644 --- a/pkgs/development/python-modules/aiobafi6/default.nix +++ b/pkgs/development/python-modules/aiobafi6/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "aiobafi6"; - version = "0.9.0"; + version = "0.10.0"; format = "pyproject"; disabled = pythonOlder "3.10"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "jfroy"; repo = "aiobafi6"; tag = version; - hash = "sha256-QxjrspvNrcMcGChjj1B4QF/SnWCsGmPxnI2bWAL6BiI="; + hash = "sha256-7NIpIRVs6PFPByrGfVDA6P7JTvXGrzbH/lOPdPfZH04="; }; nativeBuildInputs = [ poetry-core ]; From a2ad08a3c2ea3b30c1aefe17735eaa6ffb446b0a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 4 Jul 2025 07:57:05 +0200 Subject: [PATCH 2/2] python313Packages.aiobafi6: refactor --- .../development/python-modules/aiobafi6/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/development/python-modules/aiobafi6/default.nix b/pkgs/development/python-modules/aiobafi6/default.nix index cf182ff1eb5b..257af6178241 100644 --- a/pkgs/development/python-modules/aiobafi6/default.nix +++ b/pkgs/development/python-modules/aiobafi6/default.nix @@ -6,16 +6,13 @@ protobuf, pytest-asyncio, pytestCheckHook, - pythonOlder, zeroconf, }: buildPythonPackage rec { pname = "aiobafi6"; version = "0.10.0"; - format = "pyproject"; - - disabled = pythonOlder "3.10"; + pyproject = true; src = fetchFromGitHub { owner = "jfroy"; @@ -24,9 +21,9 @@ buildPythonPackage rec { hash = "sha256-7NIpIRVs6PFPByrGfVDA6P7JTvXGrzbH/lOPdPfZH04="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ protobuf zeroconf ]; @@ -40,10 +37,10 @@ buildPythonPackage rec { meta = with lib; { description = "Library for communication with the Big Ass Fans i6 firmware"; - mainProgram = "aiobafi6"; homepage = "https://github.com/jfroy/aiobafi6"; - changelog = "https://github.com/jfroy/aiobafi6/releases/tag/0.8.2"; + changelog = "https://github.com/jfroy/aiobafi6/releases/tag/${src.tag}"; license = licenses.asl20; maintainers = with maintainers; [ fab ]; + mainProgram = "aiobafi6"; }; }