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

  nativeBuildInputs = [ apiGoVendorHook ];

  env.CGO_ENABLED = 0;

  subPackages = [ "cmd/ldap" ];

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