commit
592a5ec754
32
pkgs/applications/networking/cluster/k8sgpt/default.nix
Normal file
32
pkgs/applications/networking/cluster/k8sgpt/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user