From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uAsvDbXCu2GKyQAAgWs5BA (envelope-from ) for ; Thu, 16 Dec 2021 23:50:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OHrCCLXCu2GpawAAbx9fmQ (envelope-from ) for ; Thu, 16 Dec 2021 22:50:29 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4E0342F321 for ; Thu, 16 Dec 2021 23:50:28 +0100 (CET) Received: from localhost ([::1]:47640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxzZz-0004pv-H0 for larch@yhetil.org; Thu, 16 Dec 2021 17:50:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43230) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxzZa-0004mu-Cm for guix-patches@gnu.org; Thu, 16 Dec 2021 17:50:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxzZa-00036M-4V for guix-patches@gnu.org; Thu, 16 Dec 2021 17:50:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxzZZ-0008RC-Rp for guix-patches@gnu.org; Thu, 16 Dec 2021 17:50:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52548] [PATCH] gnu: Add osmium-tool. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Dec 2021 22:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52548 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Nikolay Korotkiy Cc: 52548@debbugs.gnu.org Received: via spool by 52548-submit@debbugs.gnu.org id=B52548.163969497032387 (code B ref 52548); Thu, 16 Dec 2021 22:50:01 +0000 Received: (at 52548) by debbugs.gnu.org; 16 Dec 2021 22:49:30 +0000 Received: from localhost ([127.0.0.1]:37143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxzZ4-0008QI-G1 for submit@debbugs.gnu.org; Thu, 16 Dec 2021 17:49:30 -0500 Received: from lepiller.eu ([89.234.186.109]:58682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxzZ1-0008Q8-Ke for 52548@debbugs.gnu.org; Thu, 16 Dec 2021 17:49:29 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 2b9f38d7; Thu, 16 Dec 2021 22:49:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=UrAYfYE87NHP kOeL5I7TvwZXo+3j6hpEpyeIh2lymtQ=; b=L0JB4Q3KdfxuFsY0W3Vezlcw5di+ KSjDlk/LFPFvbHUdOJKWMtGIV5mEpmxOlge9aPqtsIi0stZxrjeHJAqZlvS5N0E4 izPGXFlrJQrZOseIMqJML2xQwexJXtbWbolnGFOMgJuiXfnLwfeHKY8ss663KtIo qGulfkVvxw8Pfg1s4ry56OFzyjUmUNlE5BGyql0g/WSdDGHDU17ue6Jx4m7jibyk g3kssiSJ0wlmQ67KldMn+IdzBE3OenGynVHucvyQsRIp1jpczzIJQvX0VMhqGFSK taREKRd2yxhHKU9XZbSmSmvqeepsuQeRfKy1Tm3h3p1qVj+ueRsqaTOoUg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 02952a3f (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 16 Dec 2021 22:49:25 +0000 (UTC) Date: Thu, 16 Dec 2021 23:49:13 +0100 From: Julien Lepiller Message-ID: <20211216234913.404b9b56@tachikoma.lepiller.eu> In-Reply-To: References: X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.24; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639695028; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=uC818yBpfrXx2QkzBQyANeByMlwNcg11Wlub9npW58E=; b=dMLM01IrowNKXq9BVdBF+X5MN4N2g69sKQsdJAjiEsgog7TxTthuNAhL4HeCrNrgVBl1zK xWCjEWkOHpUtYOu26FH8IYEn9KjyCo/9bDZxd7CgClkJkCQDRxy0G8LVE3P2oSEKzEpmdj 3umSMDrJu38Yq7aItPEhI+n0gRlGCYoPpUhB0v7yymviOQnJAEMrSr1x6HgPDCGtQe+1Dl B0cZUhqVnfjvY2Vka8gVdEoC0cpzo1itrhrn0+f/pHP/vzye2KvjfN1J0PKL5EO5Rywf+c g0tDvIjGprtsdGZYQoQrUIJQ1g5/0cC8FFliw8m/yvnxnTrvJW5OfGWJQDL6VA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639695028; a=rsa-sha256; cv=none; b=PW2mclXCZrxqi5Hn9E7vKspPk/LTR8+ZKvNwhPPyCBEXSaNXK/gXRlhYMBuxgWHr2fhudc FFO8lpqQNPVh+ph3s8usQjle1hExtuJV4ZxBeTti2jgAH93qSkZSS7JCZxC/KFnfpydQdc d8ElIt1keR5O8KFRcBhAHii3+n0grPAvAL6wl5TtjZf3uICmlqQh5hHPeOgr5mIt3FvRHC GGCpTl755u1lw38vZqY9RraWhc8b8iYE/Is75+99BHynMZLHeaO+2EVDA/wCzOuYsrkQqN 82lNl6fAx1waZnBWWp/Wp22v+b3KYkhBlAqH/qc0YDR5m6q3PnxayYjHaFedlA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=L0JB4Q3K; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=L0JB4Q3K; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4E0342F321 X-Spam-Score: -2.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: RFxOi42oi1Mn Thanks for the patch! It looks good to me, but I wonder if we could unbundle rapidjson and msinttypes? rapidjson is already a guix package, and I'm not sure where msinttypes is used exactly. Le Thu, 16 Dec 2021 14:53:46 +0300, Nikolay Korotkiy a =C3=A9crit : > * gnu/packages/geo.scm (osmium-tool): New variable. > --- > gnu/packages/geo.scm | 30 ++++++++++++++++++++++++++++++ > 1 file changed, 30 insertions(+) >=20 > diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm > index cb5f4cbc64..63569a3bcf 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) > @@ -1198,6 +1199,35 @@ (define-public libosmium > OpenStreetMap data.") > (license license:boost1.0))) > =20 > +(define-public osmium-tool > + (package > + (name "osmium-tool") > + (version "1.13.2") > + (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 > "0brifazzwnd4qx234z049wh4ii0a7jy79n8jc2f3ry6jcrijddkl")))) > + (build-system cmake-build-system) > + (inputs > + (list libosmium)) > + (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 (list > + license:gpl3+ > + ;; rapidjson > + license:expat > + ;; msinttypes > + license:bsd-3)))) > + > (define-public osm2pgsql > (package > (name "osm2pgsql")