Merge pull request #214057 from pkosel/morewaita-init

morewaita-icon-theme: init at 42.3
This commit is contained in:
Weijia Wang 2024-01-12 14:11:53 +01:00 committed by GitHub
commit f7569cb8e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 47 additions and 0 deletions

View File

@ -14669,6 +14669,12 @@
githubId = 610615;
name = "Chih-Mao Chen";
};
pkosel = {
name = "pkosel";
email = "philipp.kosel@gmail.com";
github = "pkosel";
githubId = 170943;
};
pks = {
email = "ps@pks.im";
github = "pks-t";

View File

@ -0,0 +1,41 @@
{
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 ];
};
}