icoutils: perl dependencies added #15894

This commit is contained in:
Ram Kromberg 2016-07-05 18:47:34 +03:00
parent 07139b8c3f
commit 3d316da103

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libpng }:
{ stdenv, fetchurl, libpng, perl, perlPackages, makeWrapper }:
stdenv.mkDerivation rec {
name = "icoutils-0.31.0";
@ -8,11 +8,24 @@ stdenv.mkDerivation rec {
sha256 = "0wdgyfb1clrn3maq84vi4vkwjydy72p5hzk6kb9nb3a19bbxk5d8";
};
buildInputs = [ libpng ];
buildInputs = [ makeWrapper libpng perl ];
propagatedBuildInputs = [ perlPackages.LWP ];
patchPhase = ''
patchShebangs extresso/extresso
patchShebangs extresso/extresso.in
patchShebangs extresso/genresscript
patchShebangs extresso/genresscript.in
'';
preFixup = ''
wrapProgram $out/bin/extresso --prefix PERL5LIB : $PERL5LIB
wrapProgram $out/bin/genresscript --prefix PERL5LIB : $PERL5LIB
'';
meta = {
homepage = http://www.nongnu.org/icoutils/;
description = "Set of programs to deal with Microsoft Windows(R) icon and cursor files";
description = "Set of programs to deal with Microsoft Windows(R) icon and cursor files";
license = stdenv.lib.licenses.gpl3Plus;
platforms = with stdenv.lib.platforms; linux;
};