diff --git a/pkgs/by-name/op/openfreebuds/package.nix b/pkgs/by-name/op/openfreebuds/package.nix index 54ef895ed4dc..f8c259042295 100644 --- a/pkgs/by-name/op/openfreebuds/package.nix +++ b/pkgs/by-name/op/openfreebuds/package.nix @@ -19,7 +19,7 @@ python3Packages.buildPythonApplication (finalAttrs: { pyproject = true; - pythonRelaxDeps = [ "psutil" ]; + pythonRelaxDeps = true; build-system = with python3Packages; [ pdm-backend @@ -33,6 +33,16 @@ python3Packages.buildPythonApplication (finalAttrs: { buildInputs = [ qt6.qtbase ]; + nativeCheckInputs = with python3Packages; [ + pytest-asyncio + pytestCheckHook + ]; + + pytestFlagsArray = [ + "openfreebuds/driver/huawei/test/" + "openfreebuds/test/test_event_bus.py" + ]; + dependencies = with python3Packages; [ aiocmd aiohttp