blob: 8b26f4ce3c83c9c48961a4be3045dac2dedfe323 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ stdenv, fetchurl, libpng, perl, perlPackages, makeWrapper }:
stdenv.mkDerivation rec {
name = "icoutils-0.31.3";
src = fetchurl {
url = "mirror://savannah/icoutils/${name}.tar.bz2";
sha256 = "d4651de8e3f9e28d24b5343a2b7564f49754e5fe7d211c5d4dd60dcd65c8a152";
};
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";
license = stdenv.lib.licenses.gpl3Plus;
platforms = with stdenv.lib.platforms; linux;
};
}
|