greenmask: 0.2.6 -> 0.2.7 (#378403)
[NixPkgs.git] / pkgs / data / icons / tango-icon-theme / default.nix
blob5d9a4883b7ba0c4ce05058859fa415ea881c3737
2   lib,
3   stdenv,
4   fetchurl,
5   intltool,
6   pkg-config,
7   iconnamingutils,
8   imagemagick,
9   librsvg,
10   gtk, # any version
11   gnome-icon-theme,
12   hicolor-icon-theme,
15 stdenv.mkDerivation rec {
16   pname = "tango-icon-theme";
17   version = "0.8.90";
19   src = fetchurl {
20     url = "http://tango.freedesktop.org/releases/tango-icon-theme-${version}.tar.gz";
21     sha256 = "13n8cpml71w6zfm2jz5fa7r1z18qlzk4gv07r6n1in2p5l1xi63f";
22   };
24   patches = [ ./rsvg-convert.patch ];
26   nativeBuildInputs = [
27     pkg-config
28     intltool
29   ];
30   buildInputs = [
31     iconnamingutils
32     imagemagick
33     librsvg
34   ];
35   propagatedBuildInputs = [
36     gnome-icon-theme
37     hicolor-icon-theme
38   ];
39   # still missing parent icon themes: cristalsvg
41   dontDropIconThemeCache = true;
43   configureFlags = [ "--enable-png-creation" ];
45   postInstall = '''${gtk.out}/bin/gtk-update-icon-cache' "$out/share/icons/Tango" '';
47   meta = with lib; {
48     description = "Basic set of icons";
49     homepage = "https://tango.freedesktop.org/Tango_Icon_Library";
50     platforms = platforms.linux;
51     license = licenses.publicDomain;
52   };