about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorfigsoda <figsoda@pm.me>2023-07-08 08:46:26 -0400
committerGitHub <noreply@github.com>2023-07-08 08:46:26 -0400
commitcc4859ab7091be304160c47fd540683a46dc3ea9 (patch)
tree6829fa6392fa05c766a2bef4762011b56cfa1bdd /pkgs/development
parent141f167f1430b4c712b73321c4f182261e88329c (diff)
parent51ef8a45e46ab3a3df3e7e0e64cb29bd40cb5f8c (diff)
Merge pull request #241936 from figsoda/complgen
complgen: init at unstable-2023-07-05
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/tools/misc/complgen/default.nix25
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 ];
+  };
+}