summary refs log tree commit diff
path: root/pkgs/tools/misc/powerline-go/default.nix
blob: 4e465e7ea1caf63c4570c6a783742c6c3ccda93e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
  pname = "powerline-go";
  version = "1.8.2";
  name = "${pname}-${version}";
  rev = "v${version}";

  goPackagePath = "github.com/justjanne/powerline-go";

  src = fetchFromGitHub {
    owner = "justjanne";
    repo = pname;
    inherit rev;
    sha256 = "1q45hxbrnx0mgi7z1rqkxp47dk8yf4mzy62i0027fhr65aifq6xj";
  };

  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 ];
  };
}