gerrit: init at 2.14.3

This commit is contained in:
jammerful 2017-08-30 17:05:43 -04:00
parent 69a9e8707a
commit f59d3a730d
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "gerrit-${version}";
version = "2.14.3";
src = fetchurl {
url = "https://gerrit-releases.storage.googleapis.com/gerrit-${version}.war";
sha256 = "db602d06b11bfa81f1cb016c4717a99699828eda08afb2caa504175a2ea4b9c3";
};
buildCommand = ''
mkdir -p "$out"/webapps
cp "${src}" "$out"/webapps/gerrit-${version}.war
'';
meta = with stdenv.lib; {
homepage = https://www.gerritcodereview.com/index.md;
license = licenses.asl20;
description = "A web based code review and repository management for the git version control system";
maintainers = with maintainers; [ jammerful ];
platforms = platforms.unix;
};
}

View File

@ -2141,6 +2141,8 @@ with pkgs;
genimage = callPackage ../tools/filesystems/genimage { };
gerrit = callPackage ../applications/version-management/gerrit { };
geteltorito = callPackage ../tools/misc/geteltorito { };
getmail = callPackage ../tools/networking/getmail { };