1 { lib, buildGoModule, fetchFromGitHub }:
4 pname = "kubectl-ktop";
7 src = fetchFromGitHub {
8 owner = "vladimirvivien";
11 sha256 = "sha256-oxyEkDY53HjBgjWRajlcg+8Kx092lyLkPgOJleioO7o=";
14 vendorHash = "sha256-MLIcTHWo7lsqtAqH8naSvpS013t8KBVPRbch+CfeUNk=";
16 subPackages = [ "." ];
21 "-X github.com/vladimirvivien/ktop/buildinfo.Version=v${version}"
22 "-X github.com/vladimirvivien/ktop/buildinfo.GitSHA=${src.rev}"
26 ln -s $out/bin/ktop $out/bin/kubectl-ktop
30 description = "Top-like tool for your Kubernetes clusters";
31 homepage = "https://github.com/vladimirvivien/ktop";
32 changelog = "https://github.com/vladimirvivien/ktop/releases/tag/v${version}";
33 license = licenses.asl20;
34 maintainers = [ maintainers.ivankovnatsky ];