Skip to content

Commit

Permalink
Merge pull request #86108 from knl/security-fix-oauth2_proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Apr 27, 2020
2 parents b4f2f29 + 92ab877 commit 7d0b089
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/servers/oauth2_proxy/default.nix
@@ -1,4 +1,4 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoPackage, fetchFromGitHub, fetchpatch }:

buildGoPackage rec {
pname = "oauth2_proxy";
Expand All @@ -15,6 +15,14 @@ buildGoPackage rec {

goDeps = ./deps.nix;

patches = [
(fetchpatch {
url = https://github.com/oauth2-proxy/oauth2-proxy/commit/a316f8a06f3c0ca2b5fc5fa18a91781b313607b2.patch;
excludes = [ "CHANGELOG.md" ];
sha256 = "1bnij902418hy1rh9d1g16wpxw5w6zvg52iylbs2y1zi88y7a01c";
})
];

meta = with lib; {
description = "A reverse proxy that provides authentication with Google, Github or other provider";
homepage = https://github.com/pusher/oauth2_proxy/;
Expand Down

0 comments on commit 7d0b089

Please sign in to comment.