anchor.diff:      pytestCheckHook
     ];
   
  -  # environment variable used in shapely/_buildcfg.py
  +  # Environment variable used in shapely/_buildcfg.py
     GEOS_LIBRARY_PATH = "${geos}/lib/libgeos_c${stdenv.hostPlatform.extensions.sharedLibrary}";
   
     patches = [
  
positive.code:     "test_collection"
    ];
  
    meta = with lib; {
      description = "Geometric objects, predicates, and operations";
      maintainers = with maintainers; [ knedlsepp ];
      homepage = "https://pypi.python.org/pypi/Shapely/";
    };
  }
  
negative.code:         ".travis.yml"
        ];
      })
      # Patch to search form GOES .so/.dylib files in a Nix-aware way
      (substituteAll {
        src = ./library-paths.patch;
        libgeos_c = GEOS_LIBRARY_PATH;
        libc = lib.optionalString (!stdenv.isDarwin) "${stdenv.cc.libc}/lib/libc${stdenv.hostPlatform.extensions.sharedLibrary}.6";
      })
   ];
  
    preCheck = ''
  