31 lines
906 B
Nix
31 lines
906 B
Nix
{ stdenv, fetchurl, pkgconfig, intltool, mate, gtk2, gtk3,
|
|
gtk_engines, gtk-engine-murrine, gdk_pixbuf, librsvg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "mate-themes-${version}";
|
|
version = "3.22.18";
|
|
|
|
src = fetchurl {
|
|
url = "http://pub.mate-desktop.org/releases/themes/${mate.getRelease version}/${name}.tar.xz";
|
|
sha256 = "0538bw8qismp16ymxbjk0ww7yjw1ch5v3f3d4vib3770xvgmmcfm";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool gtk3 ];
|
|
|
|
buildInputs = [ mate.mate-icon-theme gtk2 gtk_engines gdk_pixbuf librsvg ];
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
postInstall = ''
|
|
gtk-update-icon-cache "$out"/share/icons/ContrastHigh
|
|
'';
|
|
|
|
meta = {
|
|
description = "A set of themes from MATE";
|
|
homepage = http://mate-desktop.org;
|
|
license = stdenv.lib.licenses.lgpl21;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
|
};
|
|
}
|