depot/third_party/nixpkgs/pkgs/development/libraries/libspatialindex/default.nix

23 lines
544 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
let version = "1.8.5"; in
stdenv.mkDerivation {
pname = "libspatialindex";
inherit version;
src = fetchurl {
url = "https://download.osgeo.org/libspatialindex/spatialindex-src-${version}.tar.gz";
sha256 = "1vxzm7kczwnb6qdmc0hb00z8ykx11zk3sb68gc7rch4vrfi4dakw";
};
enableParallelBuilding = true;
meta = {
description = "Extensible spatial index library in C++";
homepage = "http://libspatialindex.github.io/";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
};
}