nixpkgs/pkgs/desktops/gnome-3/core/gnome-themes-standard/default.nix

20 lines
685 B
Nix

{ stdenv, fetchurl, intltool, gtk3, librsvg, pkgconfig, pango, atk, gtk2, gdk_pixbuf }:
stdenv.mkDerivation rec {
name = "gnome-themes-standard-3.10.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-themes-standard/3.10/${name}.tar.xz";
sha256 = "0f2b3ypkfvrdsxcvp14ja9wqj382f1p46yrjvhhxkkjgagy6qb41";
};
buildInputs = [ intltool gtk3 librsvg pkgconfig pango atk gtk2 gdk_pixbuf ];
preConfigure = ''
cat ${gdk_pixbuf}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache ${librsvg}/lib/gdk-pixbuf/loaders.cache > loaders.cache
export GDK_PIXBUF_MODULE_FILE=`readlink -e loaders.cache`
'';
meta = with stdenv.lib; {
platforms = platforms.linux;
};
}