python3Packages.pyproj: fix build with proj 9.8.0

This commit is contained in:
Augustin Trancart
2026-03-22 10:02:04 -07:00
committed by Robert Schütz
parent ef102bed75
commit b630067412
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
pytestCheckHook,
replaceVars,
@@ -33,6 +34,23 @@ buildPythonPackage rec {
proj = proj;
projdev = proj.dev;
})
# PROJ 9.8.0 compatibility
(fetchpatch2 {
url = "https://github.com/pyproj4/pyproj/pull/1557.diff?full_index=1";
hash = "sha256-3iK/JaQEgyQvPjybJF/ATxOy3fFl7q6aa9tdfsrhajM=";
})
(fetchpatch2 {
url = "https://github.com/pyproj4/pyproj/pull/1560.diff?full_index=1";
hash = "sha256-fr+lvDeVFDagc9aHzaQhyZtWK2sy5kR7iImJsuxW8Z4=";
})
(fetchpatch2 {
url = "https://github.com/pyproj4/pyproj/pull/1568.diff?full_index=1";
hash = "sha256-fVFg3/ikOk6LiRHA/u14g+ZFsROGE7me878Vvq4mxG4=";
})
(fetchpatch2 {
url = "https://github.com/pyproj4/pyproj/pull/1581.diff?full_index=1";
hash = "sha256-EdzUCt4P99ENS2qCBU30FUNnJYD0B2CqcmZXwEYLdVA=";
})
];
build-system = [
@@ -72,9 +90,6 @@ buildPythonPackage rec {
"test_sync__source_id__list"
"test_sync_download"
"test_transformer_group__download_grids"
# https://github.com/pyproj4/pyproj/issues/1553
"test_datum_horizontal"
"test_sub_crs"
];
pythonImportsCheck = [