2023-11-08 05:44:36 +00:00
|
|
|
{
|
|
|
|
lib
|
|
|
|
, stdenvNoCC
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gtk3
|
2023-12-22 18:29:02 +00:00
|
|
|
, plasma5Packages
|
2023-11-08 05:44:36 +00:00
|
|
|
, gnome-icon-theme
|
|
|
|
, hicolor-icon-theme
|
|
|
|
}:
|
|
|
|
|
2024-04-24 06:55:19 +00:00
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
2023-11-08 05:44:36 +00:00
|
|
|
pname = "gruvbox-plus-icons";
|
2024-07-31 14:10:21 +00:00
|
|
|
version = "5.5.0";
|
2023-11-08 05:44:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SylEleuth";
|
|
|
|
repo = "gruvbox-plus-icon-pack";
|
2024-04-24 06:55:19 +00:00
|
|
|
rev = "v${finalAttrs.version}";
|
2024-09-14 21:47:11 +00:00
|
|
|
hash = "sha256-G7F+69K2aJVBM3yOQIMTH2pDXBfLmYScKIIAza3YNw8=";
|
2023-11-08 05:44:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ gtk3 ];
|
|
|
|
|
2023-12-22 18:29:02 +00:00
|
|
|
propagatedBuildInputs = [ plasma5Packages.breeze-icons gnome-icon-theme hicolor-icon-theme ];
|
2023-11-08 05:44:36 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/share/icons
|
|
|
|
cp -r Gruvbox-Plus-Dark $out/share/icons/
|
|
|
|
gtk-update-icon-cache $out/share/icons/Gruvbox-Plus-Dark
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
dontBuild = true;
|
|
|
|
dontConfigure = true;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Icon pack for Linux desktops based on the Gruvbox color scheme";
|
|
|
|
homepage = "https://github.com/SylEleuth/gruvbox-plus-icon-pack";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ eureka-cpu RGBCube ];
|
|
|
|
};
|
2024-04-24 06:55:19 +00:00
|
|
|
})
|