fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / by-name / mi / mint-l-icons / package.nix
blob3a53d89ade142c2118c09ba3176650ee89e1ba4c
2   stdenvNoCC,
3   lib,
4   fetchFromGitHub,
5   adwaita-icon-theme,
6   gnome-icon-theme,
7   hicolor-icon-theme,
8   gtk3,
9 }:
11 stdenvNoCC.mkDerivation rec {
12   pname = "mint-l-icons";
13   version = "1.7.3";
15   src = fetchFromGitHub {
16     owner = "linuxmint";
17     repo = pname;
18     # They don't really do tags, this is just a named commit.
19     rev = "f1900facf915715623ef0ca2874ae4dd04039e81";
20     hash = "sha256-UpVuhzZdw0Ri6X20N/yGFMmwEymMvLr78DwYaHD+CNY=";
21   };
23   propagatedBuildInputs = [
24     adwaita-icon-theme
25     gnome-icon-theme
26     hicolor-icon-theme
27   ];
29   nativeBuildInputs = [
30     gtk3
31   ];
33   dontDropIconThemeCache = true;
35   installPhase = ''
36     runHook preInstall
38     mkdir -p $out
39     mv usr/share $out
41     for theme in $out/share/icons/*; do
42       gtk-update-icon-cache $theme
43     done
45     runHook postInstall
46   '';
48   meta = with lib; {
49     homepage = "https://github.com/linuxmint/mint-l-icons";
50     description = "Mint-L icon theme";
51     license = licenses.gpl3Plus; # from debian/copyright
52     platforms = platforms.linux;
53     maintainers = teams.cinnamon.members;
54   };