diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2021-11-19 13:16:11 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-19 13:16:11 -0300 |
commit | 1688438d2c079a3c18a0c7f470f7bbf7af9603f0 (patch) | |
tree | bd955b5cd5b872a11a20a5edf370ba7100cc9a96 /pkgs/shells | |
parent | bd12194cd29270be54539a037f1fa126416395ff (diff) | |
parent | e7e3480530b34a9fe8cb52963ec2cf66e6707e15 (diff) |
Merge pull request #146272 from KyleOndy/zsh-vi-mode
zsh-vi-mode: init at v0.8.5
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 0000000000000..32f1e9c024ac3 --- /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 ]; + }; +} |