diff options
Diffstat (limited to 'pkgs/development/compilers/zig/shell-completions.nix')
-rw-r--r-- | pkgs/development/compilers/zig/shell-completions.nix | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/pkgs/development/compilers/zig/shell-completions.nix b/pkgs/development/compilers/zig/shell-completions.nix deleted file mode 100644 index 44773cf9a553e..0000000000000 --- a/pkgs/development/compilers/zig/shell-completions.nix +++ /dev/null @@ -1,42 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, installShellFiles -, unstableGitUpdater -}: - -stdenv.mkDerivation (finalAttrs: { - pname = "zig-shell-completions"; - version = "0-unstable-2023-11-18"; - - src = fetchFromGitHub { - owner = "ziglang"; - repo = "shell-completions"; - rev = "31d3ad12890371bf467ef7143f5c2f31cfa7b7c1"; - hash = "sha256-ID/K0vdg7BTKGgozISk/X4RBxCVfhSkVD6GSZUoP9Ls="; - }; - - nativeBuildInputs = [ installShellFiles ]; - - dontConfigure = true; - dontBuild = true; - - installPhase = '' - runHook preInstall - - installShellCompletion --bash --name zig.bash _zig.bash - installShellCompletion --zsh --name _zig _zig - - runHook postInstall - ''; - - passthru.updateScript = unstableGitUpdater { }; - - meta = { - homepage = "https://github.com/ziglang/shell-completions"; - description = "Shell completions for the Zig compiler"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ aaronjheng ]; - platforms = lib.platforms.all; - }; -}) |