3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/powerline-go/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
747 B
Nix
Raw Normal View History

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";
version = "1.22.1";
2018-03-05 11:51:44 +00:00
src = fetchFromGitHub {
owner = "justjanne";
repo = pname;
rev = "v${version}";
sha256 = "sha256-7QhW0Vn1u63N0fzSiX/vu0HNhFkoSFHXteJCrcFX+4Q=";
2018-03-05 11:51:44 +00:00
};
vendorSha256 = "sha256-+R+UwoYJ+KsV+jQj8+wfEsCAvezolsoPDNzCnGLzOEc=";
2018-03-05 11:51:44 +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
};
}