11 buildPythonPackage rec {
14 disabled = pythonOlder "3.7";
19 sha256 = "sha256-IiEhaZwwOmQGXYSb9wOLHsq8N7Zcf6NAvts47w6AVCk=";
23 substituteInPlace rtree/finder.py --replace \
24 'find_library("spatialindex_c")' '"${libspatialindex}/lib/libspatialindex_c${stdenv.hostPlatform.extensions.sharedLibrary}"'
27 buildInputs = [ libspatialindex ];
34 pythonImportsCheck = [ "rtree" ];
37 description = "R-Tree spatial index for Python GIS";
38 homepage = "https://toblerity.org/rtree/";
39 license = licenses.mit;
40 maintainers = with maintainers; [ bgamari ];