depot/third_party/nixpkgs/pkgs/shells/zsh/zsh-vi-mode/default.nix
Default email 01ed8ef136 Project import generated by Copybara.
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
2022-11-21 19:40:18 +02:00

28 lines
651 B
Nix

{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "zsh-vi-mode";
version = "0.9.0";
src = fetchFromGitHub {
owner = "jeffreytse";
repo = pname;
rev = "v${version}";
sha256 = "sha256-KQ7UKudrpqUwI6gMluDTVN0qKpB15PI5P1YHHCBIlpg=";
};
strictDeps = true;
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 ];
};
}