mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
added meta.mainProgram and deleted fastfetch
This commit is contained in:
parent
8694fbce19
commit
7c5a635089
2 changed files with 1 additions and 80 deletions
|
|
@ -1,80 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
stdenv,
|
|
||||||
fetchFromGitHub,
|
|
||||||
cmake,
|
|
||||||
pkg-config,
|
|
||||||
chafa,
|
|
||||||
dbus,
|
|
||||||
dconf,
|
|
||||||
glib,
|
|
||||||
imagemagick_light,
|
|
||||||
libglvnd,
|
|
||||||
libpulseaudio,
|
|
||||||
libxcb,
|
|
||||||
libXrandr,
|
|
||||||
networkmanager,
|
|
||||||
ocl-icd,
|
|
||||||
opencl-headers,
|
|
||||||
pciutils,
|
|
||||||
rpm,
|
|
||||||
sqlite,
|
|
||||||
vulkan-loader,
|
|
||||||
wayland,
|
|
||||||
xfce,
|
|
||||||
zlib,
|
|
||||||
}:
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
|
||||||
pname = "fastfetch";
|
|
||||||
version = "1.12.2";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "LinusDierheimer";
|
|
||||||
repo = finalAttrs.pname;
|
|
||||||
rev = finalAttrs.version;
|
|
||||||
hash = "sha256-l9fIm7+dBsOqGoFUYtpYESAjDy3496rDTUDQjbNU4U0=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
cmake
|
|
||||||
pkg-config
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
chafa
|
|
||||||
dbus
|
|
||||||
dconf
|
|
||||||
glib
|
|
||||||
imagemagick_light
|
|
||||||
libglvnd
|
|
||||||
libpulseaudio
|
|
||||||
libxcb
|
|
||||||
libXrandr
|
|
||||||
networkmanager
|
|
||||||
ocl-icd
|
|
||||||
opencl-headers
|
|
||||||
pciutils
|
|
||||||
rpm
|
|
||||||
sqlite
|
|
||||||
vulkan-loader
|
|
||||||
wayland
|
|
||||||
xfce.xfconf
|
|
||||||
zlib
|
|
||||||
];
|
|
||||||
|
|
||||||
preBuild = ''
|
|
||||||
export TRASH=$(mktemp -d)
|
|
||||||
'';
|
|
||||||
|
|
||||||
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];
|
|
||||||
};
|
|
||||||
})
|
|
||||||
|
|
@ -41,4 +41,5 @@ rustPlatform.buildRustPackage
|
||||||
ffmpeg
|
ffmpeg
|
||||||
]}
|
]}
|
||||||
'';
|
'';
|
||||||
|
meta.mainProgram = "parrot";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue