depot/third_party/nixpkgs/pkgs/by-name/ku/kubefetch/package.nix

26 lines
635 B
Nix

{
lib,
fetchFromGitHub,
buildGoModule,
}:
buildGoModule rec {
pname = "kubefetch";
version = "0.7.2";
src = fetchFromGitHub {
owner = "jkulzer";
repo = "kubefetch";
rev = "${version}";
hash = "sha256-ksnqlfm++Np5I7ZUXvVPgm3T2hHM6x9sAWdmK0Whn5k=";
};
vendorHash = "sha256-qsncOsCxepySJI+rJnzbIGxSWlxMzqShtzcEoJD2UPw=";
meta = {
description = "A neofetch-like tool to show info about your Kubernetes Cluster.";
homepage = "https://github.com/jkulzer/kubefetch";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ wrmilling ];
mainProgram = "kubefetch";
};
}