diff --git a/pkgs/tools/networking/pacproxy/default.nix b/pkgs/tools/networking/pacproxy/default.nix new file mode 100644 index 000000000000..f1fb107dd62c --- /dev/null +++ b/pkgs/tools/networking/pacproxy/default.nix @@ -0,0 +1,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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ad848496a9ca..81f2ef5a4bb6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -889,6 +889,8 @@ with pkgs; packr = callPackage ../development/libraries/packr { }; + pacproxy = callPackage ../tools/networking/pacproxy { }; + perseus-cli = callPackage ../development/tools/perseus-cli { inherit (darwin.apple_sdk.frameworks) CoreServices; };