From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4BEc-0004A0-Ab 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 1g4BEY-0004WP-9g for guix-patches@gnu.org; Sun, 23 Sep 2018 16:44:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46881) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g4BEY-0004WK-56 for guix-patches@gnu.org; Sun, 23 Sep 2018 16:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g4BEX-0007ex-UD for guix-patches@gnu.org; Sun, 23 Sep 2018 16:44:01 -0400 Subject: [bug#32813] [PATCH 1/4] gnu: Add tegola. Resent-Message-ID: From: Julien Lepiller Date: Sun, 23 Sep 2018 22:43:08 +0200 Message-Id: <20180923204311.8086-1-julien@lepiller.eu> In-Reply-To: <20180923223952.7168c8e8@lepiller.eu> References: <20180923223952.7168c8e8@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 (tegola): New variable. --- gnu/packages/geo.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index ae6ba024e..e6aafff7d 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -760,3 +760,33 @@ location queries to be run in SQL.") license:bsd-3 ; files only say "BSD" ;; doc license:cc-by-sa3.0)))) + +(define-public tegola + (package + (name "tegola") + (version "0.7.0") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/go-spatial/tegola/archive/v" + version ".tar.gz")) + (sha256 + (base32 + "09vnzxfn0r70kmd776kcdfqxhzdj11syxa0b27z4ci1k367v7viw")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/go-spatial/tegola/cmd/tegola" + #:unpack-path "github.com/go-spatial" + #:phases + (modify-phases %standard-phases + (add-before 'build 'rename-import + (lambda _ + (rename-file (string-append "src/github.com/go-spatial/tegola-" ,version) + "src/github.com/go-spatial/tegola") + #t))))) + (home-page "http://tegola.io") + (synopsis "Vector tile server for maps") + (description "Tegola is a free vector tile server written in Go. Tegola +takes geospatial data and slices it into vector tiles that can be efficiently +delivered to any client.") + (license license:expat))) -- 2.18.0