Subject: [bug#71279] [PATCH v2 2/4] gnu: grass: Update to 8.4.1.

From: Vinicius Monego <[email-masked]>
Date: Mon, 31 Mar 2025 01:49:44 +0000

* gnu/packages/geo.scm (grass): Update to 8.4.1.
[inputs]: Add libxml2, pdal.
[arguments]<#:phases>: Update the executable name in the
'wrap-with-python-interpreter phase.

Change-Id: I251fc1756801f3f491670443a1dcad4092137ba5
---
 gnu/packages/geo.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index cdab9ac608..afe97704a0 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -3213,7 +3213,7 @@ (define-public openorienteering-mapper
     (license license:gpl3+)))
 
 (define-public grass
-  (let* ((version "7.8.8")
+  (let* ((version "8.4.1")
          (majorminor (string-join (list-head (string-split version #\.) 2) ""))
          (grassxx (string-append "grass" majorminor)))
     (package
@@ -3225,7 +3225,7 @@ (define-public grass
          (uri (string-append "https://grass.osgeo.org/" grassxx
                              "/source/grass-" version ".tar.gz"))
          (sha256
-          (base32 "1gpfbppfajc8d6b9alw9fdzgaa83w26kl6fff1395bc9gal215ms"))))
+          (base32 "0r08vdi1s0mpa033bqbc9kc3116qm53bmx2k7l8dgg69wxkwyzfi"))))
       (build-system gnu-build-system)
       (inputs
        (list bash-minimal
@@ -3238,11 +3238,13 @@ (define-public grass
              glu
              libpng
              libtiff
+             libxml2 ;marked as required by pdal
              mesa
              `(,mariadb "dev")
              `(,mariadb "lib")
              netcdf
              openblas
+             pdal
              perl
              postgresql
              proj
@@ -3324,7 +3326,7 @@ (define-public grass
               (assoc-ref python:%standard-phases 'wrap))
             (add-after 'python:wrap 'wrap-with-python-interpreter
               (lambda _
-                  (wrap-program (string-append #$output "/bin/" #$grassxx)
+                  (wrap-program (string-append #$output "/bin/grass")
                     `("GRASS_PYTHON" = (,(which "python3")))))))))
       (synopsis "GRASS Geographic Information System")
       (description
-- 
2.49.0