summary refs log tree commit diff
path: root/pkgs/applications/editors/kakoune/plugins/kak-buffers.nix
blob: eaf20aeadf8e80eb15c9adee819fc72e98b21a8b (plain) (blame)
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-buffers";
  version = "2019-04-03";
  src = fetchFromGitHub {
    owner = "Delapouite";
    repo = "kakoune-buffers";
    rev = "3b35b23ac2be661a37c085d34dd04d066450f757";
    sha256 = "0f3g0v1sjinii3ig9753jjj35v2km4h9bcfw9xgzwz8b10d75bax";
  };

  installPhase = ''
    mkdir -p $out/share/kak/autoload/plugins
    cp -r buffers.kak $out/share/kak/autoload/plugins
  '';

  meta = with stdenv.lib;
  { description = "Ease navigation between opened buffers in Kakoune";
    homepage = "https://github.com/Delapouite/kakoune-buffers";
    license = licenses.mit;
    maintainers = with maintainers; [ nrdxp ];
    platform = platforms.all;
  };
}