From 6599186acd2bf0d1dfa1e4c20c200ac174d03e66 Mon Sep 17 00:00:00 2001 From: Dariqq Date: Wed, 15 Jan 2025 20:16:43 +0000 Subject: gnu: fastfetch: Update to 2.34.1. * gnu/packages/admin.scm (fastfetch): Update to 2.34.1. [origin]: Add snippet to remove third party code. [#:configure-flags]: Disable bundled yyjson, disable flashfetch, enable tests and skip installing license. [native-inputs]: Add python-minimal. [inputs]: Add yyjson. Change-Id: I52d5cf244726bf4362f658f818094a483e3b3d01 Signed-off-by: Sharlatan Hellseher --- gnu/packages/admin.scm | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 4e977d97ee..1d532bbc28 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -72,6 +72,7 @@ ;;; Copyright © 2024 Nikita Domnitskii ;;; Copyright © 2024 Ashish SHUKLA ;;; Copyright © 2024 Ashvith Shetty +;;; Copyright © 2025 Dariqq ;;; ;;; This file is part of GNU Guix. ;;; @@ -4450,7 +4451,7 @@ information tool.") (define-public fastfetch (package (name "fastfetch") - (version "2.34.0") + (version "2.34.1") (source (origin (method git-fetch) @@ -4459,17 +4460,26 @@ information tool.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "17033prhikj3aajfcfzi0mjc4487hyq5r2av38rw59yb95hl6fv5")))) + (base32 "1fb8ix2wxvqb414gvc6174dwigpixswbysq7yp9c3rw3c55r294h")) + (modules '((guix build utils))) + (snippet '(begin + (delete-file-recursively "src/3rdparty"))))) (build-system cmake-build-system) + (arguments + (list + #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=ON" + "-DBUILD_FLASHFETCH=OFF" + "-DBUILD_TESTS=ON" + "-DINSTALL_LICENSE=OFF"))) (inputs (list dbus glib imagemagick libxcb mesa wayland + yyjson zlib)) ;for imagemagick and an #ifdef - (native-inputs (list pkg-config)) - (arguments (list #:tests? #f)) ; no test target + (native-inputs (list pkg-config python-minimal)) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- cgit v1.2.3