2021-11-19 10:00:43 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-07-10 11:19:56 +01:00
|
|
|
|
2021-11-19 10:00:43 +00:00
|
|
|
buildGoModule rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "kail";
|
2024-01-24 03:55:55 +00:00
|
|
|
version = "0.17.4";
|
2018-07-10 11:19:56 +01:00
|
|
|
|
2021-11-19 10:00:43 +00:00
|
|
|
ldflags = [
|
|
|
|
"-s"
|
|
|
|
"-w"
|
|
|
|
"-X main.version=${version}"
|
|
|
|
];
|
2018-07-10 11:19:56 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "boz";
|
|
|
|
repo = "kail";
|
|
|
|
rev = "v${version}";
|
2024-01-24 03:55:55 +00:00
|
|
|
sha256 = "sha256-G8U7UEYhgkcFbKeHOjbpf9AY6NW0hBgv6aARuzapE3M=";
|
2018-07-10 11:19:56 +01:00
|
|
|
};
|
|
|
|
|
2024-01-24 03:55:55 +00:00
|
|
|
vendorHash = "sha256-u6/LsLphaqYswJkAuqgrgknnm+7MnaeH+kf9BPcdtrc=";
|
2018-07-10 11:19:56 +01:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-07-10 11:19:56 +01:00
|
|
|
description = "Kubernetes log viewer";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/boz/kail";
|
2018-07-10 11:19:56 +01:00
|
|
|
license = licenses.mit;
|
2018-09-28 19:07:11 +01:00
|
|
|
maintainers = with maintainers; [ offline vdemeester ];
|
2024-02-11 02:19:15 +00:00
|
|
|
mainProgram = "kail";
|
2018-07-10 11:19:56 +01:00
|
|
|
};
|
|
|
|
}
|