git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #114027 from 0qq/fix-pythonPackages.shapely

python38Packages.shapely: fix build

commit911d003b1f4c9f2f07ec4ff2e13e7f3c3f4d5ac7 authorJörg Thalheim <Mic92@users.noreply.github.com> dateMon 22 Feb 2021, 20:13 (6 years ago) parent7fa7945af15d4f
1 file changed+7−2
pkgs/development/python-modules/shapely/default.nix+7−2
pkgs/development/python-modules/shapely/default.nix+7−2
@@ -1,4 +1,4 @@
1−{ lib, stdenv, buildPythonPackage, fetchPypi, substituteAll, pythonOlder
1+{ lib, stdenv, buildPythonPackage, fetchPypi, fetchpatch, substituteAll, pythonOlder
22, geos, pytest, cython
33, numpy
44}:
@@ -31,7 +31,12 @@ buildPythonPackage rec {
3131 libgeos_c = GEOS_LIBRARY_PATH;
3232 libc = lib.optionalString (!stdenv.isDarwin) "${stdenv.cc.libc}/lib/libc${stdenv.hostPlatform.extensions.sharedLibrary}.6";
3333 })
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+ ];
3540
3641 # Disable the tests that improperly try to use the built extensions
3742 checkPhase = ''