bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
27 lines
700 B
Nix
27 lines
700 B
Nix
{ stdenv, lib, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "zsh-autopair";
|
|
version = "1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hlissner";
|
|
repo = "zsh-autopair";
|
|
rev = "v${version}";
|
|
sha256 = "1h0vm2dgrmb8i2pvsgis3lshc5b0ad846836m62y8h3rdb3zmpy1";
|
|
};
|
|
|
|
strictDeps = true;
|
|
|
|
installPhase = ''
|
|
install -D autopair.zsh $out/share/zsh/${pname}/autopair.zsh
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/hlissner/zsh-autopair";
|
|
description = "Plugin that auto-closes, deletes and skips over matching delimiters in zsh intelligently";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ _0qq ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|