8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
32 lines
967 B
Nix
32 lines
967 B
Nix
{ stdenv, fetchurl, libpng, perl, perlPackages, makeWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "icoutils-0.32.3";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://savannah/icoutils/${name}.tar.bz2";
|
|
sha256 = "1q66cksms4l62y0wizb8vfavhmf7kyfgcfkynil3n99s0hny1aqp";
|
|
};
|
|
|
|
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 = "https://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 ++ darwin;
|
|
};
|
|
}
|