mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
updated fastfetch
This commit is contained in:
parent
450cfa425d
commit
a0d876a3bc
1 changed files with 42 additions and 20 deletions
|
|
@ -1,58 +1,80 @@
|
||||||
{
|
{
|
||||||
chafa,
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchFromGitHub,
|
||||||
cmake,
|
cmake,
|
||||||
|
pkg-config,
|
||||||
|
chafa,
|
||||||
dbus,
|
dbus,
|
||||||
dconf,
|
dconf,
|
||||||
fetchFromGitHub,
|
|
||||||
glib,
|
glib,
|
||||||
imagemagick_light,
|
imagemagick_light,
|
||||||
libglvnd,
|
libglvnd,
|
||||||
|
libpulseaudio,
|
||||||
libxcb,
|
libxcb,
|
||||||
|
libXrandr,
|
||||||
|
networkmanager,
|
||||||
ocl-icd,
|
ocl-icd,
|
||||||
opencl-headers,
|
opencl-headers,
|
||||||
pciutils,
|
pciutils,
|
||||||
pkg-config,
|
rpm,
|
||||||
stdenv,
|
sqlite,
|
||||||
vulkan-loader,
|
vulkan-loader,
|
||||||
wayland,
|
wayland,
|
||||||
xfce,
|
xfce,
|
||||||
libX11,
|
|
||||||
zlib,
|
zlib,
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "fastfetch";
|
pname = "fastfetch";
|
||||||
version = "1.12.1";
|
version = "1.12.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "LinusDierheimer";
|
owner = "LinusDierheimer";
|
||||||
repo = finalAttrs.pname;
|
repo = finalAttrs.pname;
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-tMwHoa4Vy6QOkbASjvIiMal8TBDclF+TKWYWUwvpPeM=";
|
hash = "sha256-l9fIm7+dBsOqGoFUYtpYESAjDy3496rDTUDQjbNU4U0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [cmake pkg-config];
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
chafa
|
||||||
dbus
|
dbus
|
||||||
dconf
|
dconf
|
||||||
glib
|
glib
|
||||||
pciutils
|
|
||||||
zlib
|
|
||||||
chafa
|
|
||||||
imagemagick_light
|
imagemagick_light
|
||||||
ocl-icd
|
|
||||||
libglvnd
|
libglvnd
|
||||||
|
libpulseaudio
|
||||||
|
libxcb
|
||||||
|
libXrandr
|
||||||
|
networkmanager
|
||||||
|
ocl-icd
|
||||||
|
opencl-headers
|
||||||
|
pciutils
|
||||||
|
rpm
|
||||||
|
sqlite
|
||||||
vulkan-loader
|
vulkan-loader
|
||||||
wayland
|
wayland
|
||||||
libxcb
|
|
||||||
xfce.xfconf
|
xfce.xfconf
|
||||||
opencl-headers
|
zlib
|
||||||
libX11
|
|
||||||
];
|
];
|
||||||
cmakeFlags = [
|
|
||||||
"-DTARGET_DIR_ETC=./"
|
preBuild = ''
|
||||||
];
|
export TRASH=$(mktemp -d)
|
||||||
postInstall = ''
|
|
||||||
rm -rf $out/fastfetch
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DTARGET_DIR_ETC=$(TRASH)"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Like neofetch, but much faster because written in C";
|
||||||
|
homepage = "https://github.com/fastfetch-cli/fastfetch";
|
||||||
|
license = licenses.mit;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [gerg-l];
|
||||||
|
};
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue