2020-09-25 04:45:31 +00:00
|
|
|
{ stdenv, buildGoModule, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
buildGoModule rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "lazygit";
|
2020-10-19 23:25:03 +00:00
|
|
|
version = "0.23.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jesseduffield";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-10-19 23:25:03 +00:00
|
|
|
sha256 = "0afs3h8npbzmcrzm6kzfdva5id3zyifhhsh7zgyrxkmw60qhl498";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
vendorSha256 = null;
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-X main.version=${version} -X main.buildSource=nix" ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Simple terminal UI for git commands";
|
|
|
|
homepage = "https://github.com/jesseduffield/lazygit";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fpletz equirosa filalex77 ];
|
|
|
|
};
|
|
|
|
}
|