1 { lib, stdenv, fetchurl }:
3 stdenv.mkDerivation rec {
8 url = "https://gerrit-releases.storage.googleapis.com/gerrit-${version}.war";
9 hash = "sha256-irzzG8qLJaBdRULGRyoYkn0tc4Yfcg/xe2SLriD8mtM=";
13 mkdir -p "$out"/webapps/
14 ln -s ${src} "$out"/webapps/gerrit-${version}.war
18 # A list of plugins that are part of the gerrit.war file.
19 # Use `java -jar gerrit.war ls | grep plugins/` to generate that list.
22 "commit-message-length-validator"
36 homepage = "https://www.gerritcodereview.com/index.md";
37 license = licenses.asl20;
38 description = "A web based code review and repository management for the git version control system";
39 sourceProvenance = with sourceTypes; [ binaryBytecode ];
40 maintainers = with maintainers; [ flokli jammerful zimbatm ];
41 platforms = platforms.unix;