about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/pa
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/by-name/pa')
-rw-r--r--nixpkgs/pkgs/by-name/pa/pacproxy/package.nix27
-rw-r--r--nixpkgs/pkgs/by-name/pa/passes/package.nix4
2 files changed, 29 insertions, 2 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";
+  };
+}
diff --git a/nixpkgs/pkgs/by-name/pa/passes/package.nix b/nixpkgs/pkgs/by-name/pa/passes/package.nix
index 35a8a94a9fe1..39a502038b52 100644
--- a/nixpkgs/pkgs/by-name/pa/passes/package.nix
+++ b/nixpkgs/pkgs/by-name/pa/passes/package.nix
@@ -17,13 +17,13 @@
 
 stdenv.mkDerivation (finalAttrs: {
   pname = "passes";
-  version = "0.8";
+  version = "0.9";
 
   src = fetchFromGitHub {
     owner = "pablo-s";
     repo = "passes";
     rev = "v${finalAttrs.version}";
-    hash = "sha256-SIJLBVWyW9+Hzb6ebfUnBfUuvNmYBm9ojKrnFOS3BGc=";
+    hash = "sha256-RfoqIyqc9zwrWZ5RLhQl+6vTccbCTwtDcMlnWPCDOag=";
   };
 
   postPatch = ''