diff options
author | Julien Lepiller <julien@lepiller.eu> | 2018-09-27 22:12:46 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2018-09-29 12:39:48 +0200 |
commit | 6f91223fd4889301a099f75ecc855031a300fcfe (patch) | |
tree | f3421bd4bfbee3f9e3ade83258b846e8daf1ba02 | |
parent | b0e2299ad8164b986ae0f9081dad30f3332c91e5 (diff) | |
download | guix-6f91223fd4889301a099f75ecc855031a300fcfe.tar.gz |
gnu: Add tippecanoe.
* gnu/packages/geo.scm (tippecanoe): New variable.
-rw-r--r-- | gnu/packages/geo.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 9644bf9d9e..4275476e34 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -955,3 +955,34 @@ OpenStreetMap data.") PostgreSQL / PostGIS database suitable for applications like rendering into a map, geocoding with Nominatim, or general analysis.") (license license:gpl2+))) + +(define-public tippecanoe + (package + (name "tippecanoe") + (version "1.31.5") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/mapbox/tippecanoe/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1057na1dkgjaryr7jr15lqkxpam111d3l5zdpdkqzzzpxmdjxqcf")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases (delete 'configure)) + #:test-target "test" + #:make-flags + (list "CC=gcc" + (string-append "PREFIX=" (assoc-ref %outputs "out"))))) + (inputs + `(("perl" ,perl) + ("sqlite" ,sqlite) + ("zlib" ,zlib))) + (home-page "https://github.com/mapbox/tippecanoe") + (synopsis "Vector tile server for maps") + (description "Tippecanoe creates scale-independent view of data, so that +the texture and density of features is visible at every zoom level, instead of +dropping features at lower levels.") + (license license:bsd-2))) |