nixpkgs/pkgs/data/icons/tango-icon-theme/default.nix

34 lines
885 B
Nix
Raw Normal View History

{ stdenv, fetchurl, intltool, pkgconfig, iconnamingutils, imagemagick, librsvg
, gtk/*any version*/, hicolor-icon-theme
}:
2013-08-15 18:01:16 +02: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 ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool iconnamingutils imagemagick librsvg ];
2013-08-15 18:01:16 +02:00
propagatedBuildInputs = [
hicolor-icon-theme
];
dontDropIconThemeCache = true;
2018-07-25 23:44:21 +02:00
configureFlags = [ "--enable-png-creation" ];
2013-08-15 18:01:16 +02:00
postInstall = '''${gtk.out}/bin/gtk-update-icon-cache' "$out/share/icons/Tango" '';
2013-08-15 18:01:16 +02:00
meta = {
description = "A basic set of icons";
homepage = http://tango.freedesktop.org/Tango_Icon_Library;
platforms = stdenv.lib.platforms.linux;
};
}