Subject: [PATCH v2 3/4] gnu: grass: Improve package style.

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

* gnu/packages/geo.scm (grass): Move arguments below build-system,
native-inputs below arguments, inputs below native-inputs.

Change-Id: Ica7a2c7a32913acfd8818ec04fcea5cb5bf95c6c
---
 gnu/packages/geo.scm | 70 ++++++++++++++++++++++----------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm
index afe97704a0..697ebb7471 100644
--- a/gnu/packages/geo.scm
+++ b/gnu/packages/geo.scm
@@ -3227,41 +3227,6 @@ (define-public grass
          (sha256
           (base32 "0r08vdi1s0mpa033bqbc9kc3116qm53bmx2k7l8dgg69wxkwyzfi"))))
       (build-system gnu-build-system)
-      (inputs
-       (list bash-minimal
-             bzip2
-             cairo
-             fftw
-             freetype
-             gdal
-             geos
-             glu
-             libpng
-             libtiff
-             libxml2 ;marked as required by pdal
-             mesa
-             `(,mariadb "dev")
-             `(,mariadb "lib")
-             netcdf
-             openblas
-             pdal
-             perl
-             postgresql
-             proj
-             python
-             python-dateutil
-             python-numpy
-             python-wxpython
-             readline
-             sqlite
-             wxwidgets
-             zlib
-             `(,zstd "lib")))
-      (native-inputs
-       (list bash-minimal
-             bison
-             flex
-             pkg-config))
       (arguments
        (list
         #:tests? #f                    ; No tests
@@ -3328,6 +3293,41 @@ (define-public grass
               (lambda _
                   (wrap-program (string-append #$output "/bin/grass")
                     `("GRASS_PYTHON" = (,(which "python3")))))))))
+      (native-inputs
+       (list bash-minimal
+             bison
+             flex
+             pkg-config))
+      (inputs
+       (list bash-minimal
+             bzip2
+             cairo
+             fftw
+             freetype
+             gdal
+             geos
+             glu
+             libpng
+             libtiff
+             libxml2 ;marked as required by pdal
+             mesa
+             `(,mariadb "dev")
+             `(,mariadb "lib")
+             netcdf
+             openblas
+             pdal
+             perl
+             postgresql
+             proj
+             python
+             python-dateutil
+             python-numpy
+             python-wxpython
+             readline
+             sqlite
+             wxwidgets
+             zlib
+             `(,zstd "lib")))
       (synopsis "GRASS Geographic Information System")
       (description
        "GRASS (Geographic Resources Analysis Support System), is a Geographic
-- 
2.49.0