nixpkgs/pkgs/desktops/gnome-3/core/gnome-themes-extra/default.nix
Matthew Bauer a83dc7e331
Merge pull request #47690 from romildo/fix.icon-cache
build GTK icon caches for some packages
2018-11-12 17:24:53 -06:00

32 lines
827 B
Nix

{ stdenv, fetchurl, intltool, gtk3, gnome3, librsvg, pkgconfig, pango, atk, gtk2
, gdk_pixbuf }:
let
pname = "gnome-themes-extra";
version = "3.28";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "06aqg9asq2vqi9wr29bs4v8z2bf4manhbhfghf4nvw01y2zs0jvw";
};
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ gtk3 librsvg pango atk gtk2 gdk_pixbuf gnome3.defaultIconTheme ];
postFixup = ''
gtk-update-icon-cache "$out"/share/icons/HighContrast
'';
meta = with stdenv.lib; {
platforms = platforms.linux;
maintainers = gnome3.maintainers;
};
}