summaryrefslogtreecommitdiffstats
path: root/pkgs/shells
diff options
context:
space:
mode:
authorqq <0qqw0qqw@gmail.com>2021-02-10 17:37:17 +0300
committerqq <0qqw0qqw@gmail.com>2021-02-10 19:04:09 +0300
commitd3790990b88c18e7e249586eb7be9ed9ffb799af (patch)
treeb86a57b98b7fe7f53c1f4277539017d4845a6e28 /pkgs/shells
parent245e2b0f58243213dfa2143f004a9d1449ce67f5 (diff)
zsh-autopair: init at 1.0
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/zsh/zsh-autopair/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/shells/zsh/zsh-autopair/default.nix b/pkgs/shells/zsh/zsh-autopair/default.nix
new file mode 100644
index 000000000000..0cc1535e53ae
--- /dev/null
+++ b/pkgs/shells/zsh/zsh-autopair/default.nix
@@ -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;
+ };
+}