diff --git a/pkgs/development/python-modules/bleak-retry-connector/default.nix b/pkgs/development/python-modules/bleak-retry-connector/default.nix index 112d92a24bb9..1cc552f2aafb 100644 --- a/pkgs/development/python-modules/bleak-retry-connector/default.nix +++ b/pkgs/development/python-modules/bleak-retry-connector/default.nix @@ -1,40 +1,39 @@ -{ lib -, async-timeout -, bleak -, bluetooth-adapters -, dbus-fast -, buildPythonPackage -, fetchFromGitHub -, poetry-core -, pytestCheckHook -, pythonOlder -, pytest-asyncio +{ + lib, + async-timeout, + bleak, + bluetooth-adapters, + dbus-fast, + buildPythonPackage, + fetchFromGitHub, + poetry-core, + pytestCheckHook, + pythonOlder, + pytest-asyncio, }: buildPythonPackage rec { pname = "bleak-retry-connector"; - version = "3.4.0"; - format = "pyproject"; + version = "3.5.0"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "Bluetooth-Devices"; - repo = pname; + repo = "bleak-retry-connector"; rev = "refs/tags/v${version}"; - hash = "sha256-hhoYPpNJ8myW2KMe7o7gvbjnmpY4OYudaDA/vV8BkN8="; + hash = "sha256-oqc997siTg43Ulrc539G3utfQvHjcBZJgQ8/CfcSduc="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace " --cov=bleak_retry_connector --cov-report=term-missing:skip-covered" "" + --replace-fail " --cov=bleak_retry_connector --cov-report=term-missing:skip-covered" "" ''; - nativeBuildInputs = [ - poetry-core - ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + dependencies = [ async-timeout bleak bluetooth-adapters @@ -53,9 +52,7 @@ buildPythonPackage rec { "test_establish_connection_without_dangerous_use_cached_services" ]; - pythonImportsCheck = [ - "bleak_retry_connector" - ]; + pythonImportsCheck = [ "bleak_retry_connector" ]; meta = with lib; { description = "Connector for Bleak Clients that handles transient connection failures";