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

30 lines
733 B
Nix
Raw Normal View History

2021-02-21 10:12:54 +01:00
{ lib
, 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";
2021-02-21 03:53:14 +01:00
version = "1.21.0";
2018-03-05 12:51:44 +01:00
src = fetchFromGitHub {
owner = "justjanne";
repo = pname;
2019-07-04 06:14:37 +02:00
rev = "v${version}";
2021-02-21 03:53:14 +01:00
sha256 = "sha256-IO3I5lvPdN73EF+S5Xo+TMEYaBtd1pOGMs+aQtRnHjE=";
2018-03-05 12:51:44 +01:00
};
2021-01-21 00:50:13 +01:00
vendorSha256 = "sha256-HYF6aKz+P241EKmupEoretadlrh9FBRx6nIER66jofg=";
2018-03-05 12:51:44 +01:00
doCheck = false;
meta = with lib; {
2018-03-05 12:51:44 +01:00
description = "A Powerline like prompt for Bash, ZSH and Fish";
2021-02-21 10:12:54 +01:00
homepage = "https://github.com/justjanne/powerline-go";
changelog = "https://github.com/justjanne/powerline-go/releases/tag/v${version}";
license = licenses.gpl3Plus;
2018-03-05 12:51:44 +01:00
platforms = platforms.unix;
maintainers = with maintainers; [ sifmelcara ];
};
}