about summary refs log tree commit diff
path: root/pkgs/by-name
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2023-12-26 11:20:36 -0500
committerGitHub <noreply@github.com>2023-12-26 11:20:36 -0500
commit75aa585e346b4ea7ed300ae93ea7249601f76bd7 (patch)
treef3c9d05e27ee434ea0eeda8843217e74e8fd468d /pkgs/by-name
parent3ede4f2d81f0819d845dea011c21317e7a17cca9 (diff)
parenta08466f3b30d6f4c53ac5a541e2d6f5d17799368 (diff)
Merge pull request #276850 from ehmry/pacproxy
pacproxy: add meta.mainProgram, move to pkgs/by-name
Diffstat (limited to 'pkgs/by-name')
-rw-r--r--pkgs/by-name/pa/pacproxy/package.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/by-name/pa/pacproxy/package.nix b/pkgs/by-name/pa/pacproxy/package.nix
new file mode 100644
index 0000000000000..9b6538b1c85c2
--- /dev/null
+++ b/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";
+  };
+}