at 24.11-pre 27 lines 650 B view raw
1{ lib, buildGoModule, fetchFromGitHub, git }: 2 3buildGoModule rec { 4 pname = "git-codereview"; 5 version = "1.11.0"; 6 7 src = fetchFromGitHub { 8 owner = "golang"; 9 repo = "review"; 10 rev = "v${version}"; 11 hash = "sha256-fIvNaMfgwnMBUNo6kr37zhKiBgKNzT2E0dLLtqaVBvI="; 12 }; 13 14 vendorHash = null; 15 16 ldflags = [ "-s" "-w" ]; 17 18 nativeCheckInputs = [ git ]; 19 20 meta = with lib; { 21 description = "Manage the code review process for Git changes using a Gerrit server"; 22 homepage = "https://golang.org/x/review/git-codereview"; 23 license = licenses.bsd3; 24 maintainers = [ maintainers.edef ]; 25 mainProgram = "git-codereview"; 26 }; 27}