2021-02-21 09:12:54 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2018-03-05 11:51:44 +00:00
|
|
|
|
2019-07-04 05:14:37 +01:00
|
|
|
buildGoModule rec {
|
2018-03-05 11:51:44 +00:00
|
|
|
pname = "powerline-go";
|
2022-04-21 03:17:36 +01:00
|
|
|
version = "1.22.1";
|
2018-03-05 11:51:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "justjanne";
|
|
|
|
repo = pname;
|
2022-04-21 03:17:36 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "sha256-7QhW0Vn1u63N0fzSiX/vu0HNhFkoSFHXteJCrcFX+4Q=";
|
2018-03-05 11:51:44 +00:00
|
|
|
};
|
|
|
|
|
2022-04-21 03:17:36 +01:00
|
|
|
vendorSha256 = "sha256-+R+UwoYJ+KsV+jQj8+wfEsCAvezolsoPDNzCnGLzOEc=";
|
2018-03-05 11:51:44 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-03-05 11:51:44 +00:00
|
|
|
description = "A Powerline like prompt for Bash, ZSH and Fish";
|
2021-02-21 09:12:54 +00:00
|
|
|
homepage = "https://github.com/justjanne/powerline-go";
|
|
|
|
changelog = "https://github.com/justjanne/powerline-go/releases/tag/v${version}";
|
|
|
|
license = licenses.gpl3Plus;
|
2018-03-05 11:51:44 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ sifmelcara ];
|
2021-10-08 20:33:25 +01:00
|
|
|
mainProgram = "powerline-go";
|
2018-03-05 11:51:44 +00:00
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|