Merge pull request #171249 from aaronjheng/git-codereview
git-codereview: 2020-01-15 -> 1.0.3
This commit is contained in:
commit
bf3bd2f9e8
1 changed files with 11 additions and 6 deletions
|
@ -1,17 +1,22 @@
|
||||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub, git }:
|
||||||
|
|
||||||
buildGoPackage {
|
buildGoModule rec {
|
||||||
pname = "git-codereview";
|
pname = "git-codereview";
|
||||||
version = "2020-01-15";
|
version = "1.0.3";
|
||||||
goPackagePath = "golang.org/x/review";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "golang";
|
owner = "golang";
|
||||||
repo = "review";
|
repo = "review";
|
||||||
rev = "f51a73253c4da005cfdf18a036e11185c04c8ce3";
|
rev = "v${version}";
|
||||||
sha256 = "0c4vsyy5zp7pngqn4q87xipndghxyw2x57dkv1kxnrffckx1s3pc";
|
sha256 = "sha256-Hyo2UWGlxxeSz3E73DeA0VoOnBJ1VedvpshnATJGbFo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
|
||||||
|
|
||||||
|
ldflags = [ "-s" "-w" ];
|
||||||
|
|
||||||
|
checkInputs = [ git ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Manage the code review process for Git changes using a Gerrit server";
|
description = "Manage the code review process for Git changes using a Gerrit server";
|
||||||
homepage = "https://golang.org/x/review/git-codereview";
|
homepage = "https://golang.org/x/review/git-codereview";
|
||||||
|
|
Loading…
Reference in a new issue