diff options
author | José Luis Lafuente <jl@lafuente.me> | 2019-10-30 11:16:13 +0100 |
---|---|---|
committer | Lassulus <github@lassul.us> | 2019-12-08 15:00:53 +0100 |
commit | 848e0d30453ca10bef9750bb238ae6e0714547f8 (patch) | |
tree | becec4f594f6782704594a6d4a94a0eb3c3531c5 /pkgs | |
parent | d0f7a4139a559fed7690c91d18c53a15e1f0e96c (diff) |
k9s: 0.8.4 -> 0.9.3
Also add missed build flags
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/networking/cluster/k9s/default.nix | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/pkgs/applications/networking/cluster/k9s/default.nix b/pkgs/applications/networking/cluster/k9s/default.nix index 73d82207daf5..6fbad55f8070 100644 --- a/pkgs/applications/networking/cluster/k9s/default.nix +++ b/pkgs/applications/networking/cluster/k9s/default.nix @@ -2,16 +2,25 @@ buildGoModule rec { pname = "k9s"; - version = "0.8.4"; + version = "0.9.3"; + # rev is the release commit, mainly for version command output + rev = "1a9a83b34cdd0c9b4e793ed6b4b5c16ea1a949a0"; src = fetchFromGitHub { owner = "derailed"; repo = "k9s"; rev = version; - sha256 = "0wsj6wc2qi5708cg47l2qblq1cg8fcwxdygpkayib9hapx6lc6f8"; + sha256 = "0k27mfccz563r18zlbaxll305vrmrx19ym6znsikvqxlmhy86g36"; }; - modSha256 = "1ia9wx6yd9mdr981lcw58xv39iqzz25r03bmn1c6byxmq2xpcjq8"; + buildFlagsArray = '' + -ldflags= + -s -w + -X github.com/derailed/k9s/cmd.version=${version} + -X github.com/derailed/k9s/cmd.commit=${rev} + ''; + + modSha256 = "09rwbl8zd06ax5hidm5l1schwqvsr5ndlqh09w1rq9fqjijy649y"; meta = with stdenv.lib; { description = "Kubernetes CLI To Manage Your Clusters In Style."; |