diff options
author | Flakebi <flakebi@t-online.de> | 2021-09-20 01:43:54 +0200 |
---|---|---|
committer | Flakebi <flakebi@t-online.de> | 2021-09-25 13:12:51 +0200 |
commit | 6ca43a69cc11dfeeab6bcac028847eb946d9c0fd (patch) | |
tree | 7b282444c87af12efaa0181be5cc17c4b6d1c7c0 /pkgs/servers/dex | |
parent | af34c6f62703f81963953a35a7176652aa2fe0bd (diff) |
dex-oidc: add module
Diffstat (limited to 'pkgs/servers/dex')
-rw-r--r-- | pkgs/servers/dex/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/servers/dex/default.nix b/pkgs/servers/dex/default.nix index a27870453c82c..16dc5f8bafd64 100644 --- a/pkgs/servers/dex/default.nix +++ b/pkgs/servers/dex/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, nixosTests }: buildGoModule rec { pname = "dex"; @@ -26,6 +26,8 @@ buildGoModule rec { cp -r $src/web $out/share/web ''; + passthru.tests = { inherit (nixosTests) dex-oidc; }; + meta = with lib; { description = "OpenID Connect and OAuth2 identity provider with pluggable connectors"; homepage = "https://github.com/dexidp/dex"; |