unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nikolay Korotkiy via Guix-patches via <guix-patches@gnu.org>
To: 52548@debbugs.gnu.org
Cc: Nikolay Korotkiy <sikmir@gmail.com>
Subject: [bug#52548] [PATCH] gnu: Add osmium-tool.
Date: Tue,  8 Feb 2022 11:56:18 +0300	[thread overview]
Message-ID: <bf646548946503c6bb6e1f96e2604dac673bd3aa.1644310578.git.sikmir@disroot.org> (raw)
In-Reply-To: <dda63a981796b42803ede5f7ad25b799baec11d6.1639655626.git.sikmir@gmail.com>

From: Nikolay Korotkiy <sikmir@gmail.com>

* gnu/packages/geo.scm (osmium-tool): 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 23cec0f9b7..153e4582bd 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -82,6 +82,7 @@ (define-module (gnu packages geo)
   #:use-module (gnu packages graphics)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages haskell-apps)
+  #:use-module (gnu packages haskell-xyz)
   #:use-module (gnu packages image)
   #:use-module (gnu packages image-processing)
   #:use-module (gnu packages icu4c)
@@ -1209,6 +1210,37 @@ (define-public libosmium
 OpenStreetMap data.")
     (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.
+        '(begin
+           (delete-file-recursively "include/rapidjson")
+           #t))))
+    (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
   (package
     (name "osm2pgsql")
-- 
2.34.1





  parent reply	other threads:[~2022-02-08 15:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-16 11:53 [bug#52548] [PATCH] gnu: Add osmium-tool Nikolay Korotkiy
2021-12-16 11:56 ` [bug#52548] [PATCH] gnu: libosmium: Update to 2.17.2 Nikolay Korotkiy
2021-12-16 22:49 ` [bug#52548] [PATCH] gnu: Add osmium-tool Julien Lepiller
2021-12-16 23:03   ` Nikolay Korotkiy
2022-01-05 22:36     ` Ludovic Courtès
2022-02-08  8:56 ` Nikolay Korotkiy via Guix-patches via [this message]
2022-02-08  9:00 ` [bug#52548] [PATCH 1/2] " Nikolay Korotkiy via Guix-patches via
2022-03-09 22:09   ` bug#52548: [PATCH] " Ludovic Courtès
2022-02-08  9:02 ` [bug#52548] [PATCH] gnu: libosmium: Update to 2.18.0 Nikolay Korotkiy via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bf646548946503c6bb6e1f96e2604dac673bd3aa.1644310578.git.sikmir@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=52548@debbugs.gnu.org \
    --cc=sikmir@disroot.org \
    --cc=sikmir@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).