2009-03-22 14:03:37 +01:00
|
|
|
{stdenv, fetchurl, ucl, zlib}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-02-22 09:08:23 +01:00
|
|
|
name = "upx-3.04";
|
2009-03-22 14:03:37 +01:00
|
|
|
src = fetchurl {
|
2010-02-22 09:08:23 +01:00
|
|
|
url = http://upx.sourceforge.net/download/upx-3.04-src.tar.bz2;
|
|
|
|
sha256 = "15vxjzaf21vfanidv6d0zf37jgy4xfhn399nc66651b064pnbf39";
|
2009-03-22 14:03:37 +01:00
|
|
|
};
|
|
|
|
buildInputs = [ ucl zlib ];
|
|
|
|
|
|
|
|
preConfigure = "cd src";
|
|
|
|
|
|
|
|
installPhase = "ensureDir $out/bin ; cp upx.out $out/bin/upx";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://upx.sourceforge.net/;
|
|
|
|
description = "The Ultimate Packer for eXecutables";
|
|
|
|
license = "GPLv2+";
|
|
|
|
};
|
|
|
|
}
|