7 rustPlatform.buildRustPackage rec {
11 src = fetchFromGitHub {
15 hash = "sha256-Li/K5/SLG6JuoRJDz2DQoj1Oi9LQgZWHNvtZ1HVbj88=";
18 cargoHash = "sha256-D1T9FWTvwKtAYoqFlR2OmLRLGWhPJ9D8J7lq/QKcBoM=";
20 nativeBuildInputs = [ installShellFiles ];
23 installShellCompletion --cmd argc \
24 --bash <($out/bin/argc --argc-completions bash) \
25 --fish <($out/bin/argc --argc-completions fish) \
26 --zsh <($out/bin/argc --argc-completions zsh)
30 description = "A command-line options, arguments and sub-commands parser for bash";
32 homepage = "https://github.com/sigoden/argc";
33 changelog = "https://github.com/sigoden/argc/releases/tag/v${version}";
34 license = with licenses; [ mit /* or */ asl20 ];
35 maintainers = with maintainers; [ figsoda ];