diff --git a/pkgs/servers/squid/squids.nix b/pkgs/servers/squid/squids.nix index 3cb8d71e3036..587c17a3ceea 100644 --- a/pkgs/servers/squid/squids.nix +++ b/pkgs/servers/squid/squids.nix @@ -50,5 +50,16 @@ rec { configureFlags = ["--enable-ssl" "--enable-ssl-crtd"]; }; - latest = squid34; + squid35 = squid30.merge rec { + name = "squid-3.5.1"; + src = args.fetchurl { + url = "http://www.squid-cache.org/Versions/v3/3.5/${name}.tar.bz2"; + sha256 = "0rfv1v5vkk7l08v4j16l0lz2grrzd8qf2n25i73qd7c8rgwd6a3x"; + }; + buildInputs = [openldap pam db cyrus_sasl libcap expat libxml2 + libtool openssl]; + configureFlags = ["--with-openssl" "--enable-ssl-crtd"]; + }; + + latest = squid35; }