7 rustPlatform.buildRustPackage rec {
11 src = fetchFromGitHub {
15 hash = "sha256-bF+NTiPrqWD1B/v44+XuxXotOPhUBCYyg6h+T/ydmGM=";
18 cargoHash = "sha256-T6NfjlHQhHwfcAnmr8R2WWXVKgMZZXFq6IvlvWOVACg=";
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";
31 homepage = "https://github.com/sigoden/argc";
32 changelog = "https://github.com/sigoden/argc/releases/tag/v${version}";
33 license = with licenses; [ mit /* or */ asl20 ];
34 maintainers = with maintainers; [ figsoda ];