nixpkgs/pkgs/applications/version-management/git-codereview/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
650 B
Nix
Raw Normal View History

2022-05-02 13:13:47 +00:00
{ lib, buildGoModule, fetchFromGitHub, git }:
2020-02-28 12:12:27 +00:00
2022-05-02 13:13:47 +00:00
buildGoModule rec {
2020-02-28 12:12:27 +00:00
pname = "git-codereview";
2024-03-05 00:36:10 +00:00
version = "1.10.0";
2020-02-28 12:12:27 +00:00
src = fetchFromGitHub {
owner = "golang";
repo = "review";
2022-05-02 13:13:47 +00:00
rev = "v${version}";
2024-03-05 00:36:10 +00:00
hash = "sha256-aLvx9lYQJYUw2XBj+2P+yEJMboUjmHKzxP5QA3N93JA=";
2020-02-28 12:12:27 +00:00
};
2023-07-04 08:32:36 +00:00
vendorHash = null;
2022-05-02 13:13:47 +00:00
ldflags = [ "-s" "-w" ];
nativeCheckInputs = [ git ];
2022-05-02 13:13:47 +00:00
2020-02-28 12:12:27 +00:00
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 ];
2023-11-27 01:17:53 +00:00
mainProgram = "git-codereview";
2020-02-28 12:12:27 +00:00
};
}