3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/mate/mate-icon-theme-faenza/default.nix

36 lines
983 B
Nix
Raw Normal View History

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 {
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
};
nativeBuildInputs = [ autoreconfHook gtk3 ];
2016-05-30 19:30:37 +01: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 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";
homepage = "https://mate-desktop.org";
2021-04-22 14:23:43 +01:00
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = teams.mate.members;
2016-05-30 19:30:37 +01:00
};
}