c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
39 lines
1.1 KiB
Nix
39 lines
1.1 KiB
Nix
{ lib, stdenv, fetchurl, pkg-config, intltool, iconnamingutils, gtk2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gnome-icon-theme";
|
|
version = "3.12.0";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/gnome-icon-theme/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im";
|
|
};
|
|
|
|
depsBuildBuild = [
|
|
pkg-config
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
intltool
|
|
iconnamingutils
|
|
gtk2
|
|
];
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
postInstall = lib.optionalString (!stdenv.hostPlatform.isMusl) ''
|
|
# remove a tree of dirs with no files within
|
|
rm -r "$out/share/locale"
|
|
'';
|
|
|
|
allowedReferences = [ ];
|
|
|
|
meta = with 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 ];
|
|
broken = stdenv.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/gnome-icon-theme.x86_64-darwin
|
|
};
|
|
}
|