1dd385c5b9
svn path=/nixpkgs/trunk/; revision=14451
43 lines
1.1 KiB
Nix
43 lines
1.1 KiB
Nix
args: with args;
|
|
let edf = composableDerivation.edf; in
|
|
rec {
|
|
squid30 = composableDerivation.composableDerivation {} {
|
|
name = "squid-3.0-stable5";
|
|
|
|
buildInputs = [perl];
|
|
|
|
src = args.fetchurl {
|
|
url = http://www.squid-cache.org/Versions/v3/3.0/squid-3.0.STABLE5.tar.bz2;
|
|
sha256 = "1m4ccpjw30q9vwsycmgg9dmhly0mpznvxrch6f7dxgfzpjp26l7w";
|
|
};
|
|
|
|
configureFlags = ["--enable-ipv6"];
|
|
|
|
meta = {
|
|
description = "http-proxy";
|
|
homepage = "http://www.squid-cache.org";
|
|
license = "GPL2";
|
|
};
|
|
|
|
};
|
|
|
|
squid3Beta = squid30.merge {
|
|
name = "squid-3.1-beta";
|
|
src = args.fetchurl {
|
|
url = http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.0.6.tar.bz2;
|
|
sha256 = "0crkfd5kc677baq0v6kfnwh0rc7h2a1083yh0sccy7g02vd7z3q5";
|
|
};
|
|
configureFlags = ["--enable-ipv6"];
|
|
};
|
|
|
|
squid3Head = squid3Beta.merge {
|
|
name = "squid-3.1-HEAD";
|
|
src = args.fetchurl {
|
|
url = http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.0.3-20081221.tar.bz2;
|
|
md5 = "345b50251dcc369e1be992d0a4a4c801";
|
|
};
|
|
};
|
|
|
|
latest = squid3Beta;
|
|
}
|