47 lines
992 B
Nix

{
lib,
stdenvNoCC,
fetchFromGitHub,
unstableGitUpdater,
gtk3,
}:
stdenvNoCC.mkDerivation {
pname = "candy-icons";
version = "0-unstable-2025-02-08";
src = fetchFromGitHub {
owner = "EliverLara";
repo = "candy-icons";
rev = "19b7c01be70bb29475cd939638972ddbb7a33194";
hash = "sha256-fUQCC4B3+DOxjvX6Fjxy8BBE+piPfbvbKbrIj1Yc6us=";
};
nativeBuildInputs = [ gtk3 ];
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons/candy-icons
cp -r . $out/share/icons/candy-icons
gtk-update-icon-cache $out/share/icons/candy-icons
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { };
meta = with lib; {
homepage = "https://github.com/EliverLara/candy-icons";
description = "Icon theme colored with sweet gradients";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [
clr-cera
arunoruto
];
};
}