yq-go: adopt
This commit is contained in:
parent
e0a42267f7
commit
55295e0fe9
@ -16,10 +16,10 @@ buildGoModule rec {
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
postInstall = ''
|
||||
for shell in bash fish zsh; do
|
||||
$out/bin/yq shell-completion $shell > yq.$shell
|
||||
installShellCompletion yq.$shell
|
||||
done
|
||||
installShellCompletion --cmd yq \
|
||||
--bash <($out/bin/yq shell-completion bash) \
|
||||
--fish <($out/bin/yq shell-completion fish) \
|
||||
--zsh <($out/bin/yq shell-completion zsh)
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
@ -32,8 +32,8 @@ buildGoModule rec {
|
||||
meta = with lib; {
|
||||
description = "Portable command-line YAML processor";
|
||||
homepage = "https://mikefarah.gitbook.io/yq/";
|
||||
license = [ licenses.mit ];
|
||||
maintainers = [ maintainers.lewo ];
|
||||
mainProgram = "yq";
|
||||
license = [ licenses.mit ];
|
||||
maintainers = with maintainers; [ lewo SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user