2020-02-24 11:17:09 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, gettext, mate-icon-theme, gtk2, gtk3,
|
2019-05-22 12:03:39 +01:00
|
|
|
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 {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "mate-themes";
|
2020-02-24 00:55:49 +00:00
|
|
|
version = "3.22.21";
|
2013-08-27 14:02:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-12-13 22:37:37 +00:00
|
|
|
url = "https://pub.mate-desktop.org/releases/themes/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-02-24 00:55:49 +00:00
|
|
|
sha256 = "051g2vq817g84yrqzf7hjcqr4xrghnw1rprjd6jf5mhhzmwcas6n";
|
2013-08-27 14:02:46 +01:00
|
|
|
};
|
|
|
|
|
2020-02-24 11:17:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig gettext gtk3 ];
|
2016-05-28 17:28:47 +01:00
|
|
|
|
2020-02-24 00:55:49 +00:00
|
|
|
buildInputs = [ mate-icon-theme gtk2 gtk_engines gdk-pixbuf librsvg ];
|
2017-12-19 22:08:29 +00:00
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
2013-08-27 14:02:46 +01:00
|
|
|
|
2020-02-24 11:19:03 +00:00
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
2018-10-02 22:46:21 +01:00
|
|
|
postInstall = ''
|
|
|
|
gtk-update-icon-cache "$out"/share/icons/ContrastHigh
|
|
|
|
'';
|
|
|
|
|
2020-02-14 21:52:51 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-08-27 14:02:46 +01:00
|
|
|
meta = {
|
|
|
|
description = "A set of themes from MATE";
|
2020-02-12 17:53:06 +00:00
|
|
|
homepage = "https://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
|
|
|
};
|
|
|
|
}
|