2022-07-12 13:56:56 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkg-config
|
|
|
|
, gettext
|
|
|
|
, mate-icon-theme
|
|
|
|
, gtk2
|
|
|
|
, gtk3
|
|
|
|
, gtk_engines
|
|
|
|
, gtk-engine-murrine
|
|
|
|
, gdk-pixbuf
|
|
|
|
, librsvg
|
|
|
|
, mateUpdateScript
|
|
|
|
}:
|
2013-08-27 15:02:46 +02:00
|
|
|
|
2016-05-28 18:28:47 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "mate-themes";
|
2021-11-02 23:49:39 +01:00
|
|
|
version = "3.22.23";
|
2013-08-27 15:02:46 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 14:21:58 +01:00
|
|
|
url = "https://pub.mate-desktop.org/releases/themes/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2021-11-02 23:49:39 +01:00
|
|
|
sha256 = "1avgzccdmr7y18rnp3xrhwk82alv2dlig3wh7ivgahcqdiiavrb1";
|
2013-08-27 15:02:46 +02:00
|
|
|
};
|
|
|
|
|
2022-07-12 13:56:56 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
gettext
|
|
|
|
gtk3
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
mate-icon-theme
|
|
|
|
gtk2
|
|
|
|
gtk_engines
|
|
|
|
gdk-pixbuf
|
|
|
|
librsvg
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedUserEnvPkgs = [
|
|
|
|
gtk-engine-murrine
|
|
|
|
];
|
2013-08-27 15:02:46 +02:00
|
|
|
|
2020-02-24 12:19:03 +01:00
|
|
|
dontDropIconThemeCache = true;
|
|
|
|
|
2018-10-02 23:46:21 +02:00
|
|
|
postInstall = ''
|
|
|
|
gtk-update-icon-cache "$out"/share/icons/ContrastHigh
|
|
|
|
'';
|
|
|
|
|
2020-02-14 22:52:51 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2022-09-27 23:39:18 +02:00
|
|
|
passthru.updateScript = mateUpdateScript { inherit pname; };
|
2021-04-02 21:58:16 +02:00
|
|
|
|
2021-04-22 15:23:43 +02:00
|
|
|
meta = with lib; {
|
2013-08-27 15:02:46 +02:00
|
|
|
description = "A set of themes from MATE";
|
2020-02-12 18:53:06 +01:00
|
|
|
homepage = "https://mate-desktop.org";
|
2021-04-22 15:23:43 +02:00
|
|
|
license = with licenses; [ lgpl21Plus lgpl3Only gpl3Plus ];
|
|
|
|
platforms = platforms.unix;
|
2021-09-21 21:45:29 +02:00
|
|
|
maintainers = teams.mate.members;
|
2013-08-27 15:02:46 +02:00
|
|
|
};
|
|
|
|
}
|