zsh-autopair: init at 1.0

This commit is contained in:
qq 2021-02-10 17:37:17 +03:00
parent 245e2b0f58
commit d3790990b8
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "zsh-autopair";
version = "1.0";
src = fetchFromGitHub {
owner = "hlissner";
repo = "zsh-autopair";
rev = "v${version}";
sha256 = "1h0vm2dgrmb8i2pvsgis3lshc5b0ad846836m62y8h3rdb3zmpy1";
};
installPhase = ''
install -D autopair.zsh $out/share/zsh/${pname}/autopair.zsh
'';
meta = with lib; {
homepage = "https://github.com/hlissner/zsh-autopair";
description = "A plugin that auto-closes, deletes and skips over matching delimiters in zsh intelligently";
license = licenses.mit;
maintainers = with maintainers; [ _0qq ];
platforms = platforms.all;
};
}

View File

@ -9244,6 +9244,8 @@ in
zsh-autoenv = callPackage ../tools/misc/zsh-autoenv { };
zsh-autopair = callPackage ../shells/zsh/zsh-autopair { };
zsh-bd = callPackage ../shells/zsh/zsh-bd { };
zsh-git-prompt = callPackage ../shells/zsh/zsh-git-prompt { };