acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / el / elementary-xfce-icon-theme / package.nix
blob4891c1d2b30fbebd36849b2d952f8fffd6622fe8
1 { lib, stdenv, fetchFromGitHub, pkg-config, gdk-pixbuf, optipng, librsvg, gtk3, pantheon, adwaita-icon-theme, gnome-icon-theme, hicolor-icon-theme }:
3 stdenv.mkDerivation rec {
4   pname = "elementary-xfce-icon-theme";
5   version = "0.20";
7   src = fetchFromGitHub {
8     owner = "shimmerproject";
9     repo = "elementary-xfce";
10     rev = "v${version}";
11     sha256 = "sha256-k7Bs+IyA+hHR5j17gzeL5PHlRxyKFc0wGH/MjJLDrjk=";
12   };
14   nativeBuildInputs = [
15     pkg-config
16     gdk-pixbuf
17     librsvg
18     optipng
19     gtk3
20   ];
22   propagatedBuildInputs = [
23     pantheon.elementary-icon-theme
24     adwaita-icon-theme
25     gnome-icon-theme
26     hicolor-icon-theme
27   ];
29   dontDropIconThemeCache = true;
31   postPatch = ''
32     substituteInPlace svgtopng/Makefile --replace "-O0" "-O"
33   '';
35   postInstall = ''
36     make icon-caches
37   '';
39   meta = with lib; {
40     description = "Elementary icons for Xfce and other GTK desktops like GNOME";
41     homepage = "https://github.com/shimmerproject/elementary-xfce";
42     license = licenses.gpl2;
43     # darwin cannot deal with file names differing only in case
44     platforms = platforms.linux;
45     maintainers = with maintainers; [ ] ++ teams.xfce.members;
46   };