kubetail: 1.6.13 -> 1.6.16

This commit is contained in:
Aaron Jheng 2022-11-10 10:39:16 +00:00
parent 9bbb7fb635
commit e3b2e0294d
No known key found for this signature in database
GPG key ID: F6A547A869D050A3

View file

@ -1,21 +1,23 @@
{ stdenv, fetchFromGitHub, lib, ... }:
{ stdenv, fetchFromGitHub, lib, installShellFiles, makeWrapper, kubectl }:
stdenv.mkDerivation rec {
pname = "kubetail";
version = "1.6.13";
version = "1.6.16";
src = fetchFromGitHub {
owner = "johanhaleby";
repo = "kubetail";
rev = version;
sha256 = "sha256-EkOewNInzEEEgMOffYoRaKwhgYuBXgHaCkVgWg2mIDE=";
sha256 = "sha256-kkbhhAaiKP01LR7F5JVMgy6Ujji8JDc+Aaho1vft3XQ=";
};
nativeBuildInputs = [ installShellFiles makeWrapper ];
installPhase = ''
install -Dm755 kubetail "$out/bin/kubetail"
install -Dm755 completion/kubetail.bash "$out/share/bash-completion/completions/kubetail"
install -Dm755 completion/kubetail.fish "$out/share/fish/vendor_completions.d/kubetail.fish"
install -Dm755 completion/kubetail.zsh "$out/share/zsh/site-functions/_kubetail"
install -Dm755 kubetail "$out/bin/kubetail"
wrapProgram $out/bin/kubetail --prefix PATH : ${lib.makeBinPath [ kubectl ]}
installShellCompletion completion/kubetail.{bash,fish,zsh}
'';
meta = with lib; {