8 pname = "opensearch-cli";
10 src = fetchFromGitHub {
11 repo = "opensearch-cli";
12 owner = "opensearch-project";
14 hash = "sha256-Ah64a9hpc2tnIXiwxg/slE6fUTAoHv9koNmlUHrVj/s=";
17 vendorHash = "sha256-r3Bnud8pd0Z9XmGkj9yxRW4U/Ry4U8gvVF4pAdN14lQ=";
19 nativeBuildInputs = [ installShellFiles ];
22 export HOME="$(mktemp -d)"
23 installShellCompletion --cmd opensearch-cli \
24 --bash <($out/bin/opensearch-cli completion bash) \
25 --zsh <($out/bin/opensearch-cli completion zsh) \
26 --fish <($out/bin/opensearch-cli completion fish)
30 description = "Full-featured command line interface (CLI) for OpenSearch";
31 homepage = "https://github.com/opensearch-project/opensearch-cli";
32 license = lib.licenses.asl20;
33 mainProgram = "opensearch-cli";
34 maintainers = with lib.maintainers; [ shyim ];
35 platforms = lib.platforms.unix;
36 sourceProvenance = with lib.sourceTypes; [ fromSource ];