mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
Add spatialite-tools and its missing dependency (readosm)
This commit is contained in:
parent
4cf2f41f01
commit
87862a003b
22
pkgs/development/libraries/readosm/default.nix
Normal file
22
pkgs/development/libraries/readosm/default.nix
Normal 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" ];
|
||||
};
|
||||
}
|
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" ];
|
||||
};
|
||||
}
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user