2021-02-13 14:23:35 +00:00
|
|
|
{ stdenv, lib, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "zsh-autopair";
|
|
|
|
version = "1.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hlissner";
|
|
|
|
repo = "zsh-autopair";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1h0vm2dgrmb8i2pvsgis3lshc5b0ad846836m62y8h3rdb3zmpy1";
|
|
|
|
};
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
strictDeps = true;
|
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
installPhase = ''
|
|
|
|
install -D autopair.zsh $out/share/zsh/${pname}/autopair.zsh
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/hlissner/zsh-autopair";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Plugin that auto-closes, deletes and skips over matching delimiters in zsh intelligently";
|
2021-02-13 14:23:35 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ _0qq ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|