diff options
author | José Romildo Malaquias <malaquias@gmail.com> | 2020-04-05 22:42:58 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-05 22:42:58 -0300 |
commit | 9908785fa7d2ab6945dfd5aacd64805461505970 (patch) | |
tree | 2fafe3f10fbcd1e26500c8188a0f0676da8c6a8e /pkgs/data | |
parent | ec99ad29dc398b793270d482b11ebb060c1c80e6 (diff) | |
parent | 737586bf4fcd93a3c20ad9056fe0630dd76f10cc (diff) |
Merge pull request #84230 from romildo/upd.gnome-icon-theme
gnome2.gnome_icon_theme: 2.91.93 -> 3.12.0
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/icons/gnome-icon-theme/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/data/icons/gnome-icon-theme/default.nix b/pkgs/data/icons/gnome-icon-theme/default.nix new file mode 100644 index 0000000000000..30dacbae740db --- /dev/null +++ b/pkgs/data/icons/gnome-icon-theme/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, gtk2 }: + +stdenv.mkDerivation rec { + pname = "gnome-icon-theme"; + version = "3.12.0"; + + src = fetchurl { + url = "mirror://gnome/sources/gnome-icon-theme/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz"; + sha256 = "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im"; + }; + + nativeBuildInputs = [ + pkgconfig + intltool + iconnamingutils + gtk2 + ]; + + dontDropIconThemeCache = true; + + postInstall = '' + # remove a tree of dirs with no files within + rm -r "$out/share/locale" + ''; + + meta = with stdenv.lib; { + description = "Collection of icons for the GNOME 2 desktop"; + homepage = "https://download.gnome.org/sources/gnome-icon-theme/"; + license = licenses.gpl3Plus; + platforms = platforms.unix; + maintainers = [ maintainers.romildo ]; + }; +} |