2014-10-18 21:09:42 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, sqlite, expat, zlib, proj, geos, libspatialite, readosm }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "spatialite-tools-4.1.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 20:43:35 +02:00
|
|
|
url = "https://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/${name}.tar.gz";
|
2014-10-18 21:09:42 +02:00
|
|
|
sha256 = "14aqmhvab63ydbb82fglsbig7jw1wmci8jjvci07aavdhvh1pyrv";
|
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ sqlite expat zlib proj geos libspatialite readosm ];
|
2014-10-18 21:09:42 +02:00
|
|
|
|
|
|
|
configureFlags = "--disable-freexl";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A complete sqlite3-compatible CLI front-end for libspatialite";
|
|
|
|
homepage = https://www.gaia-gis.it/fossil/spatialite-tools;
|
2015-04-21 18:05:19 +02:00
|
|
|
license = with stdenv.lib.licenses; [ mpl11 gpl2Plus lgpl21Plus ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-10-18 21:09:42 +02:00
|
|
|
};
|
|
|
|
}
|