summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/au/authentik/proxy.nix
blob: f1db56006460116879cdb28715b02d5abb6ea79a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  buildGoModule,
  authentik,
  apiGoVendorHook,
  vendorHash,
}:

buildGoModule {
  pname = "authentik-proxy-outpost";
  inherit (authentik) version src;
  inherit vendorHash;

  nativeBuildInputs = [ apiGoVendorHook ];

  env.CGO_ENABLED = 0;

  subPackages = [ "cmd/proxy" ];

  meta = authentik.meta // {
    description = "Authentik proxy outpost which is used for HTTP reverse proxy authentication";
    homepage = "https://goauthentik.io/docs/providers/proxy/";
    mainProgram = "proxy";
  };
}