diff --git a/pkgs/development/python-modules/bluetooth-adapters/default.nix b/pkgs/development/python-modules/bluetooth-adapters/default.nix index 4b56028b75d9..515c3f167e91 100644 --- a/pkgs/development/python-modules/bluetooth-adapters/default.nix +++ b/pkgs/development/python-modules/bluetooth-adapters/default.nix @@ -10,6 +10,7 @@ mac-vendor-lookup, myst-parser, poetry-core, + pytest-asyncio, pytestCheckHook, pythonOlder, sphinx-rtd-theme, @@ -20,7 +21,7 @@ buildPythonPackage rec { pname = "bluetooth-adapters"; - version = "0.19.4"; + version = "0.20.0"; pyproject = true; disabled = pythonOlder "3.9"; @@ -29,7 +30,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = "bluetooth-adapters"; rev = "refs/tags/v${version}"; - hash = "sha256-XpPC7FVWzdEki6kdZDu0vV7iD1DZzGbI1f9VKxsjKUQ="; + hash = "sha256-dQjoaBK+WMHQss/7nQRRCE8Jv4S0iq6awa/t3SMGUiE="; }; postPatch = '' @@ -60,9 +61,12 @@ buildPythonPackage rec { usb-devices ]; - pythonImportsCheck = [ "bluetooth_adapters" ]; + nativeCheckInputs = [ + pytest-asyncio + pytestCheckHook + ]; - nativeCheckInputs = [ pytestCheckHook ]; + pythonImportsCheck = [ "bluetooth_adapters" ]; meta = with lib; { description = "Tools to enumerate and find Bluetooth Adapters";