mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
29 lines
741 B
Nix
29 lines
741 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "powerline-go";
|
|
version = "1.24";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "justjanne";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-3IeyxAc+FRcVsL9AiVr6Jku5f5y3MTT9SXwVQW9MkNo=";
|
|
};
|
|
|
|
vendorHash = "sha256-W7Lf9s689oJy4U5sQlkLt3INJwtvzU2pot3EFimp7Jw=";
|
|
|
|
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";
|
|
};
|
|
}
|