11 src = fetchFromGitHub {
15 hash = "sha256-LfMxfXM3L4r0S8eDQVgFO1jTf/BcYpxxQSMl4zRh/yA=";
18 subPackages = [ "." ];
22 "-X main.version=v${version}"
25 vendorHash = "sha256-o+74+PnwhMe2oMfFLMD95R4m3gMjQS2d4pAvCEjh05U=";
32 # Rename the binary instead of symlinking to avoid conflict with the
33 # Azure version of kubelogin
35 mv $out/bin/kubelogin $out/bin/kubectl-oidc_login
39 description = "Kubernetes credential plugin implementing OpenID Connect (OIDC) authentication";
40 mainProgram = "kubectl-oidc_login";
41 inherit (src.meta) homepage;
42 license = lib.licenses.asl20;
43 maintainers = with lib.maintainers; [