1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-26 07:43:45 +01:00
github.com-tboerger-nixos-c.../overlays/kubectl-ktop/default.nix
2022-12-04 01:15:24 +01:00

30 lines
703 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubectl-ktop";
version = "0.3.0";
src = fetchFromGitHub {
owner = "vladimirvivien";
repo = "ktop";
rev = "v${version}";
sha256 = "sha256-9TKXOKGsxtmyTGGVq7GDy4v3I9BF5SDc48dhrj1pw9Q=";
};
vendorSha256 = "sha256-IbWdq6t9tgly7MRRIRJK5sDHus+sF0AT843aI4quO3c=";
doCheck = false;
subPackages = [ "." ];
postInstall = ''
mv $out/bin/ktop $out/bin/kubectl-ktop
'';
meta = with lib; {
description = "A top-like tool for your Kubernetes clusters";
homepage = "https://github.com/vladimirvivien/ktop/";
license = licenses.asl20;
maintainers = with maintainers; [ tboerger ];
};
}