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