diff options
Diffstat (limited to 'pkgs/development/python-modules/bluetooth-adapters/default.nix')
-rw-r--r-- | pkgs/development/python-modules/bluetooth-adapters/default.nix | 51 |
1 files changed, 25 insertions, 26 deletions
diff --git a/pkgs/development/python-modules/bluetooth-adapters/default.nix b/pkgs/development/python-modules/bluetooth-adapters/default.nix index cf6924f2f3d67..518b38000ca0b 100644 --- a/pkgs/development/python-modules/bluetooth-adapters/default.nix +++ b/pkgs/development/python-modules/bluetooth-adapters/default.nix @@ -1,24 +1,26 @@ -{ lib -, aiohttp -, aiooui -, async-timeout -, bleak -, buildPythonPackage -, dbus-fast -, fetchFromGitHub -, mac-vendor-lookup -, myst-parser -, poetry-core -, pytestCheckHook -, pythonOlder -, sphinx-rtd-theme -, sphinxHook -, usb-devices +{ + lib, + aiohttp, + aiooui, + async-timeout, + bleak, + buildPythonPackage, + dbus-fast, + fetchFromGitHub, + mac-vendor-lookup, + myst-parser, + poetry-core, + pytestCheckHook, + pythonOlder, + sphinx-rtd-theme, + sphinxHook, + uart-devices, + usb-devices, }: buildPythonPackage rec { pname = "bluetooth-adapters"; - version = "0.18.0"; + version = "0.19.2"; pyproject = true; disabled = pythonOlder "3.9"; @@ -27,7 +29,7 @@ buildPythonPackage rec { owner = "Bluetooth-Devices"; repo = "bluetooth-adapters"; rev = "refs/tags/v${version}"; - hash = "sha256-KPmCOPCK7muT0qptJMKQwWU/6tvepkdHwlNYcrvpRLg="; + hash = "sha256-hPs6YnmndJ2Z5RotcIRIYWPdvMyX56ul84l1Cs8kqH0="; }; postPatch = '' @@ -40,30 +42,27 @@ buildPythonPackage rec { "doc" ]; - nativeBuildInputs = [ + build-system = [ myst-parser poetry-core sphinx-rtd-theme sphinxHook ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp aiooui async-timeout bleak dbus-fast mac-vendor-lookup + uart-devices usb-devices ]; - pythonImportsCheck = [ - "bluetooth_adapters" - ]; + pythonImportsCheck = [ "bluetooth_adapters" ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; meta = with lib; { description = "Tools to enumerate and find Bluetooth Adapters"; |