nixpkgs/pkgs/tools/networking/kail/default.nix

33 lines
748 B
Nix
Raw Normal View History

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