nixpkgs/pkgs/desktops/gnome-2/desktop/gnome-icon-theme/default.nix
Vladimír Čunát 7c36b4611d gnome3.adwaita-icon-theme: remove empty dir tree
Also similar for old gnome2 icon theme.
/cc maintainer @lethalman.
2015-07-28 17:05:07 +02:00

20 lines
609 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, gtk }:
stdenv.mkDerivation rec {
name = "gnome-icon-theme-2.91.93";
src = fetchurl {
#url = "mirror://gnome/sources/gnome-icon-theme/3.4/${name}.tar.xz";
url = "mirror://gnome/sources/gnome-icon-theme/2.91/${name}.tar.bz2";
sha256 = "cc7f15e54e2640697b58c26e74cc3f6ebadeb4ef6622bffe9c1e6874cc3478d6";
};
nativeBuildInputs = [ pkgconfig intltool iconnamingutils gtk ];
# remove a tree of dirs with no files within
postInstall = '' rm -r "$out/share/locale" '';
meta = {
platforms = stdenv.lib.platforms.linux;
};
}