Adding upx.

svn path=/nixpkgs/trunk/; revision=14645
This commit is contained in:
Lluís Batlle i Rossell 2009-03-22 13:03:37 +00:00
parent a3f009935f
commit d52b60af22
3 changed files with 43 additions and 0 deletions

View File

@ -0,0 +1,15 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "ucl-1.0.3";
src = fetchurl {
url = http://www.oberhumer.com/opensource/ucl/download/ucl-1.03.tar.gz;
sha256 = "b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348";
};
meta = {
homepage = http://www.oberhumer.com/opensource/ucl/;
description = "Portable lossless data compression library";
license = "GPLv2";
};
}

View File

@ -0,0 +1,20 @@
{stdenv, fetchurl, ucl, zlib}:
stdenv.mkDerivation {
name = "upx-3.03";
src = fetchurl {
url = http://upx.sourceforge.net/download/upx-3.03-src.tar.bz2;
sha256 = "a04b0decd01d3ca194b9553c7bbf8a01bc17e0e06eb0850f4271bba783143d7b";
};
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+";
};
}

View File

@ -1279,6 +1279,14 @@ let
inherit fetchurl stdenv ncurses;
};
ucl = import ../development/libraries/ucl {
inherit fetchurl stdenv;
};
upx = import ../tools/compression/upx {
inherit fetchurl stdenv ucl zlib;
};
vpnc = import ../tools/networking/vpnc {
inherit fetchurl stdenv libgcrypt perl gawk
nettools makeWrapper;