diff --git a/pkgs/applications/networking/cluster/kubecolor/default.nix b/pkgs/applications/networking/cluster/kubecolor/default.nix new file mode 100644 index 000000000000..8a3c2d12d1b9 --- /dev/null +++ b/pkgs/applications/networking/cluster/kubecolor/default.nix @@ -0,0 +1,23 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "kubecolor"; + version = "0.0.20"; + + src = fetchFromGitHub { + owner = "hidetatz"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-bKHEp9AxH1CcObhNzD3BkNOdyWZu7JrEdsXpo49wEcI="; + }; + + vendorSha256 = "sha256-C1K7iEugA4HBLthcOI7EZ6H4YHW6el8X6FjVN1BeJR0="; + + meta = with lib; { + description = "Colorizes kubectl output"; + homepage = "https://github.com/hidetatz/kubecolor"; + changelog = "https://github.com/hidetatz/kubecolor/releases/tag/v${version}"; + license = licenses.mit; + maintainers = [ maintainers.ivankovnatsky ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 60762177c3e9..aa72bfaef774 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -26293,6 +26293,8 @@ with pkgs; kubeconform = callPackage ../applications/networking/cluster/kubeconform { }; + kubecolor = callPackage ../applications/networking/cluster/kubecolor { }; + kubectl = callPackage ../applications/networking/cluster/kubectl { }; kubebuilder = callPackage ../applications/networking/cluster/kubebuilder { };