mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 22:10:14 +00:00
47 lines
994 B
Nix
47 lines
994 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
unstableGitUpdater,
|
|
gtk3,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "candy-icons";
|
|
version = "0-unstable-2026-03-06";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "EliverLara";
|
|
repo = "candy-icons";
|
|
rev = "83512fbcadcb7e1015ebbe1729a1894946b021be";
|
|
hash = "sha256-TzovzmfrUuaSrtpKCQxyXcih7cKSBhBtMpZLVwY/ScA=";
|
|
};
|
|
|
|
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 = {
|
|
homepage = "https://github.com/EliverLara/candy-icons";
|
|
description = "Icon theme colored with sweet gradients";
|
|
license = lib.licenses.gpl3Plus;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = with lib.maintainers; [
|
|
clr-cera
|
|
arunoruto
|
|
];
|
|
};
|
|
}
|