diff --git a/pkgs/development/python-modules/hass-client/default.nix b/pkgs/development/python-modules/hass-client/default.nix index 29b1a94965c2a..b11a877583f26 100644 --- a/pkgs/development/python-modules/hass-client/default.nix +++ b/pkgs/development/python-modules/hass-client/default.nix @@ -22,6 +22,11 @@ buildPythonPackage rec { hash = "sha256-FA3acaXLWcBMDsabLPxVk6EArSxcTAnmFeO1ixTXB1Q="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail "1.0.0" "${version}" + ''; + build-system = [ setuptools ];