Add spatialite-tools and its missing dependency (readosm)

This commit is contained in:
Krzysztof Starecki 2014-10-18 21:09:42 +02:00 committed by Michael Raskin
parent 4cf2f41f01
commit 87862a003b
3 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, fetchurl, expat, zlib, geos, libspatialite }:
stdenv.mkDerivation rec {
name = "readosm-1.0.0b";
src = fetchurl {
url = "http://www.gaia-gis.it/gaia-sins/readosm-sources/${name}.tar.gz";
sha256 = "042pv31smc7l6y111rvp0hza5sw86wa8ldg2jyq78xgwzcbhszpd";
};
buildInputs = [ expat zlib geos libspatialite ];
configureFlags = "--disable-freexl";
enableParallelBuilding = true;
meta = {
description = "An open source library to extract valid data from within an Open Street Map input file";
homepage = https://www.gaia-gis.it/fossil/readosm;
license = [ "GPLv2+" "LGPLv2+" "MPL1.1" ];
};
}

View 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" ];
};
}

View File

@ -6925,6 +6925,8 @@ let
readline63 = callPackage ../development/libraries/readline/6.3.nix { };
readosm = callPackage ../development/libraries/readosm { };
librdf_raptor = callPackage ../development/libraries/librdf/raptor.nix { };
librdf_raptor2 = callPackage ../development/libraries/librdf/raptor2.nix { };
@ -7049,6 +7051,8 @@ let
spandsp = callPackage ../development/libraries/spandsp {};
spatialite_tools = callPackage ../development/libraries/spatialite-tools { };
speechd = callPackage ../development/libraries/speechd { };
speech_tools = callPackage ../development/libraries/speech-tools {};