elementary-xfce-icon-theme: 0.12 -> 0.13

This commit is contained in:
José Romildo Malaquias 2018-09-17 19:31:29 -03:00
parent 9f768ff43c
commit b80d254e73

View File

@ -1,27 +1,24 @@
{ stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme }: { stdenv, fetchFromGitHub, pkgconfig, gdk_pixbuf, optipng, librsvg, gtk3, hicolor-icon-theme }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "elementary-xfce-icon-theme-${version}"; name = "elementary-xfce-icon-theme-${version}";
version = "0.12"; version = "0.13";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "shimmerproject"; owner = "shimmerproject";
repo = "elementary-xfce"; repo = "elementary-xfce";
rev = "elementary-xfce-${version}"; rev = "v${version}";
sha256 = "036676443sj4lxm7z211b0br87zdnbrb9z41czfq65r1wwwdf3rq"; sha256 = "01hlpw4vh4kgyghki01jp0snbn0g79mys28fb1m993mivnlzmn75";
}; };
nativeBuildInputs = [ gtk3 hicolor-icon-theme ]; nativeBuildInputs = [ pkgconfig gdk_pixbuf librsvg optipng gtk3 hicolor-icon-theme ];
installPhase = '' postPatch = ''
mkdir -p $out/share/icons substituteInPlace svgtopng/Makefile --replace "-O0" "-O"
mv elementary-xfce* $out/share/icons
''; '';
postFixup = '' postInstall = ''
for theme in $out/share/icons/*; do make icon-caches
gtk-update-icon-cache $theme
done
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {