mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
42 lines
891 B
Nix
42 lines
891 B
Nix
{ lib
|
|
, stdenvNoCC
|
|
, fetchFromGitHub
|
|
, gtk3
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "candy-icons";
|
|
version = "unstable-2023-12-31";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "EliverLara";
|
|
repo = "candy-icons";
|
|
rev = "e4464d7b4d8e1821025447b2064b6a8f5c4c8c89";
|
|
hash = "sha256-XdYjxWf8R4b1GK2iFQnoEOWykc19ZT37ki83WeESQBM=";
|
|
};
|
|
|
|
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
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|