about summary refs log tree commit diff
path: root/pkgs/tools/networking/pacproxy/default.nix
blob: f1fb107dd62c567a98720b64c59db4985419cf11 (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
{ 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 ];
  };
}