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

Message ID a715792a0ea86f7541e792fda896162b55b75359.1743385653.git.monego@posteo.net
State New
Headers
Series [bug#71279,v2,1/4] gnu: grass: Improve package style. |

Commit Message

Vinicius Monego March 31, 2025, 1:49 a.m. UTC
  * 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(-)
  

Patch

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