python3Packages.tesla-wall-connector: replace async-timeout with asyncio.timeout

This commit is contained in:
Robert Schütz
2025-11-14 22:48:26 -08:00
parent 46477d808c
commit a7e5ba588b
@@ -5,6 +5,7 @@
backoff,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
poetry-core,
pytest-asyncio,
pytestCheckHook,
@@ -25,6 +26,20 @@ buildPythonPackage rec {
hash = "sha256-3jj3LU0xRIC6U5DmitkTNjejvSZJWguTS/TeotOD8oc=";
};
patches = [
# https://github.com/einarhauks/tesla-wall-connector/pull/16
(fetchpatch {
name = "replace-async-timeout-with-asyncio.timeout.patch";
url = "https://github.com/einarhauks/tesla-wall-connector/commit/4683738b4d2cccb2be337a383243ab3f7623bf8e.patch";
excludes = [
".github/workflows/python-package.yml"
"poetry.lock"
"pyproject.toml"
];
hash = "sha256-V9Ra7xA5JzBGe8tE8urVJNqCCdBkNmmqUcXo0cswSoY=";
})
];
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [