Unverified Commit 592a5ec7 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #230061 from kranurag7/k8sgpt

k8sgpt: init at 0.3.5
parents 8b8a64d7 a4c6fca3
Loading
Loading
Loading
Loading
+32 −0
Original line number Diff line number Diff line
{ lib, buildGoModule, fetchFromGitHub }:

buildGoModule rec {
  pname = "k8sgpt";
  version = "0.3.5";

  src = fetchFromGitHub {
    owner = "k8sgpt-ai";
    repo = "k8sgpt";
    rev = "v${version}";
    hash = "sha256-AUUcC9S1+83ZlOH/LEG+QXstxpr8949JbqFMF9hIiVE=";
  };

  vendorHash = "sha256-tXLt18ryxO9Q7E/MJWDlZy1gmxnMauqfcbmRdF9uUt8=";

  CGO_ENABLED = 0;

  ldflags = [
    "-s" "-w"
    "-X main.version=v${version}"
    "-X main.commit=${src.rev}"
    "-X main.date=1970-01-01-00:00:01"
  ];

  meta = with lib; {
    description = "Giving Kubernetes Superpowers to everyone";
    homepage = "https://k8sgpt.ai";
    changelog = "https://github.com/k8sgpt-ai/k8sgpt/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [ developer-guy kranurag7 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -32027,6 +32027,8 @@ with pkgs;
  kubelogin-oidc = callPackage ../applications/networking/cluster/kubelogin-oidc { };
  k8sgpt = callPackage ../applications/networking/cluster/k8sgpt { };
  k9s = callPackage ../applications/networking/cluster/k9s { };
  kubecm = callPackage ../applications/networking/cluster/kubecm { };