From aaa65e08c4932e05ede7d78411435088fe971571 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 17 Dec 2024 00:57:25 +0100 Subject: [PATCH] python312Packages.hass-client: fix package version The version in pyproject.toml is fixed and only gets patched in the release step. --- pkgs/development/python-modules/hass-client/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/hass-client/default.nix b/pkgs/development/python-modules/hass-client/default.nix index 29b1a94965c2..b11a877583f2 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 ];