diff options
Diffstat (limited to 'pkgs/development/tools/argc/default.nix')
-rw-r--r-- | pkgs/development/tools/argc/default.nix | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/pkgs/development/tools/argc/default.nix b/pkgs/development/tools/argc/default.nix deleted file mode 100644 index 89ee93b1c5d86..0000000000000 --- a/pkgs/development/tools/argc/default.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ lib -, rustPlatform -, fetchFromGitHub -, installShellFiles -}: - -rustPlatform.buildRustPackage rec { - pname = "argc"; - version = "1.14.0"; - - src = fetchFromGitHub { - owner = "sigoden"; - repo = pname; - rev = "v${version}"; - hash = "sha256-Li/K5/SLG6JuoRJDz2DQoj1Oi9LQgZWHNvtZ1HVbj88="; - }; - - cargoHash = "sha256-D1T9FWTvwKtAYoqFlR2OmLRLGWhPJ9D8J7lq/QKcBoM="; - - nativeBuildInputs = [ installShellFiles ]; - - postInstall = '' - installShellCompletion --cmd argc \ - --bash <($out/bin/argc --argc-completions bash) \ - --fish <($out/bin/argc --argc-completions fish) \ - --zsh <($out/bin/argc --argc-completions zsh) - ''; - - meta = with lib; { - description = "A command-line options, arguments and sub-commands parser for bash"; - mainProgram = "argc"; - homepage = "https://github.com/sigoden/argc"; - changelog = "https://github.com/sigoden/argc/releases/tag/v${version}"; - license = with licenses; [ mit /* or */ asl20 ]; - maintainers = with maintainers; [ figsoda ]; - }; -} |