2023-11-12 08:53:19 +00:00
|
|
|
{ stdenvNoCC, fetchFromGitHub, gtk3, candy-icon-theme, gnome-icon-theme
|
|
|
|
, ubuntu-themes, cinnamon, elementary-xfce-icon-theme }:
|
2023-11-12 07:25:21 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "sweet-folder-theme";
|
|
|
|
version = "b2192ff1412472f036fdf9778c6b9dbcb6c044ec";
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "EliverLara";
|
|
|
|
repo = "Sweet-folders";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "sha256-QexfqXH5a1IEhKBRjWSMdrEvThvLRzd4M32Xti1DCGE=";
|
|
|
|
};
|
|
|
|
|
2023-11-12 08:53:19 +00:00
|
|
|
nativeBuildInputs = [ gtk3 ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
candy-icon-theme
|
|
|
|
gnome-icon-theme
|
|
|
|
ubuntu-themes
|
|
|
|
cinnamon.mint-x-icons
|
|
|
|
elementary-xfce-icon-theme
|
|
|
|
];
|
2023-11-12 07:25:21 +00:00
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/icons
|
|
|
|
mv Sweet-Rainbow $out/share/icons
|
|
|
|
|
|
|
|
for theme in $out/share/icons/*; do
|
|
|
|
gtk-update-icon-cache --force $theme
|
|
|
|
done
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
}
|