8 stdenv.mkDerivation rec {
13 url = "https://gerrit-releases.storage.googleapis.com/gerrit-${version}.war";
14 hash = "sha256-pVI5YZihvJNuaboh2dLe/Aw371rNPiGbaLUd0ALpANQ=";
18 mkdir -p "$out"/webapps/
19 ln -s ${src} "$out"/webapps/gerrit-${version}.war
23 # A list of plugins that are part of the gerrit.war file.
24 # Use `java -jar gerrit.war ls | grep plugins/` to generate that list.
27 "commit-message-length-validator"
39 inherit (nixosTests) gerrit;
44 homepage = "https://www.gerritcodereview.com/index.md";
45 license = licenses.asl20;
46 description = "Web based code review and repository management for the git version control system";
47 sourceProvenance = with sourceTypes; [ binaryBytecode ];
48 maintainers = with maintainers; [
52 platforms = platforms.unix;