42 lines
905 B
Nix
42 lines
905 B
Nix
|
{
|
||
|
lib,
|
||
|
stdenvNoCC,
|
||
|
fetchFromGitHub,
|
||
|
gtk3,
|
||
|
xdg-utils,
|
||
|
}:
|
||
|
stdenvNoCC.mkDerivation rec {
|
||
|
pname = "morewaita-icon-theme";
|
||
|
version = "43.2";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "somepaulo";
|
||
|
repo = "MoreWaita";
|
||
|
rev = "v${version}";
|
||
|
hash = "sha256-efeZEysuWdE1+ws3njFlhWjAjavRlMuIuSL2VT25lUk=";
|
||
|
};
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
gtk3
|
||
|
xdg-utils
|
||
|
];
|
||
|
|
||
|
installPhase = ''
|
||
|
runHook preInstall
|
||
|
|
||
|
install -d $out/share/icons/MoreWaita
|
||
|
cp -r . $out/share/icons/MoreWaita
|
||
|
gtk-update-icon-cache -f -t $out/share/icons/MoreWaita && xdg-desktop-menu forceupdate
|
||
|
|
||
|
runHook postInstall
|
||
|
'';
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "An Adwaita style extra icons theme for Gnome Shell";
|
||
|
homepage = "https://github.com/somepaulo/MoreWaita";
|
||
|
license = with licenses; [ gpl3Only ];
|
||
|
platforms = platforms.linux;
|
||
|
maintainers = with maintainers; [ pkosel ];
|
||
|
};
|
||
|
}
|