1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/data/icons/tango-icon-theme/default.nix
Vladimír Čunát aa0fa19373 gtk2: move gtk-update-icon-cache to gtk2.out
... to be useful for regeneration when building nixos environments.
Fixes #18536 (hopefully).
2016-09-13 23:51:57 +02:00

27 lines
743 B
Nix

{ stdenv, fetchurl, intltool, pkgconfig, iconnamingutils, imagemagick, librsvg
, gtk/*any version*/
}:
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 ];
buildInputs = [ intltool pkgconfig iconnamingutils imagemagick librsvg ];
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;
platforms = stdenv.lib.platforms.linux;
};
}