aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/geo.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2018-09-27 22:38:32 +0200
committerJulien Lepiller <julien@lepiller.eu>2018-09-29 12:39:39 +0200
commit889e94e343b0784598134b333cc328ed41f387ba (patch)
tree3de30d9e8a3f89f2bbf7ab3cd83e5726bdaf2af9 /gnu/packages/geo.scm
parent8fa3451c6fd56373555e2ada00f3978e1eed32a0 (diff)
downloadguix-889e94e343b0784598134b333cc328ed41f387ba.tar
guix-889e94e343b0784598134b333cc328ed41f387ba.tar.gz
gnu: Add libosmium.
* gnu/packages/geo.scm (libosmium): New variable.
Diffstat (limited to 'gnu/packages/geo.scm')
-rw-r--r--gnu/packages/geo.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index dda981c90a..990c2a6b02 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -39,6 +39,8 @@
#:use-module (gnu packages check)
#:use-module (gnu packages compression)
#:use-module (gnu packages databases)
+ #:use-module (gnu packages datastructures)
+ #:use-module (gnu packages documentation)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages cran)
#:use-module (gnu packages glib)
@@ -874,3 +876,34 @@ encoder in C++. The developer using protozero has to manually translate the
(license (list
license:asl2.0; for folly
license:bsd-2))))
+
+(define-public libosmium
+ (package
+ (name "libosmium")
+ (version "2.14.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/osmcode/libosmium/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0d9b46qiw7zkw1h9lygjdwqxnbhm3c7v8kydzw9f9f778cyagc94"))))
+ (build-system cmake-build-system)
+ (propagated-inputs
+ `(("boost" ,boost)
+ ("expat" ,expat)
+ ("gdal" ,gdal)
+ ("geos" ,geos)
+ ("proj.4" ,proj.4)
+ ("protozero" ,protozero)
+ ("sparsehash" ,sparsehash)
+ ("zlib" ,zlib)))
+ (native-inputs
+ `(("doxygen" ,doxygen)))
+ (home-page "https://osmcode.org/libosmium/")
+ (synopsis "C++ library for working with OpenStreetMap data")
+ (description "Libosmium is a fast and flexible C++ library for working with
+OpenStreetMap data.")
+ (license license:boost1.0)))