geos: 3.13.1 -> 3.14.0 (#445802)

This commit is contained in:
Ivan Mincik
2025-09-29 16:41:33 +02:00
committed by GitHub
3 changed files with 25 additions and 2 deletions
+2 -2
View File
@@ -10,13 +10,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "geos";
version = "3.13.1";
version = "3.14.0";
src = fetchFromGitHub {
owner = "libgeos";
repo = "geos";
tag = finalAttrs.version;
hash = "sha256-zPVP01AMIBKMnKi6Sq++CIaVZb5JA1v8/QAdGzKdL8Y=";
hash = "sha256-tPuAYNi2Gfc/2hj8SFqnvuDztXkSAEoGPcvXVULrLKg=";
};
nativeBuildInputs = [ cmake ];
@@ -2,6 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
pytestCheckHook,
setuptools,
@@ -38,6 +39,15 @@ buildPythonPackage rec {
build-system = [ setuptools ];
patches = [
# fix tests for geos 3.14
# see https://github.com/geopandas/geopandas/pull/3645
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/geopandas/geopandas/pull/3645.patch";
hash = "sha256-TLJixFRR+g739PLgwhTGuwYTVJ4SRr2BMGD14CLgmcY=";
})
];
dependencies = [
packaging
pandas
@@ -3,6 +3,7 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
pytestCheckHook,
pythonOlder,
@@ -27,6 +28,18 @@ buildPythonPackage rec {
hash = "sha256-qIITlPym92wfq0byqjRxofpmYYg7vohbi1qPVEu6hRg=";
};
patches = [
# Fix tests for GEOS 3.14
(fetchpatch {
url = "https://github.com/shapely/shapely/commit/a561132c4e13c1fde597f56a8a7133c3c09b9928.patch";
hash = "sha256-a9gDfw2Dw+fd82T9f0BufYd/+gxE+ALvWyLm4vHygzU=";
})
(fetchpatch {
url = "https://github.com/shapely/shapely/commit/56e16e6eb27c54c6c24b9a251c12414e289fb7d0.patch";
hash = "sha256-JyjPVcJswEozF4C73QotKsPou55H41Ct9oVgkxhDhbk=";
})
];
nativeBuildInputs = [
cython
geos # for geos-config