2021-12-06 16:07:01 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zsh-vi-mode";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "0.9.0";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jeffreytse";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-11-21 17:40:18 +00:00
|
|
|
sha256 = "sha256-KQ7UKudrpqUwI6gMluDTVN0qKpB15PI5P1YHHCBIlpg=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
strictDeps = true;
|
2021-12-06 16:07:01 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|