2021-02-22 21:28:39 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "powerline-go";
|
2021-07-21 07:28:18 +00:00
|
|
|
version = "unstable-2021-07-15";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "justjanne";
|
|
|
|
repo = pname;
|
2021-07-21 07:28:18 +00:00
|
|
|
rev = "f27435b26b5001c52ffb1aee454572c59494c81b";
|
|
|
|
sha256 = "sha256-YB/WMprjXA5ZN6baT5nWahNj0xwbP8kzS7X/1tCwWiE=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
vendorSha256 = "sha256-HYF6aKz+P241EKmupEoretadlrh9FBRx6nIER66jofg=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A Powerline like prompt for Bash, ZSH and Fish";
|
2021-02-22 21:28:39 +00:00
|
|
|
homepage = "https://github.com/justjanne/powerline-go";
|
|
|
|
changelog = "https://github.com/justjanne/powerline-go/releases/tag/v${version}";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ sifmelcara ];
|
2021-10-09 14:59:57 +00:00
|
|
|
mainProgram = "powerline-go";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2020-08-20 17:08:02 +00:00
|
|
|
}
|