7 pname = "alpaca-proxy";
10 src = fetchFromGitHub {
14 hash = "sha256-Rf8//4FeruVZZ//uba80z20XGUxycwF91Aa09fosRXI=";
17 vendorHash = "sha256-JEiHgyPJvWmtPf8R4aX/qlevfZRdKajre324UsgRm5Y=";
22 "-X=main.BuildVersion=v${version}"
26 # executable is renamed to alpaca-proxy, to avoid collision with the alpaca python application
27 mv $out/bin/alpaca $out/bin/alpaca-proxy
31 description = "HTTP forward proxy with PAC and NTLM authentication support";
32 homepage = "https://github.com/samuong/alpaca";
33 changelog = "https://github.com/samuong/alpaca/releases/tag/v${src.rev}";
34 license = licenses.asl20;
35 platforms = platforms.linux ++ platforms.darwin;
36 maintainers = with maintainers; [ _1nv0k32 ];
37 mainProgram = "alpaca-proxy";