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