depot/third_party/nixpkgs/pkgs/development/tools/lazygit/default.nix
Default email 727493fff0 Project import generated by Copybara.
GitOrigin-RevId: b839d4a8557adc80e522f674529e586ab2a88d23
2020-11-09 16:59:12 +01:00

25 lines
665 B
Nix

{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "lazygit";
version = "0.23.7";
src = fetchFromGitHub {
owner = "jesseduffield";
repo = pname;
rev = "v${version}";
sha256 = "05s0rj785dm9dqr30ak5hi26qy0z2w71zljyln5is4frckxkcvng";
};
vendorSha256 = null;
subPackages = [ "." ];
buildFlagsArray = [ "-ldflags=-X main.version=${version} -X main.buildSource=nix" ];
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 ];
};
}