python3Packages.shapely: fix build for geos 3.11
This commit is contained in:
parent
ace8d4a21f
commit
71cae3ecc2
1 changed files with 7 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, substituteAll
|
||||
, pythonOlder
|
||||
, geos
|
||||
|
@ -43,6 +44,12 @@ buildPythonPackage rec {
|
|||
libgeos_c = GEOS_LIBRARY_PATH;
|
||||
libc = lib.optionalString (!stdenv.isDarwin) "${stdenv.cc.libc}/lib/libc${stdenv.hostPlatform.extensions.sharedLibrary}.6";
|
||||
})
|
||||
(fetchpatch {
|
||||
name = "fix-tests-geos-3.11.patch";
|
||||
url = "https://github.com/shapely/shapely/commit/21c8e8a7909e7fb3cce6daa5c5b8284ac927fcb0.patch";
|
||||
includes = [ "tests/test_parallel_offset.py" ];
|
||||
sha256 = "sha256-85c8NlmAzzfCgepe/411ug5Sq+665dFMb3ySaUt9Kew=";
|
||||
})
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
|
|
Loading…
Reference in a new issue