nixpkgs/pkgs/desktops/mate/mate-icon-theme-faenza/default.nix

36 lines
988 B
Nix
Raw Normal View History

2021-04-02 19:58:16 +00:00
{ lib, stdenv, fetchurl, autoreconfHook, gtk3, mate, hicolor-icon-theme, mateUpdateScript }:
2016-05-30 18:30:37 +00:00
stdenv.mkDerivation rec {
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
};
nativeBuildInputs = [ autoreconfHook gtk3 ];
2016-05-30 18:30:37 +00:00
propagatedBuildInputs = [ mate.mate-icon-theme hicolor-icon-theme ];
dontDropIconThemeCache = true;
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 19:58:16 +00:00
passthru.updateScript = mateUpdateScript { inherit pname version; };
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";
homepage = "https://mate-desktop.org";
2021-04-22 13:23:43 +00:00
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
2016-05-30 18:30:37 +00:00
};
}