2021-01-15 12:19:50 +03:00
|
|
|
{ lib, stdenv, fetchurl, libpng, perl, perlPackages, makeWrapper }:
|
2012-01-04 13:42:38 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-12 21:41:54 +03:00
|
|
|
pname = "icoutils";
|
|
|
|
version = "0.32.3";
|
2012-01-04 13:42:38 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-12 21:41:54 +03:00
|
|
|
url = "mirror://savannah/icoutils/icoutils-${version}.tar.bz2";
|
2018-03-31 18:02:44 +03:00
|
|
|
sha256 = "1q66cksms4l62y0wizb8vfavhmf7kyfgcfkynil3n99s0hny1aqp";
|
2012-01-04 13:42:38 +04:00
|
|
|
};
|
|
|
|
|
2021-02-07 12:17:39 +03:00
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
buildInputs = [ libpng perl ];
|
2016-07-05 18:47:34 +03:00
|
|
|
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 13:42:38 +04:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://www.nongnu.org/icoutils/";
|
2016-07-05 18:47:34 +03:00
|
|
|
description = "Set of programs to deal with Microsoft Windows(R) icon and cursor files";
|
2021-01-15 12:19:50 +03:00
|
|
|
license = lib.licenses.gpl3Plus;
|
|
|
|
platforms = with lib.platforms; linux ++ darwin;
|
2012-01-04 13:42:38 +04:00
|
|
|
};
|
|
|
|
}
|