3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/icons/elementary-xfce-icon-theme/default.nix

48 lines
1.1 KiB
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgconfig, gdk-pixbuf, optipng, librsvg, gtk3, pantheon, gnome3, gnome-icon-theme, hicolor-icon-theme }:
stdenv.mkDerivation rec {
pname = "elementary-xfce-icon-theme";
version = "0.15.1";
src = fetchFromGitHub {
owner = "shimmerproject";
repo = "elementary-xfce";
rev = "v${version}";
sha256 = "1rl15kh9c7qxw4pvwmw44fb4v3vwh6zin4wpx55bnvm5j76y6p3f";
};
nativeBuildInputs = [
pkgconfig
gdk-pixbuf
librsvg
optipng
gtk3
];
propagatedBuildInputs = [
pantheon.elementary-icon-theme
gnome3.adwaita-icon-theme
gnome-icon-theme
hicolor-icon-theme
];
dontDropIconThemeCache = true;
postPatch = ''
substituteInPlace svgtopng/Makefile --replace "-O0" "-O"
'';
postInstall = ''
make icon-caches
'';
meta = with stdenv.lib; {
description = "Elementary icons for Xfce and other GTK desktops like GNOME";
homepage = "https://github.com/shimmerproject/elementary-xfce";
license = licenses.gpl2;
# darwin cannot deal with file names differing only in case
platforms = platforms.linux;
maintainers = with maintainers; [ davidak ];
};
}