guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 02b5ed3d6c13a13b857a2e670e89fcd369c9a27a
Author: Sughosha <[email protected]>
AuthorDate: Wed Dec 24 16:58:35 2025 +0530

    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 60e4f6f6ef..63940be3ec 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)
@@ -2445,10 +2446,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

Reply via email to