nixpkgs/pkgs/tools/misc/powerline-go/default.nix

23 lines
570 B
Nix
Raw Normal View History

2019-07-03 21:14:37 -07:00
{ stdenv, buildGoModule, fetchFromGitHub }:
2018-03-05 03:51:44 -08:00
2019-07-03 21:14:37 -07:00
buildGoModule rec {
2018-03-05 03:51:44 -08:00
pname = "powerline-go";
2019-12-12 16:05:42 -08:00
version = "1.15.0";
2018-03-05 03:51:44 -08:00
src = fetchFromGitHub {
owner = "justjanne";
repo = pname;
2019-07-03 21:14:37 -07:00
rev = "v${version}";
2019-12-12 16:05:42 -08:00
sha256 = "06i07m68l24v29j01qp2y91rwsfqh4x1nc8sxkjzrc7q1c7fsc1r";
2018-03-05 03:51:44 -08:00
};
2019-12-12 16:05:42 -08:00
modSha256 = "0mz1qrwar9cgrhrgw4z3gwhjj62bnfnn59ji31zkyvwlc1mqh9an";
2018-03-05 03:51:44 -08:00
meta = with stdenv.lib; {
description = "A Powerline like prompt for Bash, ZSH and Fish";
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = with maintainers; [ sifmelcara ];
};
}