Skip to content

Commit

Permalink
python312Packages.hass-client: fix package version
Browse files Browse the repository at this point in the history
The version in pyproject.toml is fixed and only gets patched in the
release step.
  • Loading branch information
mweinelt committed Dec 16, 2024
1 parent c7dcafc commit aaa65e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/python-modules/hass-client/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ buildPythonPackage rec {
hash = "sha256-FA3acaXLWcBMDsabLPxVk6EArSxcTAnmFeO1ixTXB1Q=";
};

postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "1.0.0" "${version}"
'';

build-system = [
setuptools
];
Expand Down

0 comments on commit aaa65e0

Please sign in to comment.