Skip to content

Commit c5edbce

Browse files
bbigraskhaneliman
andcommitted
kubetrim: init at 0.0.1
Co-authored-by: Austin Horstman <[email protected]>
1 parent fe81678 commit c5edbce

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
}

0 commit comments

Comments
 (0)