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

23 lines
570 B
Nix
Raw Normal View History

2019-07-04 05:14:37 +01:00
{ stdenv, 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";
2019-12-13 00:05:42 +00:00
version = "1.15.0";
2018-03-05 11:51:44 +00:00
src = fetchFromGitHub {
owner = "justjanne";
repo = pname;
2019-07-04 05:14:37 +01:00
rev = "v${version}";
2019-12-13 00:05:42 +00:00
sha256 = "06i07m68l24v29j01qp2y91rwsfqh4x1nc8sxkjzrc7q1c7fsc1r";
2018-03-05 11:51:44 +00:00
};
2019-12-13 00:05:42 +00:00
modSha256 = "0mz1qrwar9cgrhrgw4z3gwhjj62bnfnn59ji31zkyvwlc1mqh9an";
2018-03-05 11:51:44 +00: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 ];
};
}