diff options
Diffstat (limited to 'pkgs/applications/version-management/git-codereview/default.nix')
-rw-r--r-- | pkgs/applications/version-management/git-codereview/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/git-codereview/default.nix b/pkgs/applications/version-management/git-codereview/default.nix new file mode 100644 index 000000000000..af641d241b84 --- /dev/null +++ b/pkgs/applications/version-management/git-codereview/default.nix @@ -0,0 +1,26 @@ +{ lib, buildGoModule, fetchFromGitHub, git }: + +buildGoModule rec { + pname = "git-codereview"; + version = "1.2.0"; + + src = fetchFromGitHub { + owner = "golang"; + repo = "review"; + rev = "v${version}"; + sha256 = "sha256-vh2XFzvGEMutlaHKNhpuYdlnNl49zoNPkLYNUA1lWwc="; + }; + + vendorSha256 = null; + + ldflags = [ "-s" "-w" ]; + + checkInputs = [ 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 ]; + }; +} |