nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildGoModule,
4 fetchFromGitHub,
5}:
6
7buildGoModule rec {
8 pname = "pacproxy";
9 version = "2.0.5";
10
11 src = fetchFromGitHub {
12 owner = "williambailey";
13 repo = "pacproxy";
14 rev = "v${version}";
15 hash = "sha256-oDSptPihrDIiTCgcP4t2J3vJBNGMViyPAAmBv4ynLNU=";
16 };
17
18 vendorHash = "sha256-0Go+xwzaT1qt+cJfcPkC8ft3eB/OZCvOi2Pnn/A/rtQ=";
19
20 meta = {
21 description = "No-frills local HTTP proxy server powered by a proxy auto-config (PAC) file";
22 homepage = "https://github.com/williambailey/pacproxy";
23 changelog = "https://github.com/williambailey/pacproxy/releases/tag/v${version}";
24 license = lib.licenses.asl20;
25 maintainers = with lib.maintainers; [ terlar ];
26 mainProgram = "pacproxy";
27 };
28}