yq-go: adopt

main
Sandro Jäckel 2 years ago
parent e0a42267f7
commit 55295e0fe9
No known key found for this signature in database
GPG Key ID: B1763F8651144063
  1. 12
      pkgs/development/tools/yq-go/default.nix

@ -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…
Cancel
Save