3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/squid/default.nix
Michael Raskin 2e1be8618b Upgraded Squid. IPv6 does not work fully yet.
svn path=/nixpkgs/trunk/; revision=11756
2008-05-06 07:02:33 +00:00

25 lines
635 B
Nix

args:
( args.mkDerivationByConfiguration {
flagConfig = {
mandatory = { buildInputs = [ "perl" ]; };
# many options I don't know wether they should be default ..
};
extraAttrs = co : {
name = "squid-3.0-stable5";
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";
};
};
} ) args