2016-06-12 18:47:42 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, mate, gnome3, gtk2, gtk_engines,
|
2016-08-04 11:05:50 +00:00
|
|
|
gtk-engine-murrine, gdk_pixbuf, librsvg }:
|
2013-08-27 13:02:46 +00:00
|
|
|
|
2016-05-28 16:28:47 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "mate-themes-${version}";
|
|
|
|
version = "${major-ver}.${minor-ver}";
|
2017-06-25 16:59:23 +00:00
|
|
|
# There is no 3.24 release.
|
|
|
|
major-ver = if stdenv.lib.versionOlder gnome3.version "3.23" then gnome3.version else "3.22";
|
2016-06-12 18:47:42 +00:00
|
|
|
minor-ver = {
|
2017-12-24 02:04:04 +00:00
|
|
|
"3.20" = "23";
|
|
|
|
"3.22" = "14";
|
2016-06-12 18:47:42 +00:00
|
|
|
}."${major-ver}";
|
2013-08-27 13:02:46 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-05-28 16:28:47 +00:00
|
|
|
url = "http://pub.mate-desktop.org/releases/themes/${major-ver}/${name}.tar.xz";
|
2016-06-12 18:47:42 +00:00
|
|
|
sha256 = {
|
2017-12-24 02:04:04 +00:00
|
|
|
"3.20" = "0xmcm1kmkhbakhwy5vvx3gll5v2gvihwnbf0gyjf75fys6h3818g";
|
|
|
|
"3.22" = "09fqvlnmrvc73arl7jv9ygkxi46lw7c1q8qra6w3ap7x83f9zdak";
|
2016-06-12 18:47:42 +00:00
|
|
|
}."${major-ver}";
|
2013-08-27 13:02:46 +00:00
|
|
|
};
|
|
|
|
|
2016-05-28 16:28:47 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
|
|
|
|
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 13:02:46 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A set of themes from MATE";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = http://mate-desktop.org;
|
2013-08-27 13:02:46 +00:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
2016-05-28 16:28:47 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
2013-08-27 13:02:46 +00:00
|
|
|
};
|
|
|
|
}
|