From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4BEc-0004A1-BH 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-0004Wf-M2 for guix-patches@gnu.org; Sun, 23 Sep 2018 16:44:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46882) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g4BEY-0004WX-H3 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 1g4BEY-0007f5-EY for guix-patches@gnu.org; Sun, 23 Sep 2018 16:44:02 -0400 Subject: [bug#32813] [PATCH 2/4] gnu: Add imposm3. Resent-Message-ID: From: Julien Lepiller Date: Sun, 23 Sep 2018 22:43:09 +0200 Message-Id: <20180923204311.8086-2-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 (imposm3): New variable. --- gnu/packages/geo.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index e6aafff7d..81bffcc88 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -790,3 +790,37 @@ location queries to be run in SQL.") takes geospatial data and slices it into vector tiles that can be efficiently delivered to any client.") (license license:expat))) + +(define-public imposm3 + (package + (name "imposm3") + (version "0.6.0-alpha.4") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/omniscale/imposm3/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "06f0kwmv52yd5m9jlckqxqmkf0cnqy3hamakrvg9lspplyqrds80")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/omniscale/imposm3/cmd/imposm" + #:unpack-path "github.com/omniscale" + #:phases + (modify-phases %standard-phases + (add-before 'build 'rename-import + (lambda _ + (rename-file (string-append "src/github.com/omniscale/imposm3-" ,version) + "src/github.com/omniscale/imposm3") + #t))))) + (inputs + `(("geos" ,geos) + ("leveldb" ,leveldb))) + (home-page "http://imposm.org/") + (synopsis "OpenStreetMap importer for PostGIS.") + (description "Imposm is an importer for OpenStreetMap data. It reads PBF +files and imports the data into PostgreSQL/PostGIS databases. It is designed +to create databases that are optimized for rendering/tile/map-services.") + (license license:asl2.0))) -- 2.18.0