Add spatialite-tools and its missing dependency (readosm)
This commit is contained in:
committed by
Michael Raskin
parent
4cf2f41f01
commit
87862a003b
22
pkgs/development/libraries/spatialite-tools/default.nix
Normal file
22
pkgs/development/libraries/spatialite-tools/default.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ stdenv, fetchurl, pkgconfig, sqlite, expat, zlib, proj, geos, libspatialite, readosm }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "spatialite-tools-4.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.gaia-gis.it/gaia-sins/spatialite-tools-sources/${name}.tar.gz";
|
||||
sha256 = "14aqmhvab63ydbb82fglsbig7jw1wmci8jjvci07aavdhvh1pyrv";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig sqlite expat zlib proj geos libspatialite readosm ];
|
||||
|
||||
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;
|
||||
license = [ "GPLv2+" "LGPLv2+" "MPL1.1" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user