1 { lib, buildGoModule, fetchFromGitHub, nixosTests, testers, dex-oidc }:
7 src = fetchFromGitHub {
11 sha256 = "sha256-+P3KYowZmtgZP3i0D+GFaAqgWDqJ8sxI4LyDUOM+J38=";
14 vendorHash = "sha256-NQXsptpRNgRuEeh2ft/dbqcZqO/d1KZ19wc/7To0xCM=";
21 "-w" "-s" "-X main.version=${src.rev}"
26 cp -r $src/web $out/share/web
30 inherit (nixosTests) dex-oidc;
31 version = testers.testVersion {
33 command = "dex version";
34 version = "v${version}";
39 description = "OpenID Connect and OAuth2 identity provider with pluggable connectors";
40 homepage = "https://github.com/dexidp/dex";
41 license = licenses.asl20;
42 maintainers = with maintainers; [ benley techknowlogick ];