about summary refs log tree commit diff
path: root/pkgs/applications/version-management/git-and-tools
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-03-08 20:07:50 -0500
committerGitHub <noreply@github.com>2020-03-08 20:07:50 -0500
commit77c58e69448ab0f2e8fc0ff565a93bbeb3564e70 (patch)
treede14faa7e00bc7f9f6d9007e1c19105c82823ec4 /pkgs/applications/version-management/git-and-tools
parent0757551d3c0b955b541705e16a21f37d0790533a (diff)
parent609650a3e8aa434df971a483fa075dd059f3d3b1 (diff)
downloadnixlib-77c58e69448ab0f2e8fc0ff565a93bbeb3564e70.tar
nixlib-77c58e69448ab0f2e8fc0ff565a93bbeb3564e70.tar.gz
nixlib-77c58e69448ab0f2e8fc0ff565a93bbeb3564e70.tar.bz2
nixlib-77c58e69448ab0f2e8fc0ff565a93bbeb3564e70.tar.lz
nixlib-77c58e69448ab0f2e8fc0ff565a93bbeb3564e70.tar.xz
nixlib-77c58e69448ab0f2e8fc0ff565a93bbeb3564e70.tar.zst
nixlib-77c58e69448ab0f2e8fc0ff565a93bbeb3564e70.zip
Merge pull request #81966 from edef1c/git-codereview
git-codereview: init at 2020-01-15
Diffstat (limited to 'pkgs/applications/version-management/git-and-tools')
-rw-r--r--pkgs/applications/version-management/git-and-tools/default.nix2
-rw-r--r--pkgs/applications/version-management/git-and-tools/git-codereview/default.nix21
2 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/default.nix b/pkgs/applications/version-management/git-and-tools/default.nix
index a7008bf44b39..79d2b8190f47 100644
--- a/pkgs/applications/version-management/git-and-tools/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/default.nix
@@ -70,6 +70,8 @@ let
 
   git-codeowners = callPackage ./git-codeowners { };
 
+  git-codereview = callPackage ./git-codereview { };
+
   git-cola = callPackage ./git-cola { };
 
   git-crypt = callPackage ./git-crypt { };
diff --git a/pkgs/applications/version-management/git-and-tools/git-codereview/default.nix b/pkgs/applications/version-management/git-and-tools/git-codereview/default.nix
new file mode 100644
index 000000000000..902814078485
--- /dev/null
+++ b/pkgs/applications/version-management/git-and-tools/git-codereview/default.nix
@@ -0,0 +1,21 @@
+{ lib, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage {
+  pname = "git-codereview";
+  version = "2020-01-15";
+  goPackagePath = "golang.org/x/review";
+
+  src = fetchFromGitHub {
+    owner = "golang";
+    repo = "review";
+    rev = "f51a73253c4da005cfdf18a036e11185c04c8ce3";
+    sha256 = "0c4vsyy5zp7pngqn4q87xipndghxyw2x57dkv1kxnrffckx1s3pc";
+  };
+
+  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 ];
+  };
+}