faba-icon-theme: build GTK icon cache

This commit is contained in:
Yegor Timoshenko 2018-02-24 11:11:30 +00:00
parent b22c33fb94
commit ede5f2cbfa

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook, elementary-icon-theme }:
{ stdenv, fetchFromGitHub, autoreconfHook, elementary-icon-theme, gtk3 }:
stdenv.mkDerivation rec {
name = "${package-name}-${version}";
@ -12,14 +12,14 @@ stdenv.mkDerivation rec {
sha256 = "0hif030pd4w3s851k0s65w0mf2pik10ha25ycpsv91gpbgarqcns";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ elementary-icon-theme ];
nativeBuildInputs = [ autoreconfHook elementary-icon-theme gtk3 ];
postPatch = ''
substituteInPlace Makefile.am --replace '$(DESTDIR)'/usr $out
'';
postFixup = "gtk-update-icon-cache $out/share/icons/Faba";
meta = with stdenv.lib; {
description = "A sexy and modern icon theme with Tango influences";
homepage = https://snwh.org/moka;