1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 20:21:14 +00:00

Merge pull request #299212 from mweinelt/django-5-fix-build

python312Packages.django_5: drop obsolete patch
This commit is contained in:
Martin Weinelt 2024-03-29 00:12:43 +01:00 committed by GitHub
commit f144cea8c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,7 +2,6 @@
, stdenv
, buildPythonPackage
, fetchPypi
, fetchpatch2
, pythonOlder
, substituteAll
@ -64,11 +63,6 @@ buildPythonPackage rec {
# disable test that excpects timezone issues
./django_5_disable_failing_tests.patch
(fetchpatch2 {
# fix test on 3.12; https://github.com/django/django/pull/17843
url = "https://github.com/django/django/commit/bc8471f0aac8f0c215b9471b594d159783bac19b.patch";
hash = "sha256-g1T9b73rmQ0uk1lB+iQy1XwK3Qin3mf5wpRsyYISJaw=";
})
] ++ lib.optionals withGdal [
(substituteAll {
src = ./django_5_set_geos_gdal_lib.patch;