depot/third_party/nixpkgs/pkgs/desktops/mate/mate-icon-theme-faenza/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

52 lines
1.1 KiB
Nix

{ lib
, stdenv
, fetchurl
, autoreconfHook
, gtk3
, mate
, hicolor-icon-theme
, mateUpdateScript
}:
stdenv.mkDerivation rec {
pname = "mate-icon-theme-faenza";
version = "1.20.0";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "000vr9cnbl2qlysf2gyg1lsjirqdzmwrnh6d3hyrsfc0r2vh4wna";
};
nativeBuildInputs = [
autoreconfHook
gtk3
];
propagatedBuildInputs = [
mate.mate-icon-theme
hicolor-icon-theme
];
dontDropIconThemeCache = true;
postInstall = ''
for theme in "$out"/share/icons/*; do
gtk-update-icon-cache "$theme"
done
'';
enableParallelBuilding = true;
passthru.updateScript = mateUpdateScript {
inherit pname version;
url = "https://github.com/mate-desktop-legacy-archive/mate-icon-theme-faenza";
};
meta = with lib; {
description = "Faenza icon theme from MATE";
homepage = "https://mate-desktop.org";
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = teams.mate.members;
};
}