diff options
author | Kyle Ondy <kyle@ondy.org> | 2021-11-16 11:17:17 -0500 |
---|---|---|
committer | Kyle Ondy <kyle@ondy.org> | 2021-11-19 11:10:09 -0500 |
commit | e7e3480530b34a9fe8cb52963ec2cf66e6707e15 (patch) | |
tree | 7fbece6575dfd26c7cbb7b082eff77f74267da58 /pkgs/shells | |
parent | 010258a61eb88417c74ab6e79eb6deaa2da647b2 (diff) |
zsh-vi-mode: init at v0.8.5
Adding [zsh-vi-mode] at version `0.8.5`.
[zsh-vi-mode]: https://github.com/jeffreytse/zsh-vi-mod
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/zsh/zsh-vi-mode/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/shells/zsh/zsh-vi-mode/default.nix b/pkgs/shells/zsh/zsh-vi-mode/default.nix new file mode 100644 index 000000000000..32f1e9c024ac --- /dev/null +++ b/pkgs/shells/zsh/zsh-vi-mode/default.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "zsh-vi-mode"; + version = "0.8.5"; + + src = fetchFromGitHub { + owner = "jeffreytse"; + repo = pname; + rev = "v${version}"; + sha256 = "EOYqHh0rcgoi26eopm6FTl81ehak5kXMmzNcnJDH8/E="; + }; + + dontBuild = true; + + installPhase = '' + mkdir -p $out/share/${pname} + cp *.zsh $out/share/${pname}/ + ''; + + meta = with lib; { + homepage = "https://github.com/jeffreytse/zsh-vi-mode"; + license = licenses.mit; + description = "A better and friendly vi(vim) mode plugin for ZSH."; + maintainers = with maintainers; [ kyleondy ]; + }; +} |