diff options
Diffstat (limited to 'pkgs/tools/networking/privoxy/default.nix')
-rw-r--r-- | pkgs/tools/networking/privoxy/default.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/tools/networking/privoxy/default.nix b/pkgs/tools/networking/privoxy/default.nix index a6dcd1fc0c3e7..0c3abf76dc1b6 100644 --- a/pkgs/tools/networking/privoxy/default.nix +++ b/pkgs/tools/networking/privoxy/default.nix @@ -2,14 +2,20 @@ stdenv.mkDerivation rec{ - name = "privoxy-3.0.24"; + name = "privoxy-${version}"; + version = "3.0.26"; src = fetchurl { - url = "mirror://sourceforge/ijbswa/Sources/3.0.22%20%28stable%29/${name}-stable-src.tar.gz"; - sha256 = "a381f6dc78f08de0d4a2342d47a5949a6608073ada34b933137184f3ca9fb012"; + url = "mirror://sourceforge/ijbswa/Sources/${version}%20%28stable%29/${name}-stable-src.tar.gz"; + sha256 = "1n4wpxmahl8m2y3d1azxa8lrdbpaad007k458skxrpz57ss1br2p"; }; - buildInputs = [ autoreconfHook zlib pcre w3m man ]; + nativeBuildInputs = [ autoreconfHook w3m man ]; + buildInputs = [ zlib pcre ]; + + postInstall = '' + rm -rf $out/var + ''; meta = with stdenv.lib; { homepage = http://www.privoxy.org/; |