[bug#71279,v2,3/4] gnu: grass: Improve package style.

Message ID d6577ba6bd7e82603fe1c6b29b6f7d84c068ee09.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): 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(-)
  

Patch

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