2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gettext, mate-icon-theme, gtk2, gtk3,
|
2020-04-24 23:36:52 +00:00
|
|
|
gtk_engines, gtk-engine-murrine, gdk-pixbuf, librsvg }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mate-themes";
|
|
|
|
version = "3.22.21";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-17 00:15:33 +00:00
|
|
|
url = "https://pub.mate-desktop.org/releases/themes/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "051g2vq817g84yrqzf7hjcqr4xrghnw1rprjd6jf5mhhzmwcas6n";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config gettext gtk3 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ mate-icon-theme gtk2 gtk_engines gdk-pixbuf librsvg ];
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
|
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
gtk-update-icon-cache "$out"/share/icons/ContrastHigh
|
|
|
|
'';
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A set of themes from MATE";
|
|
|
|
homepage = "https://mate-desktop.org";
|
2021-01-17 00:15:33 +00:00
|
|
|
license = lib.licenses.lgpl21;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = [ lib.maintainers.romildo ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|