2016-07-05 15:47:34 +00:00
|
|
|
{ stdenv, fetchurl, libpng, perl, perlPackages, makeWrapper }:
|
2012-01-04 09:42:38 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-04-14 13:13:10 +00:00
|
|
|
name = "icoutils-0.31.3";
|
2012-01-04 09:42:38 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://savannah/icoutils/${name}.tar.bz2";
|
2017-04-14 13:13:10 +00:00
|
|
|
sha256 = "d4651de8e3f9e28d24b5343a2b7564f49754e5fe7d211c5d4dd60dcd65c8a152";
|
2012-01-04 09:42:38 +00:00
|
|
|
};
|
|
|
|
|
2016-07-05 15:47:34 +00:00
|
|
|
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
|
|
|
|
'';
|
2012-01-04 09:42:38 +00:00
|
|
|
|
|
|
|
meta = {
|
2012-01-04 09:47:22 +00:00
|
|
|
homepage = http://www.nongnu.org/icoutils/;
|
2016-07-05 15:47:34 +00:00
|
|
|
description = "Set of programs to deal with Microsoft Windows(R) icon and cursor files";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3Plus;
|
2017-04-21 00:50:10 +00:00
|
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
2012-01-04 09:42:38 +00:00
|
|
|
};
|
|
|
|
}
|