nixpkgs/pkgs/tools/networking/privoxy/default.nix

33 lines
787 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, autoreconfHook, zlib, pcre, w3m, man }:
stdenv.mkDerivation rec {
pname = "privoxy";
2021-01-31 00:39:01 +00:00
version = "3.0.30";
src = fetchurl {
url = "mirror://sourceforge/ijbswa/Sources/${version}%20%28stable%29/${pname}-${version}-stable-src.tar.gz";
2021-01-31 00:39:01 +00:00
sha256 = "sha256-pP4kHF2nAQsoS/ienp4xoyHx8+scx5ZVnT+6ublBXuE=";
};
2016-12-06 13:29:29 +00:00
hardeningEnable = [ "pie" ];
nativeBuildInputs = [ autoreconfHook w3m man ];
buildInputs = [ zlib pcre ];
makeFlags = [ "STRIP="];
postInstall = ''
rm -rf $out/var
'';
meta = with lib; {
homepage = "https://www.privoxy.org/";
description = "Non-caching web proxy with advanced filtering capabilities";
license = licenses.gpl2;
platforms = platforms.all;
maintainers = [ maintainers.phreedom ];
};
}