anchor.diff:     })
    ];
   
  -  # Disable the tests that improperly try to use the built extensions
  -  checkPhase = ''
  +  preCheck = ''
       rm -r shapely # prevent import of local shapely
  -    py.test tests
     '';
  +
  +  disabledTests = [
  +    "test_collection"
  +  ];
   
     meta = with lib; {
       description = "Geometric objects, predicates, and operations";
  
positive.code: { lib, stdenv, buildPythonPackage, fetchPypi, fetchpatch, substituteAll, pythonOlder
  , geos, pytest, cython
  , numpy
  }:
  
  
negative.code:     cython
    ];
  
    propagatedBuildInputs = [ numpy ];
  
    checkInputs = [ pytestCheckHook ];
  
    # environment variable used in shapely/_buildcfg.py
    GEOS_LIBRARY_PATH = "${geos}/lib/libgeos_c${stdenv.hostPlatform.extensions.sharedLibrary}";
  