Merge pull request #180555 from aacebedo/papirus-icon-theme

papirus-icon-theme: add color option

authored by José Romildo Malaquias and committed by GitHub 8487ab4c 50dd61a9

+4 -2
+4 -2
pkgs/data/icons/papirus-icon-theme/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, gtk3, pantheon, breeze-icons, gnome-icon-theme, hicolor-icon-theme }: 2 3 stdenv.mkDerivation rec { 4 pname = "papirus-icon-theme"; ··· 11 sha256 = "sha256-HJb77ArzwMX9ZYTp0Ffxxtst1/xhPAa+eEP5n950DSs="; 12 }; 13 14 - nativeBuildInputs = [ gtk3 ]; 15 16 propagatedBuildInputs = [ 17 pantheon.elementary-icon-theme ··· 28 mv {,e}Papirus* $out/share/icons 29 30 for theme in $out/share/icons/*; do 31 gtk-update-icon-cache $theme 32 done 33 runHook postInstall 34 ''; 35
··· 1 + { lib, stdenv, fetchFromGitHub, fetchurl, gtk3, pantheon, breeze-icons, gnome-icon-theme, hicolor-icon-theme, papirus-folders, color ? "blue" }: 2 3 stdenv.mkDerivation rec { 4 pname = "papirus-icon-theme"; ··· 11 sha256 = "sha256-HJb77ArzwMX9ZYTp0Ffxxtst1/xhPAa+eEP5n950DSs="; 12 }; 13 14 + nativeBuildInputs = [ gtk3 papirus-folders ]; 15 16 propagatedBuildInputs = [ 17 pantheon.elementary-icon-theme ··· 28 mv {,e}Papirus* $out/share/icons 29 30 for theme in $out/share/icons/*; do 31 + ${papirus-folders}/bin/papirus-folders -t $theme -o -C ${color} 32 gtk-update-icon-cache $theme 33 done 34 + 35 runHook postInstall 36 ''; 37