diff --git a/pkgs/development/python-modules/aiohasupervisor/default.nix b/pkgs/development/python-modules/aiohasupervisor/default.nix index f9a93a152ce4..4486fd239130 100644 --- a/pkgs/development/python-modules/aiohasupervisor/default.nix +++ b/pkgs/development/python-modules/aiohasupervisor/default.nix @@ -6,6 +6,7 @@ fetchFromGitHub, mashumaro, orjson, + pyprojectVersionPatchHook, pytest-aiohttp, pytest-cov-stub, pytest-timeout, @@ -16,23 +17,25 @@ buildPythonPackage rec { pname = "aiohasupervisor"; - version = "0.4.3"; + version = "0.5.0"; pyproject = true; src = fetchFromGitHub { owner = "home-assistant-libs"; repo = "python-supervisor-client"; tag = version; - hash = "sha256-h22y62f+pdoHYKqPeKNGFkVS7/IMWbxaAoDLomwAB40="; + hash = "sha256-qIj3kiKSo0aUj7b250c39FqxU3jV6uegmBlxR6wOkQ8="; }; postPatch = '' substituteInPlace pyproject.toml \ - --replace-fail 'version = "0.0.0"' 'version = "${version}"' \ - --replace-fail "setuptools>=68.0,<82.1" "setuptools" \ - --replace-fail ', "wheel>=0.40,<0.47"' "" + --replace-fail "setuptools>=68.0,<82.1" "setuptools" ''; + nativeBuildInputs = [ + pyprojectVersionPatchHook + ]; + build-system = [ setuptools ]; dependencies = [