summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/au/authentik/radius.nix
blob: ba348a72515fde587b1a5b14dce1a0b7cfa9918f (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-radius-outpost";
  inherit (authentik) version src;
  inherit vendorHash;

  nativeBuildInputs = [ apiGoVendorHook ];

  env.CGO_ENABLED = 0;

  subPackages = [ "cmd/radius" ];

  meta = authentik.meta // {
    description = "Authentik radius outpost which is used for the external radius API";
    homepage = "https://goauthentik.io/docs/providers/radius/";
    mainProgram = "radius";
  };
}