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