about summary refs log tree commit diff
path: root/pkgs/servers/squid/default.nix
blob: 3ae7053f929499cbed89fd4f01bfff3edb116214 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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