Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
41 lines
901 B
Nix
41 lines
901 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchFromGitHub,
|
|
gtk3,
|
|
xdg-utils,
|
|
}:
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "morewaita-icon-theme";
|
|
version = "47.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "somepaulo";
|
|
repo = "MoreWaita";
|
|
rev = "${version}";
|
|
hash = "sha256-/ANzNQi+H2UzRlLrMBBMxEA/TGNpCwf8lNn6sHEKfQE=";
|
|
};
|
|
|
|
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 = "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 ];
|
|
};
|
|
}
|