16 stdenv.mkDerivation rec {
22 url = "mirror://sourceforge/ijbswa/Sources/${version}%20%28stable%29/${pname}-${version}-stable-src.tar.gz";
23 sha256 = "sha256-5sy8oWVvTmFrRlf4UU4zpw9ml+nXKUNWV3g5Mio8XSw=";
26 # Patch to fix socks4 and socks4a support under glibc's source fortification
27 # (enabled by default since glibc 2.38-0)
30 url = "https://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=19d7684ca10f6c1279568aa19e9a9da2276851f1";
31 sha256 = "sha256-bCb0RUVrWeGfqZYFHXDEEx+76xiNyVqehtLvk9C1j+4=";
35 hardeningEnable = [ "pie" ];
49 makeFlags = [ "STRIP=" ];
53 "--enable-external-filters"
54 "--enable-compression"
61 passthru.tests.privoxy = nixosTests.privoxy;
64 homepage = "https://www.privoxy.org/";
65 description = "Non-caching web proxy with advanced filtering capabilities";
66 # When linked with mbedtls, the license becomes GPLv3 (or later), otherwise
67 # GPLv2 (or later). See https://www.privoxy.org/user-manual/copyright.html
68 license = licenses.gpl2Plus;
69 platforms = platforms.all;
71 mainProgram = "privoxy";