cgt-calc: fix build by backporting uv-build relaxation (#541209)

This commit is contained in:
Bruno BELANYI
2026-07-13 06:54:07 +00:00
committed by GitHub

View File

@@ -1,6 +1,7 @@
{
lib,
fetchFromGitHub,
fetchpatch,
python3Packages,
withTeXLive ? true,
texliveSmall,
@@ -17,6 +18,15 @@ python3Packages.buildPythonApplication (finalAttrs: {
hash = "sha256-KPzADW+n82X08IMfSIl5JyYPm8fxbbowud8sBdUxRgA=";
};
patches = [
(fetchpatch {
# https://github.com/KapJI/capital-gains-calculator/pull/781
name = "update uv-build requirement.patch";
url = "https://github.com/KapJI/capital-gains-calculator/commit/0222eafdcf1911f3e2fd781697dc53311f529f62.patch";
hash = "sha256-L8jgrdA9t3x8mdaLmAuW6vFhHCLGA+0gQ/8j9EcYKhE=";
})
];
build-system = with python3Packages; [
uv-build
];