2021-01-21 09:00:13 -08:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, sqlite, expat, zlib, proj, geos, libspatialite, readosm }:
|
2014-10-18 12:09:42 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "spatialite-tools-4.1.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 11:43:35 -07:00
|
|
|
url = "https://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/${name}.tar.gz";
|
2014-10-18 12:09:42 -07:00
|
|
|
sha256 = "14aqmhvab63ydbb82fglsbig7jw1wmci8jjvci07aavdhvh1pyrv";
|
|
|
|
};
|
|
|
|
|
2021-01-18 22:50:56 -08:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 14:26:13 -07:00
|
|
|
buildInputs = [ sqlite expat zlib proj geos libspatialite readosm ];
|
2014-10-18 12:09:42 -07:00
|
|
|
|
2018-07-25 14:44:21 -07:00
|
|
|
configureFlags = [ "--disable-freexl" ];
|
2014-10-18 12:09:42 -07:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-10-30 04:34:47 -07:00
|
|
|
NIX_LDFLAGS = "-lsqlite3";
|
2019-02-10 05:14:33 -08:00
|
|
|
|
2014-10-18 12:09:42 -07:00
|
|
|
meta = {
|
|
|
|
description = "A complete sqlite3-compatible CLI front-end for libspatialite";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://www.gaia-gis.it/fossil/spatialite-tools";
|
2021-01-21 09:00:13 -08:00
|
|
|
license = with lib.licenses; [ mpl11 gpl2Plus lgpl21Plus ];
|
|
|
|
platforms = lib.platforms.linux;
|
2014-10-18 12:09:42 -07:00
|
|
|
};
|
|
|
|
}
|