python312Packages.bellows: fix build

This commit is contained in:
Martin Weinelt 2024-04-21 02:24:10 +02:00
parent de8da1b57b
commit 3d9dab80e1
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -4,6 +4,7 @@
, click , click
, click-log , click-log
, fetchFromGitHub , fetchFromGitHub
, fetchpatch2
, pure-pcapy3 , pure-pcapy3
, pyserial-asyncio , pyserial-asyncio
, pytest-asyncio , pytest-asyncio
@ -29,6 +30,13 @@ buildPythonPackage rec {
hash = "sha256-oxPzjDb+FdHeHsgeGKH3SVvKb0vCB9dIhT7lGzhDcBw="; hash = "sha256-oxPzjDb+FdHeHsgeGKH3SVvKb0vCB9dIhT7lGzhDcBw=";
}; };
patches = [
(fetchpatch2 {
url = "https://github.com/zigpy/bellows/commit/7833647083f27f55b7ad345f4aaa7dffaa369abc.patch";
hash = "sha256-v+BOPqikWoyNtZ1qRWe3RwraG6nQnfZqoV6yj9PpGX8=";
})
];
postPatch = '' postPatch = ''
substituteInPlace pyproject.toml \ substituteInPlace pyproject.toml \
--replace-fail '"setuptools-git-versioning<2"' "" \ --replace-fail '"setuptools-git-versioning<2"' "" \