From 0ccc1385174e0b6c3af4bb73c1161bc7ad5eee37 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Mon, 9 Mar 2020 14:50:21 +0100 Subject: gnu: Add spatialite-tools. * gnu/packages/geo.scm (spatialite-tools): New variable. --- gnu/packages/geo.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) 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+))) -- cgit 1.4.1