mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
29 lines
651 B
Nix
29 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 ];
|
|
};
|
|
}
|