python3Packages.ring-doorbell: replace async-timeout with asyncio.timeout (#461482)
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
aioresponses,
|
||||
asyncclick,
|
||||
buildPythonPackage,
|
||||
fetchpatch,
|
||||
fetchPypi,
|
||||
firebase-messaging,
|
||||
freezegun,
|
||||
@@ -15,7 +16,6 @@
|
||||
pytest-mock,
|
||||
pytest-socket,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pytz,
|
||||
typing-extensions,
|
||||
websockets,
|
||||
@@ -26,14 +26,25 @@ buildPythonPackage rec {
|
||||
version = "0.9.13";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.9";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "ring_doorbell";
|
||||
inherit version;
|
||||
hash = "sha256-M8lHODHdWXLvrDbQMeEgGaQMYCXicHTQta+XjJxSQlM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# https://github.com/python-ring-doorbell/python-ring-doorbell/pull/494
|
||||
(fetchpatch {
|
||||
name = "replace-async-timeout-with-asyncio.timeout.patch";
|
||||
url = "https://github.com/python-ring-doorbell/python-ring-doorbell/commit/771243153921ec2cfb5f103b08ed08cccbe2e760.patch";
|
||||
excludes = [
|
||||
".github/workflows/ci.yml"
|
||||
"uv.lock"
|
||||
];
|
||||
hash = "sha256-l6CUg3J6FZ0c0v0SSqvndjl4XeBhGFy/uWHPkExCM50=";
|
||||
})
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [ "requests-oauthlib" ];
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
Reference in New Issue
Block a user