python3Packages.hass-client: use pyprojectVersionPatchHook

This commit is contained in:
Robert Schütz
2026-08-01 20:17:29 -07:00
parent cff8685603
commit 2cf79b0f04

View File

@@ -7,6 +7,7 @@
fetchFromGitHub,
lib,
orjson,
pyprojectVersionPatchHook,
pytest-asyncio,
pytest-cov-stub,
pytestCheckHook,
@@ -25,10 +26,9 @@ buildPythonPackage rec {
hash = "sha256-mrS3kuG/6ZE02B0Ua10AAAsgVBrEDRJxNfmIHT+EHWw=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "1.0.0" "${version}"
'';
nativeBuildInputs = [
pyprojectVersionPatchHook
];
build-system = [
setuptools