2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, intltool, pkg-config, iconnamingutils, imagemagick, librsvg
|
2020-05-03 17:38:23 +00:00
|
|
|
, gtk/*any version*/, gnome-icon-theme, hicolor-icon-theme
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-03-30 09:31:56 +00:00
|
|
|
pname = "tango-icon-theme";
|
|
|
|
version = "0.8.90";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-03-30 09:31:56 +00:00
|
|
|
url = "http://tango.freedesktop.org/releases/tango-icon-theme-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "13n8cpml71w6zfm2jz5fa7r1z18qlzk4gv07r6n1in2p5l1xi63f";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./rsvg-convert.patch ];
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
nativeBuildInputs = [ pkg-config intltool ];
|
|
|
|
buildInputs = [ iconnamingutils imagemagick librsvg ];
|
2020-05-03 17:38:23 +00:00
|
|
|
propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ];
|
|
|
|
# still missing parent icon themes: cristalsvg
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
|
|
|
configureFlags = [ "--enable-png-creation" ];
|
|
|
|
|
|
|
|
postInstall = '''${gtk.out}/bin/gtk-update-icon-cache' "$out/share/icons/Tango" '';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A basic set of icons";
|
|
|
|
homepage = "http://tango.freedesktop.org/Tango_Icon_Library";
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|