10 buildPythonPackage rec {
15 inherit pname version;
16 sha256 = "be8772ca34699a9ad3fb4cfe2cfb6629854e453c10b3328039301bbfc128ca3e";
19 buildInputs = [ libspatialindex ];
22 substituteInPlace rtree/finder.py --replace \
23 "find_library('spatialindex_c')" "'${libspatialindex}/lib/libspatialindex_c${stdenv.hostPlatform.extensions.sharedLibrary}'"
30 pythonImportsCheck = [ "rtree" ];
33 description = "R-Tree spatial index for Python GIS";
34 homepage = "https://toblerity.org/rtree/";
35 license = licenses.mit;
36 maintainers = with maintainers; [ bgamari ];