{ 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 ''; }