mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
28 lines
649 B
Nix
28 lines
649 B
Nix
{ lib, buildGoModule, fetchFromGitHub, git }:
|
|
|
|
buildGoModule rec {
|
|
pname = "git-codereview";
|
|
version = "1.8.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "golang";
|
|
repo = "review";
|
|
rev = "v${version}";
|
|
hash = "sha256-E6KgFSlWa/MKG6R2P+K4T+P/JOqaIfxdWpsSFGHbihg=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|