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";
|
2021-11-19 10:00:43 +00:00
|
|
|
version = "0.15.0";
|
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}";
|
2021-11-19 10:00:43 +00:00
|
|
|
sha256 = "0b4abzk8lc5qa04ywkl8b5hb9jmxhyi2dpgbl27gmw81525wjnj7";
|
2018-07-10 11:19:56 +01:00
|
|
|
};
|
|
|
|
|
2021-11-19 10:00:43 +00:00
|
|
|
vendorSha256 = "09s7sq23hglcb2rsi9igzql39zs4238f3jfmvxz9a8v41da225np";
|
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 ];
|
2018-07-10 11:19:56 +01:00
|
|
|
};
|
|
|
|
}
|