17c12a8cd2
Updating to the latest release and switching to go modules. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
28 lines
617 B
Nix
28 lines
617 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "kail";
|
|
version = "0.15.0";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X main.version=${version}"
|
|
];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "boz";
|
|
repo = "kail";
|
|
rev = "v${version}";
|
|
sha256 = "0b4abzk8lc5qa04ywkl8b5hb9jmxhyi2dpgbl27gmw81525wjnj7";
|
|
};
|
|
|
|
vendorSha256 = "09s7sq23hglcb2rsi9igzql39zs4238f3jfmvxz9a8v41da225np";
|
|
|
|
meta = with lib; {
|
|
description = "Kubernetes log viewer";
|
|
homepage = "https://github.com/boz/kail";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ offline vdemeester ];
|
|
};
|
|
}
|