1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 14:47:06 +00:00
nixpkgs/pkgs/desktops/mate/mate-icon-theme-faenza/default.nix
2020-04-19 21:29:33 -03:00

34 lines
919 B
Nix

{ stdenv, fetchurl, autoreconfHook, gtk3, mate, hicolor-icon-theme }:
stdenv.mkDerivation rec {
pname = "mate-icon-theme-faenza";
version = "1.20.0";
src = fetchurl {
url = "https://pub.mate-desktop.org/releases/${stdenv.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;
meta = {
description = "Faenza icon theme from MATE";
homepage = "https://mate-desktop.org";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}