From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2LJBC4eWAmJH0wAAgWs5BA (envelope-from ) for ; Tue, 08 Feb 2022 17:12:55 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GMzXB4eWAmJPWwAAauVa8A (envelope-from ) for ; Tue, 08 Feb 2022 17:12:55 +0100 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 AEFC430D97 for ; Tue, 8 Feb 2022 17:12:54 +0100 (CET) Received: from localhost ([::1]:50024 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHT6r-0004bU-PN for larch@yhetil.org; Tue, 08 Feb 2022 11:12:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHQdA-0005SZ-Lk for guix-patches@gnu.org; Tue, 08 Feb 2022 08:34:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHQd9-0004aY-N7 for guix-patches@gnu.org; Tue, 08 Feb 2022 08:34:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHQd9-0003TW-Lb for guix-patches@gnu.org; Tue, 08 Feb 2022 08:34:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52548] [PATCH 1/2] gnu: Add osmium-tool. References: In-Reply-To: Resent-From: Nikolay Korotkiy Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Feb 2022 13:34:03 +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: 52548@debbugs.gnu.org Cc: Nikolay Korotkiy Received: via spool by 52548-submit@debbugs.gnu.org id=B52548.164432722313282 (code B ref 52548); Tue, 08 Feb 2022 13:34:03 +0000 Received: (at 52548) by debbugs.gnu.org; 8 Feb 2022 13:33:43 +0000 Received: from localhost ([127.0.0.1]:45857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHQcp-0003S4-4P for submit@debbugs.gnu.org; Tue, 08 Feb 2022 08:33:43 -0500 Received: from knopi.disroot.org ([178.21.23.139]:36628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHMNH-0001Q4-Rh for 52548@debbugs.gnu.org; Tue, 08 Feb 2022 04:01:24 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 2464E8C197; Tue, 8 Feb 2022 10:01:23 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UXewryPktmC8; Tue, 8 Feb 2022 10:01:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1644310858; bh=8apKQc3+UmmQZyef5seREPgcZEXcMkrcGMKd6vv0JhE=; h=From:To:Cc:Subject:Date; b=kEjCiEYmUydTTGRY76e467aqaNN+yr7k2B3ThKhLHZ9UTCDX/SskOpYSb1wEnlCxc QGbGZ/bEDBB+5WyxWBQslt7+S2azssteBgB9rqPkLm1joSh0kGFqj8eqUSd8r0Al8/ jXic04Hqapq0royMwEGI5jlV+vfMtXPUWKXqBSs6m0YvMKSqwfxA5RxU86sZoHW9wO wV58g9yPeCBNXFzw8RSI8aGm3cK0FdDSzjcF1EykUXjjcoa6xODlue/jxvgxhw+abt A9LNylxiZp/3ISZuNFT8/VB3wUc7bA63cwnUD7sshEaKwq+fIb9e8cWwIlM7pTDuxq fBXIN5xw4SAqA== Date: Tue, 8 Feb 2022 12:00:48 +0300 Message-Id: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 08 Feb 2022 08:33:40 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 08 Feb 2022 09:04:30 -0500 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" Reply-to: Nikolay Korotkiy X-ACL-Warn: , Nikolay Korotkiy via Guix-patches From: Nikolay Korotkiy via Guix-patches via 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=1644336774; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=lyCJ41f8UTOGL+uyoeawJ1worqdp8tlqrnHRNJQLBJM=; b=pdVwqswhZ+zca0+yE/p53C0iPaewD5aTQ241ONTxwwWlWRNzdUNSfy1OBOrvuz4VV6zuyz JW3sN/WEBkAEOFXsiI21yyl9GClum+VUXcmY9W6PVgsoRdn9d1I0rcs4IeWYx2KJhQpbx6 M9gku00yARym99PI0WpaLaUes2d4YvM2zf5JpNFV3p7gHBP7a7a9+unGHFszIL8zlMx8yO QzBD5n5nGxRNLeY0pTKnB9Huecl2+SyLUb7O2QEvPTSPDV80z86KzhR794pkCuOfQ/YO0o qTwBoLEsch8MYXjhhEOOnFAtUDJHUt2Pp3nqW5sUpaJeKAdoYNWUZffLlo0Awg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644336774; a=rsa-sha256; cv=none; b=WTP+4AP4KUvcNi6U8jahZ1WtPEYyvNLsgLtMPeaAWPcC5/eCYaKT0qzzVupOLibrRKTcLF h3r5BzuLlxk+o4uiwJX9fnUosJ4sCvJKv39cupzOVXVz38QVuGAvV914Trr0qoID8tGGoq QD1NQAnPmYOYJEAJLjAfXNy6iuTrpWeKxy+h4WncsRcUDi2/GQvcNxMQ6llMErni/ry47Z 0iVyOJPDlyHhTZV8RyPYCPg6vvZo2C4vfnw374u51jdbKGL11BGi66SYFMo5o1AYet32Rt LvBMlTg2bousH4gMowX1QMFqviC0d5hr5kGsqcY3ffl/448lhtnOPDhqJcxX1w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=kEjCiEYm; dmarc=pass (policy=none) header.from=gnu.org; 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.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=kEjCiEYm; dmarc=pass (policy=none) header.from=gnu.org; 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: AEFC430D97 X-Spam-Score: -2.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0ZC9MBjaj290 From: Nikolay Korotkiy * 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