diff options
author | Philipp Kosel <pkosel@fastmail.com> | 2023-02-01 23:08:33 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-01-12 06:12:46 +0100 |
commit | 7f3eac3ea3cd0b2434b45ab0fb82471e2a7e2bcb (patch) | |
tree | 6242d4129b244299b367187c892a3d844f60ef16 /pkgs/by-name/mo | |
parent | 474c37ce1413d48ac5f6d8d3d190b3c87d79c9b0 (diff) |
morewaita-icon-theme: init at 42.3
Diffstat (limited to 'pkgs/by-name/mo')
-rw-r--r-- | pkgs/by-name/mo/morewaita-icon-theme/package.nix | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/by-name/mo/morewaita-icon-theme/package.nix b/pkgs/by-name/mo/morewaita-icon-theme/package.nix new file mode 100644 index 0000000000000..0225fab88b45d --- /dev/null +++ b/pkgs/by-name/mo/morewaita-icon-theme/package.nix @@ -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 ]; + }; +} |