3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/cluster/k9s/default.nix

31 lines
750 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
2019-07-27 17:46:08 +01:00
buildGoModule rec {
pname = "k9s";
2021-08-07 11:30:13 +01:00
version = "0.24.15";
2019-07-27 17:46:08 +01:00
src = fetchFromGitHub {
owner = "derailed";
repo = "k9s";
2020-02-01 18:47:21 +00:00
rev = "v${version}";
2021-08-07 11:30:13 +01:00
sha256 = "sha256-ws5JC2/WkgwxKwYtP9xtFELRhztzL6tNSvopyeC6H0Q=";
2019-07-27 17:46:08 +01:00
};
2021-08-26 07:45:51 +01:00
ldflags = [
"-s" "-w"
"-X github.com/derailed/k9s/cmd.version=${version}"
"-X github.com/derailed/k9s/cmd.commit=${src.rev}"
];
2021-08-07 11:30:13 +01:00
vendorSha256 = "sha256-T9khJeg5XPhVyUiu4gEEHZR6RgJF4P8LYFycqJglms8=";
2019-07-27 17:46:08 +01:00
doCheck = false;
meta = with lib; {
description = "Kubernetes CLI To Manage Your Clusters In Style";
2020-03-14 07:15:49 +00:00
homepage = "https://github.com/derailed/k9s";
2019-07-27 17:46:08 +01:00
license = licenses.asl20;
2020-07-08 17:16:04 +01:00
maintainers = with maintainers; [ Gonzih markus1189 ];
2019-07-27 17:46:08 +01:00
};
2020-07-08 17:16:04 +01:00
}