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