fastfetch: add required packages
This commit is contained in:
parent
4cdd481074
commit
40be3d6fda
1 changed files with 22 additions and 3 deletions
|
@ -9,23 +9,30 @@
|
||||||
, ddcutil
|
, ddcutil
|
||||||
, glib
|
, glib
|
||||||
, imagemagick_light
|
, imagemagick_light
|
||||||
|
, libXrandr
|
||||||
, libglvnd
|
, libglvnd
|
||||||
, libpulseaudio
|
, libpulseaudio
|
||||||
|
, libselinux
|
||||||
|
, libsepol
|
||||||
, libxcb
|
, libxcb
|
||||||
, libXrandr
|
|
||||||
, makeBinaryWrapper
|
, makeBinaryWrapper
|
||||||
, networkmanager
|
, networkmanager
|
||||||
, nix-update-script
|
, nix-update-script
|
||||||
, ocl-icd
|
, ocl-icd
|
||||||
, opencl-headers
|
, opencl-headers
|
||||||
, pciutils
|
, pciutils
|
||||||
|
, pcre
|
||||||
|
, pcre2
|
||||||
, pkg-config
|
, pkg-config
|
||||||
|
, python3
|
||||||
, rpm
|
, rpm
|
||||||
, sqlite
|
, sqlite
|
||||||
, testers
|
, testers
|
||||||
|
, util-linux
|
||||||
, vulkan-loader
|
, vulkan-loader
|
||||||
, wayland
|
, wayland
|
||||||
, xfce
|
, xfce
|
||||||
|
, xorg
|
||||||
, yyjson
|
, yyjson
|
||||||
, zlib
|
, zlib
|
||||||
, rpmSupport ? false
|
, rpmSupport ? false
|
||||||
|
@ -49,24 +56,29 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
cmake
|
cmake
|
||||||
makeBinaryWrapper
|
makeBinaryWrapper
|
||||||
pkg-config
|
pkg-config
|
||||||
|
python3
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
chafa
|
chafa
|
||||||
imagemagick_light
|
imagemagick_light
|
||||||
|
pcre
|
||||||
|
pcre2
|
||||||
sqlite
|
sqlite
|
||||||
yyjson
|
yyjson
|
||||||
]
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
++ lib.optionals stdenv.isLinux [
|
|
||||||
dbus
|
dbus
|
||||||
dconf
|
dconf
|
||||||
ddcutil
|
ddcutil
|
||||||
glib
|
glib
|
||||||
libpulseaudio
|
libpulseaudio
|
||||||
|
libselinux
|
||||||
|
libsepol
|
||||||
networkmanager
|
networkmanager
|
||||||
ocl-icd
|
ocl-icd
|
||||||
opencl-headers
|
opencl-headers
|
||||||
pciutils
|
pciutils
|
||||||
|
util-linux
|
||||||
zlib
|
zlib
|
||||||
] ++ lib.optionals rpmSupport [
|
] ++ lib.optionals rpmSupport [
|
||||||
rpm
|
rpm
|
||||||
|
@ -78,6 +90,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
libXrandr
|
libXrandr
|
||||||
libglvnd
|
libglvnd
|
||||||
libxcb
|
libxcb
|
||||||
|
xorg.libXau
|
||||||
|
xorg.libXdmcp
|
||||||
|
xorg.libXext
|
||||||
] ++ lib.optionals (x11Support && (!stdenv.isDarwin)) [
|
] ++ lib.optionals (x11Support && (!stdenv.isDarwin)) [
|
||||||
xfce.xfconf
|
xfce.xfconf
|
||||||
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk_11_0.frameworks; [
|
] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk_11_0.frameworks; [
|
||||||
|
@ -97,6 +112,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
(lib.cmakeOptionType "filepath" "CMAKE_INSTALL_SYSCONFDIR" "${placeholder "out"}/etc")
|
(lib.cmakeOptionType "filepath" "CMAKE_INSTALL_SYSCONFDIR" "${placeholder "out"}/etc")
|
||||||
|
(lib.cmakeBool "ENABLE_DIRECTX_HEADERS" false)
|
||||||
|
(lib.cmakeBool "ENABLE_DRM" false)
|
||||||
|
(lib.cmakeBool "ENABLE_IMAGEMAGICK6" false)
|
||||||
|
(lib.cmakeBool "ENABLE_OSMESA" false)
|
||||||
(lib.cmakeBool "ENABLE_SYSTEM_YYJSON" true)
|
(lib.cmakeBool "ENABLE_SYSTEM_YYJSON" true)
|
||||||
(lib.cmakeBool "ENABLE_GLX" x11Support)
|
(lib.cmakeBool "ENABLE_GLX" x11Support)
|
||||||
(lib.cmakeBool "ENABLE_RPM" rpmSupport)
|
(lib.cmakeBool "ENABLE_RPM" rpmSupport)
|
||||||
|
|
Loading…
Reference in a new issue