python312Packages.hass-client: fix package version

The version in pyproject.toml is fixed and only gets patched in the
release step.
This commit is contained in:
Martin Weinelt
2024-12-17 00:58:34 +01:00
parent c7dcafcc23
commit aaa65e08c4
@@ -22,6 +22,11 @@ buildPythonPackage rec {
hash = "sha256-FA3acaXLWcBMDsabLPxVk6EArSxcTAnmFeO1ixTXB1Q=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "1.0.0" "${version}"
'';
build-system = [
setuptools
];