python3Packages.geojson: fix build for python3.14 (#480336)

This commit is contained in:
Sandro
2026-01-16 16:26:55 +00:00
committed by GitHub
@@ -1,5 +1,6 @@
{
lib,
fetchpatch,
buildPythonPackage,
fetchFromGitHub,
setuptools,
@@ -18,6 +19,14 @@ buildPythonPackage rec {
hash = "sha256-0p8FW9alcWCSdi66wanS/F9IgO714WIRQIXvg3f9op8=";
};
patches = [
(fetchpatch {
name = "allow-install-python314";
url = "https://github.com/jazzband/geojson/commit/2584c0de5651bd694499449f9da5321b15597270.patch";
hash = "sha256-64LPEwC1qc83wF48878fH31CVFn2txTmSxxr0cnQbRg=";
})
];
build-system = [ setuptools ];
pythonImportsCheck = [ "geojson" ];
@@ -30,5 +39,6 @@ buildPythonPackage rec {
description = "Python bindings and utilities for GeoJSON";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ oxzi ];
teams = [ lib.teams.geospatial ];
};
}