Merge pull request #16732 from RamKromberg/fix/icoutils-issue-15894

icoutils: perl dependencies added #15894

authored by Tuomas Tynkkynen and committed by GitHub 3d5a41fc 2fdfe6ed

+16 -3
+16 -3
pkgs/tools/graphics/icoutils/default.nix
··· 1 - { stdenv, fetchurl, libpng }: 2 3 stdenv.mkDerivation rec { 4 name = "icoutils-0.31.0"; ··· 8 sha256 = "0wdgyfb1clrn3maq84vi4vkwjydy72p5hzk6kb9nb3a19bbxk5d8"; 9 }; 10 11 - buildInputs = [ libpng ]; 12 13 meta = { 14 homepage = http://www.nongnu.org/icoutils/; 15 - description = "Set of programs to deal with Microsoft Windows(R) icon and cursor files"; 16 license = stdenv.lib.licenses.gpl3Plus; 17 platforms = with stdenv.lib.platforms; linux; 18 };
··· 1 + { stdenv, fetchurl, libpng, perl, perlPackages, makeWrapper }: 2 3 stdenv.mkDerivation rec { 4 name = "icoutils-0.31.0"; ··· 8 sha256 = "0wdgyfb1clrn3maq84vi4vkwjydy72p5hzk6kb9nb3a19bbxk5d8"; 9 }; 10 11 + buildInputs = [ makeWrapper libpng perl ]; 12 + propagatedBuildInputs = [ perlPackages.LWP ]; 13 + 14 + patchPhase = '' 15 + patchShebangs extresso/extresso 16 + patchShebangs extresso/extresso.in 17 + patchShebangs extresso/genresscript 18 + patchShebangs extresso/genresscript.in 19 + ''; 20 + 21 + preFixup = '' 22 + wrapProgram $out/bin/extresso --prefix PERL5LIB : $PERL5LIB 23 + wrapProgram $out/bin/genresscript --prefix PERL5LIB : $PERL5LIB 24 + ''; 25 26 meta = { 27 homepage = http://www.nongnu.org/icoutils/; 28 + description = "Set of programs to deal with Microsoft Windows(R) icon and cursor files"; 29 license = stdenv.lib.licenses.gpl3Plus; 30 platforms = with stdenv.lib.platforms; linux; 31 };