2018-10-02 22:46:21 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, mate, gtk2, gtk3,
|
|
|
|
gtk_engines, gtk-engine-murrine, gdk_pixbuf, librsvg }:
|
2013-08-27 14:02:46 +01:00
|
|
|
|
2016-05-28 17:28:47 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mate-themes-${version}";
|
2018-08-19 21:52:08 +01:00
|
|
|
version = "3.22.18";
|
2013-08-27 14:02:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-02-13 22:44:07 +00:00
|
|
|
url = "http://pub.mate-desktop.org/releases/themes/${mate.getRelease version}/${name}.tar.xz";
|
2018-08-19 21:52:08 +01:00
|
|
|
sha256 = "0538bw8qismp16ymxbjk0ww7yjw1ch5v3f3d4vib3770xvgmmcfm";
|
2013-08-27 14:02:46 +01:00
|
|
|
};
|
|
|
|
|
2018-10-02 22:46:21 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool gtk3 ];
|
2016-05-28 17:28:47 +01:00
|
|
|
|
2017-12-19 22:08:29 +00:00
|
|
|
buildInputs = [ mate.mate-icon-theme gtk2 gtk_engines gdk_pixbuf librsvg ];
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
2013-08-27 14:02:46 +01:00
|
|
|
|
2018-10-02 22:46:21 +01:00
|
|
|
postInstall = ''
|
|
|
|
gtk-update-icon-cache "$out"/share/icons/ContrastHigh
|
|
|
|
'';
|
|
|
|
|
2013-08-27 14:02:46 +01:00
|
|
|
meta = {
|
|
|
|
description = "A set of themes from MATE";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://mate-desktop.org;
|
2013-08-27 14:02:46 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
2016-05-28 17:28:47 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
2013-08-27 14:02:46 +01:00
|
|
|
};
|
|
|
|
}
|