evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / mi / mint-l-icons / package.nix
blob8de1c8be2d22d7ed7db656fb7b7bdf1046bf9f04
1 { stdenvNoCC
2 , lib
3 , fetchFromGitHub
4 , adwaita-icon-theme
5 , gnome-icon-theme
6 , hicolor-icon-theme
7 , gtk3
8 }:
10 stdenvNoCC.mkDerivation rec {
11   pname = "mint-l-icons";
12   version = "1.7.2";
14   src = fetchFromGitHub {
15     owner = "linuxmint";
16     repo = pname;
17     # https://github.com/linuxmint/mint-l-icons/issues/11
18     rev = "ee03e6dad0b1f9e25847977eae42766e2ddd4877";
19     hash = "sha256-OKlkqDp9mZOeM4M9QN9H0WH4k+5eMEUshvadaV6qhBA=";
20   };
22   propagatedBuildInputs = [
23     adwaita-icon-theme
24     gnome-icon-theme
25     hicolor-icon-theme
26   ];
28   nativeBuildInputs = [
29     gtk3
30   ];
32   dontDropIconThemeCache = true;
34   installPhase = ''
35     runHook preInstall
37     mkdir -p $out
38     mv usr/share $out
40     for theme in $out/share/icons/*; do
41       gtk-update-icon-cache $theme
42     done
44     runHook postInstall
45   '';
47   meta = with lib; {
48     homepage = "https://github.com/linuxmint/mint-l-icons";
49     description = "Mint-L icon theme";
50     license = licenses.gpl3Plus; # from debian/copyright
51     platforms = platforms.linux;
52     maintainers = teams.cinnamon.members;
53   };