nixos/home/hyprland/pkgs/delta-icon-theme/default.nix
Evie Litherland-Smith 2b9697aad7 Switch to delta icon theme
Remove configure-gtk script now that it's fixed
Update version of delta-icon-theme fro GitHub
2023-09-08 12:27:34 +01:00

30 lines
639 B
Nix

{ stdenvNoCC, fetchFromGitHub, gtk3, }:
stdenvNoCC.mkDerivation rec {
pname = "delta-icon-theme";
version = "7b5bc269516845518da5095ed8b8cbbc34d68edb";
dontBuild = true;
src = fetchFromGitHub {
owner = "Delta-Icons";
repo = "linux";
rev = version;
sha256 = "sha256-/QraIVlgCT4AH+LU5gMtBmIZo3TBdwyeXRyBUxP8KJA=";
};
nativeBuildInputs = [ gtk3 ];
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/icons
mv Delta $out/share/icons
for theme in $out/share/icons/*; do
gtk-update-icon-cache --force $theme
done
runHook postInstall
'';
}