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

24 lines
602 B
Nix
Raw Normal View History

2019-07-04 06:14:37 +02:00
{ stdenv, buildGoModule, fetchFromGitHub }:
2018-03-05 12:51:44 +01:00
2019-07-04 06:14:37 +02:00
buildGoModule rec {
2018-03-05 12:51:44 +01:00
pname = "powerline-go";
2019-07-04 06:14:37 +02:00
version = "1.13.0";
2018-03-05 12:51:44 +01:00
name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "justjanne";
repo = pname;
2019-07-04 06:14:37 +02:00
rev = "v${version}";
sha256 = "0hgc0ji9jcsq5qnvx54dvpq8qx80mgdbvkllzavnvqr7md638zk9";
2018-03-05 12:51:44 +01:00
};
2019-07-04 06:14:37 +02:00
modSha256 = "0800r08rawv4fz08d332z0fy6pd16l1dyflz3h91ba00g59wc2ah";
2018-03-05 12:51:44 +01: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 ];
};
}