2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gettext, mate-icon-theme, gtk2, gtk3,
|
2021-04-25 03:57:28 +00:00
|
|
|
gtk_engines, gtk-engine-murrine, gdk-pixbuf, librsvg, mateUpdateScript }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "mate-themes";
|
2021-04-25 03:57:28 +00:00
|
|
|
version = "3.22.22";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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";
|
2021-04-25 03:57:28 +00:00
|
|
|
sha256 = "18crdwfpfm3br4pv94wy7rpmzzb69im4j8dgq1b7c8gcbbzay05x";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
|
2021-04-25 03:57:28 +00:00
|
|
|
passthru.updateScript = mateUpdateScript {
|
|
|
|
inherit pname version;
|
|
|
|
url = "https://pub.mate-desktop.org/releases/themes";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A set of themes from MATE";
|
|
|
|
homepage = "https://mate-desktop.org";
|
2021-04-25 03:57:28 +00:00
|
|
|
license = with licenses; [ lgpl21Plus lgpl3Only gpl3Plus ];
|
|
|
|
platforms = platforms.unix;
|
2021-09-23 15:35:13 +00:00
|
|
|
maintainers = teams.mate.members;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|