mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
e7e3480530
Adding [zsh-vi-mode] at version `0.8.5`. [zsh-vi-mode]: https://github.com/jeffreytse/zsh-vi-mod
28 lines
623 B
Nix
28 lines
623 B
Nix
{ 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 ];
|
|
};
|
|
}
|