mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 12:44:44 +00:00
36 lines
688 B
Nix
36 lines
688 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
git,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "git-codereview";
|
|
version = "1.20.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "golang";
|
|
repo = "review";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-5zHXljaVi6wyenKftt7C4WZVPh2vDunVjD02cPqlstk=";
|
|
};
|
|
|
|
vendorHash = null;
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
nativeCheckInputs = [ git ];
|
|
|
|
meta = {
|
|
description = "Manage the code review process for Git changes using a Gerrit server";
|
|
homepage = "https://golang.org/x/review/git-codereview";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ lib.maintainers.edef ];
|
|
mainProgram = "git-codereview";
|
|
};
|
|
})
|