2018-03-05 11:51:44 +00:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
pname = "powerline-go";
|
2018-05-11 19:54:09 +01:00
|
|
|
version = "1.11.0";
|
2018-03-05 11:51:44 +00:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/justjanne/powerline-go";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "justjanne";
|
|
|
|
repo = pname;
|
|
|
|
inherit rev;
|
2018-05-11 19:54:09 +01:00
|
|
|
sha256 = "1s3d9p4jf23n63n6vx3frnw3wkmg3kyiazapixy66790qkx6ddi9";
|
2018-03-05 11:51:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A Powerline like prompt for Bash, ZSH and Fish";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ sifmelcara ];
|
|
|
|
};
|
|
|
|
}
|