about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/pa/pacproxy/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/by-name/pa/pacproxy/package.nix')
-rw-r--r--nixpkgs/pkgs/by-name/pa/pacproxy/package.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/pa/pacproxy/package.nix b/nixpkgs/pkgs/by-name/pa/pacproxy/package.nix
new file mode 100644
index 000000000000..9b6538b1c85c
--- /dev/null
+++ b/nixpkgs/pkgs/by-name/pa/pacproxy/package.nix
@@ -0,0 +1,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";
+  };
+}