Merge pull request #114027 from 0qq/fix-pythonPackages.shapely

python38Packages.shapely: fix build

authored by

Jörg Thalheim and committed by
GitHub
911d003b 7fa79457

+7 -2
+7 -2
pkgs/development/python-modules/shapely/default.nix
··· 1 - { lib, stdenv, buildPythonPackage, fetchPypi, substituteAll, pythonOlder 1 + { lib, stdenv, buildPythonPackage, fetchPypi, fetchpatch, substituteAll, pythonOlder 2 2 , geos, pytest, cython 3 3 , numpy 4 4 }: ··· 31 31 libgeos_c = GEOS_LIBRARY_PATH; 32 32 libc = lib.optionalString (!stdenv.isDarwin) "${stdenv.cc.libc}/lib/libc${stdenv.hostPlatform.extensions.sharedLibrary}.6"; 33 33 }) 34 - ]; 34 + # included in next release. 35 + (fetchpatch { 36 + url = "https://github.com/Toblerity/Shapely/commit/ea5b05a0c87235d3d8f09930ad47c396a76c8b0c.patch"; 37 + sha256 = "sha256-egdydlV+tpXosSQwQFHaXaeBhXEHAs+mn7vLUDpvybA="; 38 + }) 39 + ]; 35 40 36 41 # Disable the tests that improperly try to use the built extensions 37 42 checkPhase = ''