nixpkgs/pkgs/development/libraries/spatialite-tools/default.nix

27 lines
833 B
Nix
Raw Normal View History

{ stdenv, fetchurl, pkgconfig, sqlite, expat, zlib, proj, geos, libspatialite, readosm }:
stdenv.mkDerivation rec {
name = "spatialite-tools-4.1.1";
src = fetchurl {
url = "https://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/${name}.tar.gz";
sha256 = "14aqmhvab63ydbb82fglsbig7jw1wmci8jjvci07aavdhvh1pyrv";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ sqlite expat zlib proj geos libspatialite readosm ];
2018-07-25 21:44:21 +00:00
configureFlags = [ "--disable-freexl" ];
enableParallelBuilding = true;
2019-10-30 11:34:47 +00:00
NIX_LDFLAGS = "-lsqlite3";
meta = {
description = "A complete sqlite3-compatible CLI front-end for libspatialite";
homepage = "https://www.gaia-gis.it/fossil/spatialite-tools";
2015-04-21 16:05:19 +00:00
license = with stdenv.lib.licenses; [ mpl11 gpl2Plus lgpl21Plus ];
platforms = stdenv.lib.platforms.linux;
};
}