depot/third_party/nixpkgs/pkgs/tools/networking/privoxy/default.nix
Default email 78efc47b99 Project import generated by Copybara.
GitOrigin-RevId: 83cbad92d73216bb0d9187c56cce0b91f9121d5a
2020-12-07 07:45:13 +00:00

32 lines
790 B
Nix

{ stdenv, fetchurl, autoreconfHook, zlib, pcre, w3m, man }:
stdenv.mkDerivation rec {
pname = "privoxy";
version = "3.0.29";
src = fetchurl {
url = "mirror://sourceforge/ijbswa/Sources/${version}%20%28stable%29/${pname}-${version}-stable-src.tar.gz";
sha256 = "17a8fbdyb0ixc0wwq68fg7xn7l6n7jq67njpq93psmxgzng0dii5";
};
hardeningEnable = [ "pie" ];
nativeBuildInputs = [ autoreconfHook w3m man ];
buildInputs = [ zlib pcre ];
makeFlags = [ "STRIP="];
postInstall = ''
rm -rf $out/var
'';
meta = with stdenv.lib; {
homepage = "https://www.privoxy.org/";
description = "Non-caching web proxy with advanced filtering capabilities";
license = licenses.gpl2;
platforms = platforms.all;
maintainers = [ maintainers.phreedom ];
};
}