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

30 lines
836 B
Nix
Raw Normal View History

{ stdenv, fetchurl, autoreconfHook, gtk3, mate, hicolor-icon-theme }:
2016-05-30 20:30:37 +02:00
stdenv.mkDerivation rec {
name = "mate-icon-theme-faenza-${version}";
2018-02-14 02:22:51 +01:00
version = "1.20.0";
2016-05-30 20:30:37 +02:00
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2018-02-14 02:22:51 +01:00
sha256 = "000vr9cnbl2qlysf2gyg1lsjirqdzmwrnh6d3hyrsfc0r2vh4wna";
2016-05-30 20:30:37 +02:00
};
nativeBuildInputs = [ autoreconfHook gtk3 ];
2016-05-30 20:30:37 +02:00
buildInputs = [ mate.mate-icon-theme hicolor-icon-theme ];
postInstall = ''
for theme in "$out"/share/icons/*; do
gtk-update-icon-cache "$theme"
done
'';
2016-05-30 20:30:37 +02:00
meta = {
description = "Faenza icon theme from MATE";
homepage = https://mate-desktop.org;
2016-05-30 20:30:37 +02:00
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.romildo ];
};
}