1 { lib, stdenv, fetchurl, intltool, pkg-config, iconnamingutils, imagemagick, librsvg
2 , gtk/*any version*/, gnome-icon-theme, hicolor-icon-theme
5 stdenv.mkDerivation rec {
6 pname = "tango-icon-theme";
10 url = "http://tango.freedesktop.org/releases/tango-icon-theme-${version}.tar.gz";
11 sha256 = "13n8cpml71w6zfm2jz5fa7r1z18qlzk4gv07r6n1in2p5l1xi63f";
14 patches = [ ./rsvg-convert.patch ];
16 nativeBuildInputs = [ pkg-config intltool ];
17 buildInputs = [ iconnamingutils imagemagick librsvg ];
18 propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ];
19 # still missing parent icon themes: cristalsvg
21 dontDropIconThemeCache = true;
23 configureFlags = [ "--enable-png-creation" ];
25 postInstall = '''${gtk.out}/bin/gtk-update-icon-cache' "$out/share/icons/Tango" '';
28 description = "Basic set of icons";
29 homepage = "http://tango.freedesktop.org/Tango_Icon_Library";
30 platforms = platforms.linux;
31 license = licenses.publicDomain;