nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 26 lines 722 B view raw
1{ lib, buildGoModule, fetchFromGitHub }: 2 3buildGoModule rec { 4 pname = "lazygit"; 5 version = "0.34"; 6 7 src = fetchFromGitHub { 8 owner = "jesseduffield"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-AXbbgNP10r3BVRXg9R8Ssd8yORCcQwaGRuHV6yXz5i0="; 12 }; 13 14 vendorSha256 = null; 15 subPackages = [ "." ]; 16 17 ldflags = [ "-X main.version=${version}" "-X main.buildSource=nix" ]; 18 19 meta = with lib; { 20 description = "Simple terminal UI for git commands"; 21 homepage = "https://github.com/jesseduffield/lazygit"; 22 changelog = "https://github.com/jesseduffield/lazygit/releases/tag/v${version}"; 23 license = licenses.mit; 24 maintainers = with maintainers; [ fpletz equirosa Br1ght0ne ]; 25 }; 26}