kubetail: 1.6.13 -> 1.6.16
This commit is contained in:
parent
9bbb7fb635
commit
e3b2e0294d
1 changed files with 9 additions and 7 deletions
|
@ -1,21 +1,23 @@
|
||||||
{ stdenv, fetchFromGitHub, lib, ... }:
|
{ stdenv, fetchFromGitHub, lib, installShellFiles, makeWrapper, kubectl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "kubetail";
|
pname = "kubetail";
|
||||||
version = "1.6.13";
|
version = "1.6.16";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "johanhaleby";
|
owner = "johanhaleby";
|
||||||
repo = "kubetail";
|
repo = "kubetail";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-EkOewNInzEEEgMOffYoRaKwhgYuBXgHaCkVgWg2mIDE=";
|
sha256 = "sha256-kkbhhAaiKP01LR7F5JVMgy6Ujji8JDc+Aaho1vft3XQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -Dm755 kubetail "$out/bin/kubetail"
|
install -Dm755 kubetail "$out/bin/kubetail"
|
||||||
install -Dm755 completion/kubetail.bash "$out/share/bash-completion/completions/kubetail"
|
wrapProgram $out/bin/kubetail --prefix PATH : ${lib.makeBinPath [ kubectl ]}
|
||||||
install -Dm755 completion/kubetail.fish "$out/share/fish/vendor_completions.d/kubetail.fish"
|
|
||||||
install -Dm755 completion/kubetail.zsh "$out/share/zsh/site-functions/_kubetail"
|
installShellCompletion completion/kubetail.{bash,fish,zsh}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue