about summary refs log tree commit diff
path: root/pkgs/by-name/pa/pacproxy/package.nix
blob: 9b6538b1c85c2b5abe692369fecb2be32bb42203 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ lib
, buildGoModule
, fetchFromGitHub
}:

buildGoModule rec {
  pname = "pacproxy";
  version = "2.0.5";

  src = fetchFromGitHub {
    owner = "williambailey";
    repo = "pacproxy";
    rev = "v${version}";
    hash = "sha256-oDSptPihrDIiTCgcP4t2J3vJBNGMViyPAAmBv4ynLNU=";
  };

  vendorHash = "sha256-0Go+xwzaT1qt+cJfcPkC8ft3eB/OZCvOi2Pnn/A/rtQ=";

  meta = with lib; {
    description = "A no-frills local HTTP proxy server powered by a proxy auto-config (PAC) file";
    homepage = "https://github.com/williambailey/pacproxy";
    changelog = "https://github.com/williambailey/pacproxy/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ terlar ];
    mainProgram = "pacproxy";
  };
}