From 3167adf28ffe8f72ddcd65479f4eb0fcce33f3b2 Mon Sep 17 00:00:00 2001 From: Sughosha Date: Wed, 24 Dec 2025 16:58:35 +0530 Subject: [PATCH] gnu: osmctools: Wrap osmupdate with wget. * gnu/packages/geo.scm (osmctools)[arguments]<#:phases>: Add wrap phase. [inputs]: Add wget. Change-Id: If4c9a0c6440921fd7c509df028b970530d16363b --- gnu/packages/geo.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index b80d4992646..6af91b4d1b0 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -159,6 +159,7 @@ #:use-module (gnu packages video) #:use-module (gnu packages web) #:use-module (gnu packages webkit) + #:use-module (gnu packages wget) #:use-module (gnu packages wxwidgets) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) @@ -2428,10 +2429,20 @@ dropping features at lower levels.") (base32 "1m8d3r1q1v05pkr8k9czrmb4xjszw6hvgsf3kn9pf0v14gpn4r8f")))) (build-system gnu-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'install 'wrap + (lambda _ + (wrap-program (string-append #$output "/bin/osmupdate") + `("PATH" prefix + (,(string-append #$(this-package-input "wget") + "/bin"))))))))) (native-inputs (list autoconf automake)) (inputs - (list zlib)) + (list wget ;required by osmupdate + zlib)) (home-page "https://gitlab.com/osm-c-tools/osmctools") (synopsis "Tools to convert, filter and update OpenStreetMap data files") (description "This project contains a few tools which are used in the