summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorAugustin Trancart <augustin.trancart@gmail.com>2026-01-15 11:53:04 +0100
committerAugustin Trancart <augustin.trancart@gmail.com>2026-01-16 13:54:04 +0100
commitcd70bc8fdd3decea451087c0a2bfb4bfb375c71e (patch)
tree1c2f6ac829c76b459b862528ead780337e73c2cf /pkgs/development/python-modules
parentbab50d7ba280c9aaa89d3e0ae3241fa0f492e3ef (diff)
python3Packages.geojson: fix build for python3.14
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/geojson/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/geojson/default.nix b/pkgs/development/python-modules/geojson/default.nix
index 4088d11c34b1..8730534514e1 100644
--- a/pkgs/development/python-modules/geojson/default.nix
+++ b/pkgs/development/python-modules/geojson/default.nix
@@ -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 ];
};
}