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";
|
2021-02-21 02:53:14 +00:00
|
|
|
version = "1.21.0";
|
2018-03-05 11:51:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "justjanne";
|
|
|
|
repo = pname;
|
2019-07-04 05:14:37 +01:00
|
|
|
rev = "v${version}";
|
2021-02-21 02:53:14 +00:00
|
|
|
sha256 = "sha256-IO3I5lvPdN73EF+S5Xo+TMEYaBtd1pOGMs+aQtRnHjE=";
|
2018-03-05 11:51:44 +00:00
|
|
|
};
|
|
|
|
|
2021-01-20 23:50:13 +00:00
|
|
|
vendorSha256 = "sha256-HYF6aKz+P241EKmupEoretadlrh9FBRx6nIER66jofg=";
|
2018-03-05 11:51:44 +00:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
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 ];
|
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|