k8sgpt: init at 0.3.5
Signed-off-by: GitHub <contact.anurag7@gmail.com> update to 0.3.5 Co-authored-by: Ivan Kovnatsky <75213+ivankovnatsky@users.noreply.github.com> update sha256 as per 0.3.5 Co-authored-by: Ivan Kovnatsky <75213+ivankovnatsky@users.noreply.github.com> update vendorhash Co-authored-by: Ivan Kovnatsky <75213+ivankovnatsky@users.noreply.github.com> remove extra lines Co-authored-by: Ivan Kovnatsky <75213+ivankovnatsky@users.noreply.github.com> add changelog Co-authored-by: Ivan Kovnatsky <75213+ivankovnatsky@users.noreply.github.com> update ldflags Co-authored-by: Ivan Kovnatsky <75213+ivankovnatsky@users.noreply.github.com> add developer-guy as maintainer for k8sgpt Signed-off-by: Anurag <contact.anurag7@gmail.com> update to hash and vendorhash Signed-off-by: Anurag <contact.anurag7@gmail.com> fix typo Co-authored-by: Emily <git@emilylange.de>
This commit is contained in:
parent
7091454bd1
commit
a4c6fca320
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 ];
|
||||
};
|
||||
}
|
|
@ -31680,6 +31680,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 a new issue