2018-10-03 00:46:21 +03:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, mate, gtk2, gtk3,
|
2019-05-22 14:03:39 +03:00
|
|
|
gtk_engines, gtk-engine-murrine, gdk-pixbuf, librsvg }:
|
2013-08-27 17:02:46 +04:00
|
|
|
|
2016-05-28 19:28:47 +03:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "mate-themes";
|
2019-06-20 00:14:13 +03:00
|
|
|
version = "3.22.20";
|
2013-08-27 17:02:46 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 15:41:18 +03:00
|
|
|
url = "http://pub.mate-desktop.org/releases/themes/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-06-20 00:14:13 +03:00
|
|
|
sha256 = "0c3dhf8p9nc2maky4g9xr04iil9wwbdkmhpzynlc6lfg4ksqq2bx";
|
2013-08-27 17:02:46 +04:00
|
|
|
};
|
|
|
|
|
2018-10-03 00:46:21 +03:00
|
|
|
nativeBuildInputs = [ pkgconfig intltool gtk3 ];
|
2016-05-28 19:28:47 +03:00
|
|
|
|
2019-05-22 14:03:39 +03:00
|
|
|
buildInputs = [ mate.mate-icon-theme gtk2 gtk_engines gdk-pixbuf librsvg ];
|
2017-12-20 01:08:29 +03:00
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
2013-08-27 17:02:46 +04:00
|
|
|
|
2018-10-03 00:46:21 +03:00
|
|
|
postInstall = ''
|
|
|
|
gtk-update-icon-cache "$out"/share/icons/ContrastHigh
|
|
|
|
'';
|
|
|
|
|
2013-08-27 17:02:46 +04:00
|
|
|
meta = {
|
|
|
|
description = "A set of themes from MATE";
|
2019-04-15 02:25:45 +03:00
|
|
|
homepage = https://mate-desktop.org;
|
2013-08-27 17:02:46 +04:00
|
|
|
license = stdenv.lib.licenses.lgpl21;
|
2016-05-28 19:28:47 +03:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.romildo ];
|
2013-08-27 17:02:46 +04:00
|
|
|
};
|
|
|
|
}
|