git.iko.soy/typeable/nixpkgs
on master help sign in
python38Packages.shapely: fix failing test

The test_svg fails on checkPhase so the package can't be build.

commitaf15d4f74f58e09f68207e30c70ef2e7e565a774 authorqq <0qqw0qqw@gmail.com> dateMon 22 Feb 2021, 21:48 (6 years ago) parent148eff9
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 = ''