2021-01-17 02:21:50 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, gettext, mate-icon-theme, gtk2, gtk3,
|
2021-04-02 20:58:16 +01:00
|
|
|
gtk_engines, gtk-engine-murrine, gdk-pixbuf, librsvg, mateUpdateScript }:
|
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";
|
2021-11-02 22:49:39 +00:00
|
|
|
version = "3.22.23";
|
2013-08-27 14:02:46 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 13:21:58 +00:00
|
|
|
url = "https://pub.mate-desktop.org/releases/themes/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-11-02 22:49:39 +00:00
|
|
|
sha256 = "1avgzccdmr7y18rnp3xrhwk82alv2dlig3wh7ivgahcqdiiavrb1";
|
2013-08-27 14:02:46 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 02:21:50 +00:00
|
|
|
nativeBuildInputs = [ pkg-config 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;
|
|
|
|
|
2021-04-02 20:58:16 +01:00
|
|
|
passthru.updateScript = mateUpdateScript {
|
|
|
|
inherit pname version;
|
|
|
|
url = "https://pub.mate-desktop.org/releases/themes";
|
|
|
|
};
|
|
|
|
|
2021-04-22 14:23:43 +01:00
|
|
|
meta = with lib; {
|
2013-08-27 14:02:46 +01:00
|
|
|
description = "A set of themes from MATE";
|
2020-02-12 17:53:06 +00:00
|
|
|
homepage = "https://mate-desktop.org";
|
2021-04-22 14:23:43 +01:00
|
|
|
license = with licenses; [ lgpl21Plus lgpl3Only gpl3Plus ];
|
|
|
|
platforms = platforms.unix;
|
2021-09-21 20:45:29 +01:00
|
|
|
maintainers = teams.mate.members;
|
2013-08-27 14:02:46 +01:00
|
|
|
};
|
|
|
|
}
|