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