python3Packages.django-bootstrap5: fix build with uv_build 0.9.0

This commit is contained in:
Sizhe Zhao
2025-10-08 21:34:52 +08:00
parent 976b80484b
commit 555d587930
@@ -4,6 +4,7 @@
buildPythonPackage,
django,
fetchFromGitHub,
fetchpatch2,
jinja2,
pillow,
pytest-django,
@@ -23,6 +24,15 @@ buildPythonPackage rec {
hash = "sha256-aqP2IkAkZsw5vbQxhiy9L3giSgb0seub9gsxPTajiXo=";
};
patches = [
# https://github.com/zostera/django-bootstrap5/pull/769
(fetchpatch2 {
name = "uv-build.patch";
url = "https://github.com/Prince213/django-bootstrap5/commit/e588b25e0c81d9133ca2b9391c125b41d485aefc.patch?full_index=1";
hash = "sha256-cFOY+pu2TAZXpAipSIQh1nPPC0ipfncvpObcH667+ac=";
})
];
build-system = [ uv-build ];
dependencies = [ django ];