1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

krr: fix version name

This commit is contained in:
Azat Bahawi 2024-03-07 15:36:24 +03:00
parent 97f8759acb
commit 272b8c9bfd
No known key found for this signature in database
GPG key ID: C8C6BDDB3847F72B

View file

@ -18,7 +18,11 @@ python3.pkgs.buildPythonPackage rec {
};
postPatch = ''
substituteInPlace robusta_krr/__init__.py \
--replace-warn '1.7.0-dev' '${version}'
substituteInPlace pyproject.toml \
--replace-warn '1.7.0-dev' '${version}' \
--replace-fail 'aiostream = "^0.4.5"' 'aiostream = "*"' \
--replace-fail 'kubernetes = "^26.1.0"' 'kubernetes = "*"' \
--replace-fail 'pydantic = "1.10.7"' 'pydantic = "*"' \