2021-04-02 20:58:16 +01:00
|
|
|
{ lib, stdenv, fetchurl, autoreconfHook, gtk3, mate, hicolor-icon-theme, mateUpdateScript }:
|
2016-05-30 19:30:37 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "mate-icon-theme-faenza";
|
2018-02-14 01:22:51 +00:00
|
|
|
version = "1.20.0";
|
2016-05-30 19:30:37 +01: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 19:30:37 +01:00
|
|
|
};
|
|
|
|
|
2018-10-02 22:45:20 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook gtk3 ];
|
2016-05-30 19:30:37 +01:00
|
|
|
|
2020-04-18 00:48:46 +01:00
|
|
|
propagatedBuildInputs = [ mate.mate-icon-theme hicolor-icon-theme ];
|
2019-09-12 15:47:48 +01:00
|
|
|
|
|
|
|
dontDropIconThemeCache = true;
|
2018-10-02 22:45:20 +01: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;
|
|
|
|
|
2021-04-02 20:58:16 +01:00
|
|
|
passthru.updateScript = mateUpdateScript { inherit pname version; };
|
|
|
|
|
2021-04-22 14:23:43 +01:00
|
|
|
meta = with lib; {
|
2016-05-30 19:30:37 +01:00
|
|
|
description = "Faenza icon theme from MATE";
|
2020-02-12 17:52:08 +00:00
|
|
|
homepage = "https://mate-desktop.org";
|
2021-04-22 14:23:43 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2021-09-21 20:45:29 +01:00
|
|
|
maintainers = teams.mate.members;
|
2016-05-30 19:30:37 +01:00
|
|
|
};
|
|
|
|
}
|