aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/editors/kakoune/plugins/kak-auto-pairs.nix
blob: 512f1f09207baac9c5fc7ab11ca815df0ef236e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
  name = "kak-auto-pairs";
  version = "2019-07-27";
  src = fetchFromGitHub {
    owner = "alexherbo2";
    repo = "auto-pairs.kak";
    rev = "886449b1a04d43e5deb2f0ef4b1aead6084c7a5f";
    sha256 = "0knfhdvslzw1f1r1k16733yhkczrg3yijjz6n2qwira84iv3239j";
  };

  installPhase = ''
    mkdir -p $out/share/kak/autoload/plugins
    cp -r rc $out/share/kak/autoload/plugins/auto-pairs
  '';

  meta = with stdenv.lib;
  { description = "Kakoune extension to enable automatic closing of pairs";
    homepage = "https://github.com/alexherbo2/auto-pairs.kak";
    license = licenses.unlicense;
    maintainers = with maintainers; [ nrdxp ];
    platform = platforms.all;
  };
}