diff options
Diffstat (limited to 'pkgs/development/tools/misc/complgen/default.nix')
-rw-r--r-- | pkgs/development/tools/misc/complgen/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/complgen/default.nix b/pkgs/development/tools/misc/complgen/default.nix new file mode 100644 index 0000000000000..ab091655dd56c --- /dev/null +++ b/pkgs/development/tools/misc/complgen/default.nix @@ -0,0 +1,25 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: + +rustPlatform.buildRustPackage { + pname = "complgen"; + version = "unstable-2023-07-05"; + + src = fetchFromGitHub { + owner = "adaszko"; + repo = "complgen"; + rev = "e23474c3bd4544a8e6f7b51947616dbdb18fe1dd"; + hash = "sha256-Ura4/yMLVRlgTiNiXNPMtKu4cPWge0bLQp/n+tgeDiM="; + }; + + cargoHash = "sha256-P7wHKrRUVlrLAaLYhVH/p3oOc7UCGP3aQZotVxyeJTs="; + + meta = with lib; { + description = "Generate {bash,fish,zsh} completions from a single EBNF-like grammar"; + homepage = "https://github.com/adaszko/complgen"; + license = licenses.asl20; + maintainers = with maintainers; [ figsoda ]; + }; +} |