2015-09-09 07:25:24 +00:00
|
|
|
{ stdenv, fetchurl, intltool, pkgconfig, iconnamingutils, imagemagick, librsvg
|
2020-04-17 23:52:06 +00:00
|
|
|
, gtk/*any version*/, gnome-icon-theme, hicolor-icon-theme
|
2015-09-09 07:25:24 +00:00
|
|
|
}:
|
2013-08-15 16:01:16 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tango-icon-theme-0.8.90";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://tango.freedesktop.org/releases/${name}.tar.gz";
|
|
|
|
sha256 = "13n8cpml71w6zfm2jz5fa7r1z18qlzk4gv07r6n1in2p5l1xi63f";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./rsvg-convert.patch ];
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ intltool iconnamingutils imagemagick librsvg ];
|
2020-04-17 23:52:06 +00:00
|
|
|
propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ];
|
|
|
|
# still missing parent icon themes: cristalsvg
|
2019-09-12 14:47:48 +00:00
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
2018-07-25 21:44:21 +00:00
|
|
|
configureFlags = [ "--enable-png-creation" ];
|
2013-08-15 16:01:16 +00:00
|
|
|
|
2016-09-13 21:51:25 +00:00
|
|
|
postInstall = '''${gtk.out}/bin/gtk-update-icon-cache' "$out/share/icons/Tango" '';
|
2015-09-09 07:25:24 +00:00
|
|
|
|
2013-08-15 16:01:16 +00:00
|
|
|
meta = {
|
|
|
|
description = "A basic set of icons";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://tango.freedesktop.org/Tango_Icon_Library";
|
2013-08-15 16:01:16 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|