2021-01-23 10:58:07 -08:00
|
|
|
{ stdenv, git, fetchFromGitHub, lib }:
|
2019-09-03 13:54:37 -07:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "kak-powerline";
|
2020-08-27 04:38:56 -07:00
|
|
|
version = "2020-08-22";
|
2019-09-03 13:54:37 -07:00
|
|
|
src = fetchFromGitHub {
|
2020-08-27 04:38:56 -07:00
|
|
|
owner = "jdugan6240";
|
2019-09-03 13:54:37 -07:00
|
|
|
repo = "powerline.kak";
|
2020-08-27 04:38:56 -07:00
|
|
|
rev = "d641b2cd8024f872bcda23f9256e7aff36da02ae";
|
|
|
|
sha256 = "65948f5ef3ab2f46f6d186ad752665c251d887631d439949decc2654a67958a4";
|
2019-09-03 13:54:37 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
substituteInPlace rc/modules/git.kak \
|
|
|
|
--replace \'git\' \'${git}/bin/git\'
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/kak/autoload/plugins
|
|
|
|
cp -r rc $out/share/kak/autoload/plugins/powerline
|
|
|
|
'';
|
|
|
|
|
2021-01-15 05:21:58 -08:00
|
|
|
meta = with lib;
|
2019-09-03 13:54:37 -07:00
|
|
|
{ description = "Kakoune modeline, but with passion";
|
2020-08-27 04:38:56 -07:00
|
|
|
homepage = "https://github.com/jdugan6240/powerline.kak";
|
2019-10-07 07:54:32 -07:00
|
|
|
license = licenses.mit;
|
2019-09-03 13:54:37 -07:00
|
|
|
maintainers = with maintainers; [ nrdxp ];
|
|
|
|
platform = platforms.all;
|
|
|
|
};
|
|
|
|
}
|