mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 15:22:18 -05:00
gnu: Add osmium-tool.
* gnu/packages/geo.scm (osmium-tool): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
30daa0d972
commit
eeac33a3de
1 changed files with 30 additions and 0 deletions
|
@ -82,6 +82,7 @@ (define-module (gnu packages geo)
|
||||||
#:use-module (gnu packages graphics)
|
#:use-module (gnu packages graphics)
|
||||||
#:use-module (gnu packages gtk)
|
#:use-module (gnu packages gtk)
|
||||||
#:use-module (gnu packages haskell-apps)
|
#:use-module (gnu packages haskell-apps)
|
||||||
|
#:use-module (gnu packages haskell-xyz)
|
||||||
#:use-module (gnu packages image)
|
#:use-module (gnu packages image)
|
||||||
#:use-module (gnu packages image-processing)
|
#:use-module (gnu packages image-processing)
|
||||||
#:use-module (gnu packages icu4c)
|
#:use-module (gnu packages icu4c)
|
||||||
|
@ -1209,6 +1210,35 @@ (define-public libosmium
|
||||||
OpenStreetMap data.")
|
OpenStreetMap data.")
|
||||||
(license license:boost1.0)))
|
(license license:boost1.0)))
|
||||||
|
|
||||||
|
(define-public osmium-tool
|
||||||
|
(package
|
||||||
|
(name "osmium-tool")
|
||||||
|
(version "1.14.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/osmcode/osmium-tool")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32 "0zgyqyrs89vch0qnkh9m5xq079sr2wmydy5zz4l8xbysbjf6xry5"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
;; Remove bundled libraries.
|
||||||
|
'(delete-file-recursively "include/rapidjson"))))
|
||||||
|
(build-system cmake-build-system)
|
||||||
|
(inputs
|
||||||
|
(list libosmium
|
||||||
|
rapidjson))
|
||||||
|
(native-inputs
|
||||||
|
(list pandoc))
|
||||||
|
(home-page "https://osmcode.org/osmium-tool/")
|
||||||
|
(synopsis "Osmium command-line tool")
|
||||||
|
(description "Command line tool for working with OpenStreetMap data
|
||||||
|
based on the Osmium library.")
|
||||||
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public osm2pgsql
|
(define-public osm2pgsql
|
||||||
(package
|
(package
|
||||||
(name "osm2pgsql")
|
(name "osm2pgsql")
|
||||||
|
|
Loading…
Reference in a new issue