2018-07-10 12:19:56 +02:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "kail-${version}";
|
2018-09-28 20:07:11 +02:00
|
|
|
version = "0.7.0";
|
2018-07-10 12:19:56 +02:00
|
|
|
|
|
|
|
goPackagePath = "github.com/boz/kail";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "boz";
|
|
|
|
repo = "kail";
|
|
|
|
rev = "v${version}";
|
2018-09-28 20:07:11 +02:00
|
|
|
sha256 = "0j0948wjn0jsk89fp0l29pd90n86wi85yghrbdhwihhgyqcdmhi0";
|
2018-07-10 12:19:56 +02: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
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Kubernetes log viewer";
|
|
|
|
homepage = https://github.com/boz/kail;
|
|
|
|
license = licenses.mit;
|
2018-09-28 20:07:11 +02:00
|
|
|
maintainers = with maintainers; [ offline vdemeester ];
|
2018-07-10 12:19:56 +02:00
|
|
|
};
|
|
|
|
}
|