guix_mirror_bot pushed a commit to branch misc-world-rebuild
in repository guix.

commit 6bda4d4e9bdcd1f924b386fcbaba44e0f79dca09
Author: Nicolas Graves <[email protected]>
AuthorDate: Tue Apr 14 02:38:50 2026 +0200

    gnu: netpbm: Improve style.
    
    * gnu/packages/netpbm.scm (netpbm)[arguments]<#:phases>: Drop trailing #t.
      [inputs, native-inputs]: Drop input labels, relocate fields.
    
    Change-Id: Iacde4bd2dad95d60db971116947cf8713bccf794
    Signed-off-by: Nguyễn Gia Phong <[email protected]>
---
 gnu/packages/netpbm.scm | 28 ++++++++++++----------------
 1 file changed, 12 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/netpbm.scm b/gnu/packages/netpbm.scm
index ce00df9479..0924e32a4b 100644
--- a/gnu/packages/netpbm.scm
+++ b/gnu/packages/netpbm.scm
@@ -103,18 +103,6 @@
                 #t))))
 
    (build-system gnu-build-system)
-   (inputs `(("ghostscript" ,ghostscript)
-             ("libjpeg" ,libjpeg-turbo)
-             ("libpng" ,libpng)
-             ("libtiff" ,libtiff)
-             ("libxml2" ,libxml2)
-             ("xorg-rgb" ,xorg-rgb)
-             ("zlib" ,zlib)))
-   (native-inputs
-     `(("flex" ,flex)
-       ("perl" ,perl)
-       ("pkg-config" ,pkg-config)
-       ("python" ,python-wrapper)))
    (arguments
     `(#:modules ((guix build gnu-build-system)
                  (guix build utils)
@@ -172,8 +160,7 @@
 
              ;; Skip tests that use nonfree programs that we don't build.
              (("ps-alt-roundtrip.test") "" )
-             (("pbm-misc-converters.test") ""))
-           #t))
+             (("pbm-misc-converters.test") ""))))
        (replace 'install
          (lambda* (#:key outputs make-flags #:allow-other-keys)
            (let ((out (assoc-ref outputs "out")))
@@ -190,8 +177,17 @@
                  (symlink
                   (match (find-files "." "^libnetpbm\\.so\\.[^.]*\\.[^.]*$")
                          ((head _ ...) head))
-                  "libnetpbm.so"))
-               #t)))))))
+                  "libnetpbm.so")))))))))
+   (inputs
+    (list ghostscript
+          libjpeg-turbo
+          libpng
+          libtiff
+          libxml2
+          xorg-rgb
+          zlib))
+   (native-inputs
+     (list flex perl pkg-config python-wrapper))
    (synopsis "Toolkit for manipulation of images")
    (description
     "Netpbm is a toolkit for the manipulation of graphic images, including

Reply via email to