2018-07-10 11:19:56 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "kail";
|
2019-03-14 16:24:26 +00:00
|
|
|
version = "0.8.0";
|
2018-07-10 11:19:56 +01:00
|
|
|
|
|
|
|
goPackagePath = "github.com/boz/kail";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "boz";
|
|
|
|
repo = "kail";
|
|
|
|
rev = "v${version}";
|
2019-03-14 16:24:26 +00:00
|
|
|
sha256 = "0ibk7j40pj6f2086qcnwp998wld61d2gvrv7yiy6hlkalhww2pq7";
|
2018-07-10 11:19:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# regenerate deps.nix using following steps:
|
|
|
|
#
|
|
|
|
# go get -u github.com/boz/kail
|
|
|
|
# cd $GOPATH/src/github.com/boz/kail
|
|
|
|
# git checkout <version>
|
|
|
|
# dep init
|
|
|
|
# dep2nix
|
2020-08-31 10:59:33 +01:00
|
|
|
deleteVendor = true;
|
2018-07-10 11:19:56 +01:00
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|