nixpkgs/pkgs/by-name/gn/gnome-icon-theme/package.nix

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

40 lines
1.1 KiB
Nix
Raw Normal View History

2021-01-17 02:14:13 +00:00
{ lib, stdenv, fetchurl, pkg-config, intltool, iconnamingutils, gtk2 }:
stdenv.mkDerivation rec {
pname = "gnome-icon-theme";
version = "3.12.0";
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";
sha256 = "0fjh9qmmgj34zlgxb09231ld7khys562qxbpsjlaplq2j85p57im";
};
2014-04-28 16:33:39 +00:00
2023-02-22 22:10:26 +00:00
depsBuildBuild = [
2021-01-17 02:14:13 +00:00
pkg-config
2023-02-22 22:10:26 +00:00
];
nativeBuildInputs = [
intltool
iconnamingutils
gtk2
];
2014-04-28 16:33:39 +00:00
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.hostPlatform.isDarwin; # never built on Hydra https://hydra.nixos.org/job/nixpkgs/trunk/gnome-icon-theme.x86_64-darwin
2014-04-28 16:33:39 +00:00
};
}