60f07311b9
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
27 lines
649 B
Nix
27 lines
649 B
Nix
{ lib, buildGoModule, fetchFromGitHub, git }:
|
|
|
|
buildGoModule rec {
|
|
pname = "git-codereview";
|
|
version = "1.9.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "golang";
|
|
repo = "review";
|
|
rev = "v${version}";
|
|
hash = "sha256-Nnjo4MwkpFp1OTJZ+eeiJKboBGiRW520iWcJbu8cBnE=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
nativeCheckInputs = [ git ];
|
|
|
|
meta = with lib; {
|
|
description = "Manage the code review process for Git changes using a Gerrit server";
|
|
homepage = "https://golang.org/x/review/git-codereview";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.edef ];
|
|
mainProgram = "git-codereview";
|
|
};
|
|
}
|