Subject: [bug#71968] [PATCH v6 5/5] gnu: fastfetch: Update to 2.27.1.

From: Dariqq <[email-masked]>
Date: Sat, 19 Oct 2024 07:56:40 +0000

Also add python-minimal to minify the help.json file at build time.
Disable DIRECTX_HEADERS.

* gnu/packages/admin.scm (fastfetch): Update to 2.27.1.
[#:configure-flags]: Add ENABLE_DIRECTX_HEADERS=OFF
[native-inputs]: Add python-minimal.

Change-Id: I52d5cf244726bf4362f658f818094a483e3b3d01
---
 gnu/packages/admin.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index ed6cd7de95..5b2c7f1a6f 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -4280,7 +4280,7 @@ (define-public pfetch
 (define-public fastfetch
   (package
     (name "fastfetch")
-    (version "2.16.0")
+    (version "2.27.1")
     (source
      (origin
        (method git-fetch)
@@ -4289,7 +4289,7 @@ (define-public fastfetch
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m"))
+        (base32 "07k9lch7av7146m81h36grnwgasfl4yiqs8lwm8f2v2ycfybmw1p"))
        (modules '((guix build utils)))
        (snippet '(begin
                    (delete-file-recursively "src/3rdparty")))))
@@ -4300,6 +4300,7 @@ (define-public fastfetch
                                 "-DBINARY_LINK_TYPE=dynamic"
                                 "-DBUILD_TESTS=ON"
                                 "-DINSTALL_LICENSE=OFF"
+                                "-DENABLE_DIRECTX_HEADERS=OFF"
                                 (string-append "-DCUSTOM_PCI_IDS_PATH="
                                                #$(this-package-input "hwdata")
                                                "/share/hwdata/pci.ids")
@@ -4316,7 +4317,7 @@ (define-public fastfetch
                   wayland
                   yyjson
                   zlib)) ;for imagemagick and an #ifdef
-    (native-inputs (list pkg-config))
+    (native-inputs (list pkg-config python-minimal))
     (home-page "https://github.com/fastfetch-cli/fastfetch")
     (synopsis "Display system information in a stylized manner")
     (description
-- 
2.46.0