2022-07-12 11:56:56 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchurl
|
|
|
|
, autoreconfHook
|
|
|
|
, gtk3
|
|
|
|
, mate
|
|
|
|
, hicolor-icon-theme
|
2022-09-27 21:40:30 +00:00
|
|
|
, gitUpdater
|
2022-07-12 11:56:56 +00:00
|
|
|
}:
|
2016-05-30 18:30:37 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "mate-icon-theme-faenza";
|
2018-02-14 01:22:51 +00:00
|
|
|
version = "1.20.0";
|
2016-05-30 18:30:37 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-15 13:21:58 +00:00
|
|
|
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2018-02-14 01:22:51 +00:00
|
|
|
sha256 = "000vr9cnbl2qlysf2gyg1lsjirqdzmwrnh6d3hyrsfc0r2vh4wna";
|
2016-05-30 18:30:37 +00:00
|
|
|
};
|
|
|
|
|
2022-07-12 11:56:56 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
gtk3
|
|
|
|
];
|
2016-05-30 18:30:37 +00:00
|
|
|
|
2022-07-12 11:56:56 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
mate.mate-icon-theme
|
|
|
|
hicolor-icon-theme
|
|
|
|
];
|
2019-09-12 14:47:48 +00:00
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
2018-10-02 21:45:20 +00:00
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
for theme in "$out"/share/icons/*; do
|
|
|
|
gtk-update-icon-cache "$theme"
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
2020-02-14 21:52:51 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2022-09-27 21:40:30 +00:00
|
|
|
passthru.updateScript = gitUpdater {
|
|
|
|
rev-prefix = "v";
|
|
|
|
url = "https://github.com/mate-desktop-legacy-archive/${pname}";
|
2022-07-12 12:52:12 +00:00
|
|
|
};
|
2021-04-02 19:58:16 +00:00
|
|
|
|
2021-04-22 13:23:43 +00:00
|
|
|
meta = with lib; {
|
2016-05-30 18:30:37 +00:00
|
|
|
description = "Faenza icon theme from MATE";
|
2020-02-12 17:52:08 +00:00
|
|
|
homepage = "https://mate-desktop.org";
|
2022-07-12 12:52:12 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2021-04-22 13:23:43 +00:00
|
|
|
platforms = platforms.unix;
|
2021-09-21 19:45:29 +00:00
|
|
|
maintainers = teams.mate.members;
|
2016-05-30 18:30:37 +00:00
|
|
|
};
|
|
|
|
}
|