mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
gnu: Add fastfetch-minimal.
* gnu/packages/admin.scm (fastfetch-minimal): New variable. (fastfetch): inherit from fastfetch-minimal. Change-Id: Ie1b39699e5202a7a29c606f9e9ba08fb769eadd0 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
355e47a9ec
commit
452dacd7e8
1 changed files with 32 additions and 21 deletions
|
|
@ -4636,9 +4636,9 @@ everyone's screenshots nowadays.")
|
|||
information tool.")
|
||||
(license license:expat))))
|
||||
|
||||
(define-public fastfetch
|
||||
(define-public fastfetch-minimal
|
||||
(package
|
||||
(name "fastfetch")
|
||||
(name "fastfetch-minimal")
|
||||
(version "2.51.1")
|
||||
(source
|
||||
(origin
|
||||
|
|
@ -4658,25 +4658,8 @@ information tool.")
|
|||
#:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=ON"
|
||||
"-DBUILD_FLASHFETCH=OFF"
|
||||
"-DBUILD_TESTS=ON"
|
||||
"-DINSTALL_LICENSE=OFF"
|
||||
"-DBINARY_LINK_TYPE=dynamic"
|
||||
"-DENABLE_DIRECTX_HEADERS=OFF"
|
||||
(string-append "-DCUSTOM_PCI_IDS_PATH="
|
||||
#$(this-package-input "hwdata")
|
||||
"/share/hwdata/pci.ids")
|
||||
(string-append "-DCUSTOM_AMDGPU_IDS_PATH="
|
||||
#$(this-package-input "libdrm")
|
||||
"/share/libdrm/amdgpu.ids"))))
|
||||
(inputs (list dbus
|
||||
glib
|
||||
hwdata
|
||||
imagemagick
|
||||
libdrm
|
||||
libxcb
|
||||
mesa
|
||||
wayland
|
||||
yyjson
|
||||
zlib)) ;for imagemagick and an #ifdef
|
||||
"-DINSTALL_LICENSE=OFF")))
|
||||
(inputs (list yyjson))
|
||||
(native-inputs (list pkg-config python-minimal))
|
||||
(home-page "https://github.com/fastfetch-cli/fastfetch")
|
||||
(synopsis "Display system information in a stylized manner")
|
||||
|
|
@ -4686,6 +4669,34 @@ a stylized way. Fastfetch displays this information next to a logo of the
|
|||
system distribution, akin to many similar tools.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public fastfetch
|
||||
(package
|
||||
(inherit fastfetch-minimal)
|
||||
(name "fastfetch")
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments fastfetch-minimal)
|
||||
((#:configure-flags flags #~'())
|
||||
#~(append #$flags
|
||||
(list "-DBINARY_LINK_TYPE=dynamic"
|
||||
"-DENABLE_DIRECTX_HEADERS=OFF"
|
||||
(string-append "-DCUSTOM_PCI_IDS_PATH="
|
||||
#$(this-package-input "hwdata")
|
||||
"/share/hwdata/pci.ids")
|
||||
(string-append "-DCUSTOM_AMDGPU_IDS_PATH="
|
||||
#$(this-package-input "libdrm")
|
||||
"/share/libdrm/amdgpu.ids"))))))
|
||||
(inputs
|
||||
(modify-inputs (package-inputs fastfetch-minimal)
|
||||
(append dbus
|
||||
glib
|
||||
hwdata
|
||||
imagemagick
|
||||
libdrm
|
||||
libxcb
|
||||
mesa
|
||||
wayland
|
||||
zlib))))) ;for imagemagick and an #ifdef
|
||||
|
||||
(define-public nnn
|
||||
(package
|
||||
(name "nnn")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue