mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
29 lines
747 B
Nix
29 lines
747 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "powerline-go";
|
|
version = "1.22.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "justjanne";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-7QhW0Vn1u63N0fzSiX/vu0HNhFkoSFHXteJCrcFX+4Q=";
|
|
};
|
|
|
|
vendorSha256 = "sha256-+R+UwoYJ+KsV+jQj8+wfEsCAvezolsoPDNzCnGLzOEc=";
|
|
|
|
meta = with lib; {
|
|
description = "A Powerline like prompt for Bash, ZSH and Fish";
|
|
homepage = "https://github.com/justjanne/powerline-go";
|
|
changelog = "https://github.com/justjanne/powerline-go/releases/tag/v${version}";
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ sifmelcara ];
|
|
mainProgram = "powerline-go";
|
|
};
|
|
}
|