blob: 92899fdacf0f61de6496cf81da64c3c012356c0b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{ lib, fetchFromGitHub, buildGoModule, go }:
buildGoModule rec {
pname = "kubelogin";
version = "0.0.23";
src = fetchFromGitHub {
owner = "Azure";
repo = pname;
rev = "v${version}";
sha256 = "sha256-6aYa5C0RMCKrnBl3YNbdMUxGOJYwVZ303PLt5RRBjmw=";
};
vendorSha256 = "sha256-mjIB0ITf296yDQJP46EI6pLYkZfyU3yzD9iwP0iIXvQ=";
ldflags = [
"-X main.version=${version}"
"-X main.goVersion=${lib.getVersion go}"
];
meta = with lib; {
description = "A Kubernetes credential plugin implementing Azure authentication";
inherit (src.meta) homepage;
license = licenses.mit;
maintainers = with maintainers; [ yurrriq ];
};
}
|