Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

54 lines
1.1 KiB
Nix

{
lib,
stdenv,
fetchurl,
intltool,
pkg-config,
iconnamingutils,
imagemagick,
librsvg,
gtk, # any version
gnome-icon-theme,
hicolor-icon-theme,
}:
stdenv.mkDerivation rec {
pname = "tango-icon-theme";
version = "0.8.90";
src = fetchurl {
url = "http://tango.freedesktop.org/releases/tango-icon-theme-${version}.tar.gz";
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;
configureFlags = [ "--enable-png-creation" ];
postInstall = '''${gtk.out}/bin/gtk-update-icon-cache' "$out/share/icons/Tango" '';
meta = with lib; {
description = "Basic set of icons";
homepage = "https://tango.freedesktop.org/Tango_Icon_Library";
platforms = platforms.linux;
license = licenses.publicDomain;
};
}