summaryrefslogtreecommitdiffstats
path: root/pkgs/shells
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2021-02-11 06:16:39 +0000
committerGitHub <noreply@github.com>2021-02-11 06:16:39 +0000
commit95e9af5e42fdf256c747b4d1705a00ea510194b4 (patch)
treeb93e5baaf495ec065312765eb960c8976ff23cbc /pkgs/shells
parent33590d354b1ab9f662977cb8c66bf052713bc1d1 (diff)
parent3f38ab888e131fa9304f76f6d7ab685f26efe4a7 (diff)
Merge staging-next into staging
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;
+ };
+}