From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4BEc-0004A3-BL for guix-patches@gnu.org; Sun, 23 Sep 2018 16:44:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4BEZ-0004XY-Iy for guix-patches@gnu.org; Sun, 23 Sep 2018 16:44:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46884) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g4BEZ-0004XO-Ei for guix-patches@gnu.org; Sun, 23 Sep 2018 16:44:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g4BEZ-0007fL-Bm for guix-patches@gnu.org; Sun, 23 Sep 2018 16:44:03 -0400 Subject: [bug#32813] [PATCH 4/4] gnu: Add tippecanoe. Resent-Message-ID: From: Julien Lepiller Date: Sun, 23 Sep 2018 22:43:11 +0200 Message-Id: <20180923204311.8086-4-julien@lepiller.eu> In-Reply-To: <20180923204311.8086-1-julien@lepiller.eu> References: <20180923223952.7168c8e8@lepiller.eu> <20180923204311.8086-1-julien@lepiller.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32813@debbugs.gnu.org * gnu/packages/geo.scm (tippecanoe): New variable. --- gnu/packages/geo.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index efc68ea85..ed3d922d1 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -854,3 +854,35 @@ to create databases that are optimized for rendering/tile/map-services.") 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 + `(("sqlite" ,sqlite) + ("zlib" ,zlib))) + (native-inputs + `(("perl" ,perl))) + (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))) -- 2.18.0