mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
python312Packages.bellows: fix build
This commit is contained in:
parent
de8da1b57b
commit
3d9dab80e1
@ -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"' "" \
|
||||||
|
Loading…
Reference in New Issue
Block a user