2021-01-17 02:14:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, intltool, iconnamingutils, gtk2 }:
|
2009-11-04 21:44:01 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-04-04 02:12:12 +01:00
|
|
|
pname = "gnome-icon-theme";
|
|
|
|
version = "3.12.0";
|
2012-03-08 15:37:23 +00:00
|
|
|
|
2009-11-04 21:44:01 +00:00
|
|
|
src = fetchurl {
|
2021-01-15 07:29:18 +00:00
|
|
|
url = "mirror://gnome/sources/gnome-icon-theme/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-04-04 02:09:52 +01:00
|
|
|
sha256 = "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im";
|
2009-11-04 21:44:01 +00:00
|
|
|
};
|
2014-04-28 17:33:39 +01:00
|
|
|
|
2020-04-04 02:30:26 +01:00
|
|
|
nativeBuildInputs = [
|
2021-01-17 02:14:13 +00:00
|
|
|
pkg-config
|
2020-04-04 02:30:26 +01:00
|
|
|
intltool
|
|
|
|
iconnamingutils
|
|
|
|
gtk2
|
|
|
|
];
|
2014-04-28 17:33:39 +01:00
|
|
|
|
2020-04-04 03:12:23 +01:00
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
2020-04-04 02:30:26 +01:00
|
|
|
postInstall = ''
|
|
|
|
# remove a tree of dirs with no files within
|
|
|
|
rm -r "$out/share/locale"
|
|
|
|
'';
|
2015-07-28 15:39:36 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-04 02:27:57 +01:00
|
|
|
description = "Collection of icons for the GNOME 2 desktop";
|
|
|
|
homepage = "https://download.gnome.org/sources/gnome-icon-theme/";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-04-04 02:28:54 +01:00
|
|
|
platforms = platforms.unix;
|
2020-04-04 02:27:57 +01:00
|
|
|
maintainers = [ maintainers.romildo ];
|
2022-01-05 07:16:03 +00:00
|
|
|
broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/gnome-icon-theme.x86_64-darwin
|
2014-04-28 17:33:39 +01:00
|
|
|
};
|
2009-11-04 21:44:01 +00:00
|
|
|
}
|