2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
2018-10-11 14:17:57 +00:00
|
|
|
|
2020-09-18 11:52:57 +00:00
|
|
|
buildGoModule rec {
|
2019-06-23 17:09:11 +00:00
|
|
|
pname = "lazygit";
|
2021-11-14 13:56:41 +00:00
|
|
|
version = "0.31.3";
|
2019-06-23 17:09:11 +00:00
|
|
|
|
2018-10-11 14:17:57 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jesseduffield";
|
2019-06-23 17:09:11 +00:00
|
|
|
repo = pname;
|
2018-10-11 14:17:57 +00:00
|
|
|
rev = "v${version}";
|
2021-11-14 13:56:41 +00:00
|
|
|
sha256 = "sha256-CgWN7xfWX0aSwNAPt2UDftyD0CbQQSUY6SMlyP9TSjc=";
|
2018-10-11 14:17:57 +00:00
|
|
|
};
|
|
|
|
|
2020-09-18 11:52:57 +00:00
|
|
|
vendorSha256 = null;
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
2021-08-26 06:45:51 +00:00
|
|
|
ldflags = [ "-X main.version=${version}" "-X main.buildSource=nix" ];
|
2020-09-18 11:52:57 +00:00
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2018-10-11 14:17:57 +00:00
|
|
|
description = "Simple terminal UI for git commands";
|
2019-06-23 17:09:11 +00:00
|
|
|
homepage = "https://github.com/jesseduffield/lazygit";
|
2020-12-27 12:19:08 +00:00
|
|
|
changelog = "https://github.com/jesseduffield/lazygit/releases/tag/v${version}";
|
2018-10-11 14:17:57 +00:00
|
|
|
license = licenses.mit;
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ fpletz equirosa Br1ght0ne ];
|
2018-10-11 14:17:57 +00:00
|
|
|
};
|
|
|
|
}
|