File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildGoModule ,
4+ fetchFromGitHub ,
5+ } :
6+
7+ buildGoModule rec {
8+ name = "kubetrim" ;
9+ version = "0.0.1" ;
10+
11+ src = fetchFromGitHub {
12+ owner = "alexellis" ;
13+ repo = "kubetrim" ;
14+ rev = "refs/tags/v${ version } " ;
15+ hash = "sha256-fX8CbId2ArJlnGkevCSB7eE6Ovs8vJR9+l//k4DgvK4=" ;
16+ } ;
17+
18+ vendorHash = "sha256-m9OuVFlD4F170Q6653HdvUhdULjR2cAttLsUN03XIXo=" ;
19+
20+ ldflags = [
21+ "-s"
22+ "-w"
23+ "-X github.com/alexellis/kubetrim/pkg.Version=${ version } "
24+ ] ;
25+
26+ meta = {
27+ description = "Trim your KUBECONFIG automatically" ;
28+ homepage = "https://github.com/alexellis/kubetrim" ;
29+ changelog = "https://github.com/alexellis/kubetrim/releases/tag/${ version } " ;
30+ license = lib . licenses . mit ;
31+ maintainers = with lib . maintainers ; [ bbigras ] ;
32+ mainProgram = "kubetrim" ;
33+ } ;
34+ }
You can’t perform that action at this time.
0 commit comments