2020-09-18 12:52:57 +01:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2018-10-11 15:17:57 +01:00
|
|
|
|
2020-09-18 12:52:57 +01:00
|
|
|
buildGoModule rec {
|
2019-06-23 18:09:11 +01:00
|
|
|
pname = "lazygit";
|
2020-12-27 12:15:40 +00:00
|
|
|
version = "0.24.2";
|
2019-06-23 18:09:11 +01:00
|
|
|
|
2018-10-11 15:17:57 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jesseduffield";
|
2019-06-23 18:09:11 +01:00
|
|
|
repo = pname;
|
2018-10-11 15:17:57 +01:00
|
|
|
rev = "v${version}";
|
2020-12-27 12:15:40 +00:00
|
|
|
sha256 = "0hy13l1v2kcsn99dswlq1hl0ly18cal387zhnzjfqv51qng2q5kq";
|
2018-10-11 15:17:57 +01:00
|
|
|
};
|
|
|
|
|
2020-09-18 12:52:57 +01:00
|
|
|
vendorSha256 = null;
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-X main.version=${version} -X main.buildSource=nix" ];
|
|
|
|
|
2018-10-11 15:17:57 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Simple terminal UI for git commands";
|
2019-06-23 18:09:11 +01: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 15:17:57 +01:00
|
|
|
license = licenses.mit;
|
2020-11-17 11:02:06 +00:00
|
|
|
maintainers = with maintainers; [ fpletz equirosa Br1ght0ne ];
|
2018-10-11 15:17:57 +01:00
|
|
|
};
|
|
|
|
}
|