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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
1.0 KiB
Nix
Raw Normal View History

2021-01-17 02:14:13 +00:00
{ lib, stdenv, fetchurl, intltool, pkg-config, iconnamingutils, imagemagick, librsvg
, gtk/*any version*/, gnome-icon-theme, hicolor-icon-theme
}:
2013-08-15 16:01:16 +00:00
stdenv.mkDerivation rec {
2022-03-07 11:37:20 +00:00
pname = "tango-icon-theme";
version = "0.8.90";
2013-08-15 16:01:16 +00:00
src = fetchurl {
2022-03-07 11:37:20 +00:00
url = "http://tango.freedesktop.org/releases/tango-icon-theme-${version}.tar.gz";
2013-08-15 16:01:16 +00:00
sha256 = "13n8cpml71w6zfm2jz5fa7r1z18qlzk4gv07r6n1in2p5l1xi63f";
};
patches = [ ./rsvg-convert.patch ];
nativeBuildInputs = [ pkg-config intltool ];
buildInputs = [ iconnamingutils imagemagick librsvg ];
propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ];
# still missing parent icon themes: cristalsvg
dontDropIconThemeCache = true;
2018-07-25 21:44:21 +00:00
configureFlags = [ "--enable-png-creation" ];
2013-08-15 16:01:16 +00:00
postInstall = '''${gtk.out}/bin/gtk-update-icon-cache' "$out/share/icons/Tango" '';
2022-11-02 22:19:38 +00:00
meta = with lib; {
2013-08-15 16:01:16 +00:00
description = "A basic set of icons";
homepage = "http://tango.freedesktop.org/Tango_Icon_Library";
2022-11-02 22:19:38 +00:00
platforms = platforms.linux;
license = licenses.publicDomain;
2013-08-15 16:01:16 +00:00
};
}