2008-12-21 16:36:47 +00:00
|
|
|
args: with args;
|
|
|
|
let edf = composableDerivation.edf; in
|
|
|
|
rec {
|
2009-03-06 23:21:24 +00:00
|
|
|
squid30 = composableDerivation.composableDerivation {} {
|
|
|
|
name = "squid-3.0-stable5";
|
2008-12-21 16:36:47 +00:00
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
buildInputs = [perl];
|
2008-12-21 16:36:47 +00:00
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
src = args.fetchurl {
|
|
|
|
url = http://www.squid-cache.org/Versions/v3/3.0/squid-3.0.STABLE5.tar.bz2;
|
|
|
|
sha256 = "1m4ccpjw30q9vwsycmgg9dmhly0mpznvxrch6f7dxgfzpjp26l7w";
|
|
|
|
};
|
2008-12-21 16:36:47 +00:00
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
configureFlags = ["--enable-ipv6"];
|
2008-12-21 16:36:47 +00:00
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
meta = {
|
|
|
|
description = "http-proxy";
|
|
|
|
homepage = "http://www.squid-cache.org";
|
|
|
|
license = "GPL2";
|
2008-12-21 16:36:47 +00:00
|
|
|
};
|
2009-03-06 23:21:24 +00:00
|
|
|
|
2008-12-21 16:36:47 +00:00
|
|
|
};
|
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
squid3Beta = squid30.merge {
|
2008-12-21 16:36:47 +00:00
|
|
|
name = "squid-3.1-beta";
|
|
|
|
src = args.fetchurl {
|
2010-02-20 11:56:23 +00:00
|
|
|
url = http://www.squid-cache.org/Versions/v3/3.1/squid-3.1.0.16.tar.bz2;
|
|
|
|
sha256 = "0pjz8dj04146hgdlfh0hbwdsdahsicdkafj5z9nkghbjavj1x5ny";
|
2008-12-21 16:36:47 +00:00
|
|
|
};
|
|
|
|
configureFlags = ["--enable-ipv6"];
|
|
|
|
};
|
|
|
|
|
2009-03-06 23:21:24 +00:00
|
|
|
squid3Head = squid3Beta.merge {
|
2008-12-21 16:36:47 +00:00
|
|
|
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;
|
|
|
|
}
|