1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 03:53:41 +00:00
nixpkgs/pkgs/tools/networking/privoxy/default.nix
2021-03-01 23:57:43 -05:00

33 lines
791 B
Nix

{ lib, stdenv, fetchurl, autoreconfHook, zlib, pcre, w3m, man }:
stdenv.mkDerivation rec {
pname = "privoxy";
version = "3.0.32";
src = fetchurl {
url = "mirror://sourceforge/ijbswa/Sources/${version}%20%28stable%29/${pname}-${version}-stable-src.tar.gz";
sha256 = "sha256-xh3kAIxiRF7Bjx8nBAfL8jcuq6k76szcnjI4uy3v7tc=";
};
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.gpl2Plus;
platforms = platforms.all;
maintainers = [ maintainers.phreedom ];
};
}