Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / mo / morewaita-icon-theme / package.nix
blobd5668ce5428a832853b19d6171d18c41ab2e6df3
2   lib,
3   stdenvNoCC,
4   fetchFromGitHub,
5   gtk3,
6   xdg-utils,
7 }:
8 stdenvNoCC.mkDerivation rec {
9   pname = "morewaita-icon-theme";
10   version = "45";
12   src = fetchFromGitHub {
13     owner = "somepaulo";
14     repo = "MoreWaita";
15     rev = "v${version}";
16     hash = "sha256-UtwigqJjkin53Wg3PU14Rde6V42eKhmP26a3fDpbJ4Y=";
17   };
19   nativeBuildInputs = [
20     gtk3
21     xdg-utils
22   ];
24   installPhase = ''
25     runHook preInstall
27     install -d $out/share/icons/MoreWaita
28     cp -r . $out/share/icons/MoreWaita
29     gtk-update-icon-cache -f -t $out/share/icons/MoreWaita && xdg-desktop-menu forceupdate
31     runHook postInstall
32   '';
34   meta = with lib; {
35     description = "Adwaita style extra icons theme for Gnome Shell";
36     homepage = "https://github.com/somepaulo/MoreWaita";
37     license = with licenses; [ gpl3Only ];
38     platforms = platforms.linux;
39     maintainers = with maintainers; [ pkosel ];
40   };