diff --git a/pkgs/development/python-modules/bleak-retry-connector/default.nix b/pkgs/development/python-modules/bleak-retry-connector/default.nix index d9922f1a4d0e..d3204a22e7f5 100644 --- a/pkgs/development/python-modules/bleak-retry-connector/default.nix +++ b/pkgs/development/python-modules/bleak-retry-connector/default.nix @@ -1,27 +1,28 @@ { lib, + stdenv, bleak, + blockbuster, bluetooth-adapters, - dbus-fast, buildPythonPackage, + dbus-fast, fetchFromGitHub, poetry-core, - pytestCheckHook, pytest-asyncio, pytest-cov-stub, - stdenv, + pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "bleak-retry-connector"; - version = "4.6.0"; + version = "4.6.1"; pyproject = true; src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = "bleak-retry-connector"; - tag = "v${version}"; - hash = "sha256-wUfIP0UHL60AAq38j4Kc2enTccdhT7aaSrXWJ1y5+7I="; + tag = "v${finalAttrs.version}"; + hash = "sha256-SGQ+9HjD6VhxZwmjh1K/EHbUIFE/bbtLBwmauU/IEJM="; }; build-system = [ poetry-core ]; @@ -35,6 +36,7 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ + blockbuster pytest-asyncio pytest-cov-stub pytestCheckHook @@ -48,8 +50,8 @@ buildPythonPackage rec { meta = { description = "Connector for Bleak Clients that handles transient connection failures"; homepage = "https://github.com/bluetooth-devices/bleak-retry-connector"; - changelog = "https://github.com/Bluetooth-Devices/bleak-retry-connector/releases/tag/${src.tag}"; + changelog = "https://github.com/Bluetooth-Devices/bleak-retry-connector/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})