1 { lib, rustPlatform, fetchFromGitHub, installShellFiles }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-Y6qXxnjep9AF3aAW6EZNx4dghMH3BSw8ExpNhTVH1QI=";
14 cargoSha256 = "sha256-Wr+sUtxxdmY6l+sMAcQGR3Zmqvj8qybC74o9ipkwTMk=";
16 nativeBuildInputs = [ installShellFiles ];
19 installShellCompletion completions/argc.{bash,zsh}
23 description = "A tool to handle sh/bash cli parameters";
24 homepage = "https://github.com/sigoden/argc";
25 license = with licenses; [ mit /* or */ asl20 ];
26 maintainers = with maintainers; [ figsoda ];