python312Packages.zigpy-deconz: fix tests with zigpy 0.65.3

This commit is contained in:
Martin Weinelt
2024-08-10 22:51:12 +02:00
parent 6b652446fe
commit 00e0597566
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
pyserial,
pyserial-asyncio,
pytest-asyncio,
@@ -25,6 +26,13 @@ buildPythonPackage rec {
hash = "sha256-z/QulOkvkV/1Z+M7EfzdfGvrrtkapYcvfz+3AijR46k=";
};
patches = [
(fetchpatch2 {
url = "https://github.com/zigpy/zigpy-deconz/commit/86fdcd6be824f12ce3bf88b40217a6224cbf5a89.patch";
hash = "sha256-iqpTSJPBMSBZXg5EVXXupxIFRsGCNuxU/oNHZ2VT0Jc=";
})
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace ', "setuptools-git-versioning<2"' "" \