Merge pull request #303038 from fabaff/bleak-retry-connector-bump
python312Packages.bleak-retry-connector: 3.4.0 -> 3.5.0
This commit is contained in:
commit
029aa58786
@ -1,40 +1,39 @@
|
|||||||
{ lib
|
{
|
||||||
, async-timeout
|
lib,
|
||||||
, bleak
|
async-timeout,
|
||||||
, bluetooth-adapters
|
bleak,
|
||||||
, dbus-fast
|
bluetooth-adapters,
|
||||||
, buildPythonPackage
|
dbus-fast,
|
||||||
, fetchFromGitHub
|
buildPythonPackage,
|
||||||
, poetry-core
|
fetchFromGitHub,
|
||||||
, pytestCheckHook
|
poetry-core,
|
||||||
, pythonOlder
|
pytestCheckHook,
|
||||||
, pytest-asyncio
|
pythonOlder,
|
||||||
|
pytest-asyncio,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bleak-retry-connector";
|
pname = "bleak-retry-connector";
|
||||||
version = "3.4.0";
|
version = "3.5.0";
|
||||||
format = "pyproject";
|
pyproject = true;
|
||||||
|
|
||||||
disabled = pythonOlder "3.7";
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Bluetooth-Devices";
|
owner = "Bluetooth-Devices";
|
||||||
repo = pname;
|
repo = "bleak-retry-connector";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
hash = "sha256-hhoYPpNJ8myW2KMe7o7gvbjnmpY4OYudaDA/vV8BkN8=";
|
hash = "sha256-oqc997siTg43Ulrc539G3utfQvHjcBZJgQ8/CfcSduc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace pyproject.toml \
|
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 = [
|
build-system = [ poetry-core ];
|
||||||
poetry-core
|
|
||||||
];
|
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
dependencies = [
|
||||||
async-timeout
|
async-timeout
|
||||||
bleak
|
bleak
|
||||||
bluetooth-adapters
|
bluetooth-adapters
|
||||||
@ -53,9 +52,7 @@ buildPythonPackage rec {
|
|||||||
"test_establish_connection_without_dangerous_use_cached_services"
|
"test_establish_connection_without_dangerous_use_cached_services"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [ "bleak_retry_connector" ];
|
||||||
"bleak_retry_connector"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Connector for Bleak Clients that handles transient connection failures";
|
description = "Connector for Bleak Clients that handles transient connection failures";
|
||||||
|
Loading…
Reference in New Issue
Block a user