mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
30 lines
680 B
Nix
30 lines
680 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zsh-vi-mode";
|
|
version = "0.11.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jeffreytse";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-xbchXJTFWeABTwq6h4KWLh+EvydDrDzcY9AQVK65RS8=";
|
|
};
|
|
|
|
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 = "Better and friendly vi(vim) mode plugin for ZSH";
|
|
maintainers = with maintainers; [ kyleondy ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|