blob: 69e8427be02794f3e28f0070e5c36e1b9f773715 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "k8sgpt";
version = "0.3.19";
src = fetchFromGitHub {
owner = "k8sgpt-ai";
repo = "k8sgpt";
rev = "v${version}";
hash = "sha256-yXlcTU0efgjcWy4nlhEIjd9dzErKyAW9gFhacOXv6pA=";
};
vendorHash = "sha256-/yibMktAzoUCGED8oJWmNZJxOY0UM0zMl4Qww6olOZY=";
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 ];
};
}
|