1 { lib, buildGoModule, fetchFromGitHub, lazygit, testers }:
7 src = fetchFromGitHub {
8 owner = "jesseduffield";
11 hash = "sha256-xj5WKAduaJWA3NhWuMsF5EXF91+NTGAXkbdhpeFqLxE=";
15 subPackages = [ "." ];
17 ldflags = [ "-X main.version=${version}" "-X main.buildSource=nix" ];
19 passthru.tests.version = testers.testVersion {
24 description = "Simple terminal UI for git commands";
25 homepage = "https://github.com/jesseduffield/lazygit";
26 changelog = "https://github.com/jesseduffield/lazygit/releases/tag/v${version}";
27 license = licenses.mit;
28 maintainers = with maintainers; [ Br1ght0ne equirosa paveloom ];
29 mainProgram = "lazygit";