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