python3Packages.pgsanity: fix build

This commit is contained in:
Yaroslav Bolyukin
2026-04-06 05:12:11 +02:00
committed by Sigmanificient
parent 5c4e9a166e
commit 142ac26f27
@@ -4,18 +4,28 @@
buildPythonPackage,
postgresql,
unittestCheckHook,
uv-build,
}:
buildPythonPackage rec {
pname = "pgsanity";
version = "0.3.0";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Po/DPQpk54w1gWOL9aArN6I8dmMb7uRYxuRMI6MIDKU=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail "uv_build>=0.8.19,<0.9.0" uv_build
'';
build-system = [
uv-build
];
nativeCheckInputs = [
unittestCheckHook
];