summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-03-09 14:50:21 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2020-03-09 15:21:46 +0100
commit0ccc1385174e0b6c3af4bb73c1161bc7ad5eee37 (patch)
tree4ec4ce8729ee7fd09d0b7cc6d801a5b0b3fd973d /gnu
parent133de9ab38fef2f6edbff2fded361882f4916b6d (diff)
downloadpatches-0ccc1385174e0b6c3af4bb73c1161bc7ad5eee37.tar
patches-0ccc1385174e0b6c3af4bb73c1161bc7ad5eee37.tar.gz
gnu: Add spatialite-tools.
* gnu/packages/geo.scm (spatialite-tools): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/geo.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index 6c6d7cf698..1346ebeb5f 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -1484,3 +1484,34 @@ input file (in @code{.osm} or @code{.osm.pbf} format).")
(license (list license:gpl2+
license:lgpl2.1+
license:mpl1.1))))
+
+(define-public spatialite-tools
+ (package
+ (name "spatialite-tools")
+ (version "4.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://www.gaia-gis.it/gaia-sins/"
+ "spatialite-tools-" version ".tar.gz"))
+ (sha256
+ (base32 "12fggjhi8cgwvw8f6nk76f83b8lqkc07abxyj5ap6f2gq2dqafgp"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("expat" ,expat)
+ ("freexl" ,freexl)
+ ("geos" ,geos)
+ ("libspatialite" ,libspatialite)
+ ("libxml2" ,libxml2)
+ ("proj.4" ,proj.4)
+ ("readosm" ,readosm)
+ ("sqlite" ,sqlite)
+ ("zlib" ,zlib)))
+ (synopsis "Collection of command line tools for SpatiaLite")
+ (description
+ "@code{spatialite-tools} is a collection of Command Line Interface (CLI)
+tools supporting SpatiaLite.")
+ (home-page "https://www.gaia-gis.it/fossil/spatialite-tools/index")
+ (license license:gpl3+)))