nixpkgs-suyu/pkgs/applications/editors/kakoune/plugins/kak-auto-pairs.nix
Timothy DeHerrera 0b32fe2d7e kakounePlugins: Add 5 kakoune plugins (#67593)
* kakounePlugins: Add 5 kakoune plugins

Should be compatible with
https://github.com/NixOS/nixpkgs/pull/64310

* kak-auto-pairs: for automatic closing of pairs
* kak-buffers: for easier buffer management
* kak-fzf: for fzf integration
* kak-powerline: for a prettier modeline
* kak-vertical-selection: for easy vertical selections

* kakounePlugins: alphabetize package list

* kakounePlugins.kak-fzf: add ability to choose between fzf/skim

* kakounePlugins.kak-powerline: substitute full path to git binary
2019-09-03 22:54:37 +02:00

24 lines
727 B
Nix

{ 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.publicDoman;
maintainers = with maintainers; [ nrdxp ];
platform = platforms.all;
};
}