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