summary refs log tree commit diff
path: root/pkgs/applications/editors/kakoune/plugins/kak-vertical-selection.nix
blob: 7658ba0f7adafaf52a64dde8ecbdb040f3c3d135 (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-vertical-selection";
  version = "2019-04-11";
  src = fetchFromGitHub {
    owner = "occivink";
    repo = "kakoune-vertical-selection";
    rev = "c420f8b867ce47375fac303886e31623669a42b7";
    sha256 = "13jdyd2j45wvgqvxdzw9zww14ly93bqjb6700zzxj7mkbiff6wsb";
  };

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

  meta = with stdenv.lib;
  { description = "Select up and down lines that match the same pattern in Kakoune";
    homepage = "https://github.com/occivink/kakoune-vertical-selection";
    license = licenses.unlicense;
    maintainers = with maintainers; [ nrdxp ];
    platform = platforms.all;
  };
}