evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / mi / mint-y-icons / package.nix
blob7e2fb23df1cef7495029d8a39ff61acd84ddff0c
1 { fetchFromGitHub
2 , lib
3 , stdenvNoCC
4 , adwaita-icon-theme
5 , gnome-icon-theme
6 , hicolor-icon-theme
7 , gtk3
8 }:
10 stdenvNoCC.mkDerivation rec {
11   pname = "mint-y-icons";
12   version = "1.7.7";
14   src = fetchFromGitHub {
15     owner = "linuxmint";
16     repo = pname;
17     rev = version;
18     hash = "sha256-SJ6h1All5bub+Yue8zUrAYdlNf005MAdnl+pkOelods=";
19   };
21   propagatedBuildInputs = [
22     adwaita-icon-theme
23     gnome-icon-theme
24     hicolor-icon-theme
25   ];
27   nativeBuildInputs = [
28     gtk3
29   ];
31   dontDropIconThemeCache = true;
33   installPhase = ''
34     runHook preInstall
36     mkdir -p $out
37     mv usr/share $out
39     for theme in $out/share/icons/*; do
40       gtk-update-icon-cache $theme
41     done
43     runHook postInstall
44   '';
46   meta = with lib; {
47     homepage = "https://github.com/linuxmint/mint-y-icons";
48     description = "Mint-Y icon theme";
49     license = licenses.gpl3; # from debian/copyright
50     platforms = platforms.linux;
51     maintainers = teams.cinnamon.members;
52   };