1 { lib, buildGoModule, fetchFromGitHub }:
4 pname = "oauth2-proxy";
7 src = fetchFromGitHub {
9 owner = "oauth2-proxy";
10 sha256 = "sha256-7DmeXl/aDVFdwUiuljM79CttgjzdTVsSeAYrETuJG0M=";
14 vendorHash = "sha256-ihFNFtfiCGGyJqB2o4SMYleKdjGR4P5JewkynOsC1f0=";
16 # Taken from https://github.com/oauth2-proxy/oauth2-proxy/blob/master/Makefile
17 ldflags = [ "-X main.VERSION=${version}" ];
20 description = "Reverse proxy that provides authentication with Google, Github, or other providers";
21 homepage = "https://github.com/oauth2-proxy/oauth2-proxy/";
22 license = licenses.mit;
23 maintainers = teams.serokell.members;
24 mainProgram = "oauth2-proxy";