nixos: add gerrit module

Co-authored-by: edef <edef@edef.eu>
Co-authored-by: Florian Klink <flokli@flokli.de>
This commit is contained in:
zimbatm
2020-03-26 09:28:42 +01:00
co-authored by edef Florian Klink
parent 10c96e5b60
commit d37a0dca13
5 changed files with 294 additions and 0 deletions
@@ -14,6 +14,24 @@ stdenv.mkDerivation rec {
ln -s ${src} "$out"/webapps/gerrit-${version}.war
'';
passthru = {
# A list of plugins that are part of the gerrit.war file.
# Use `java -jar gerrit.war ls | grep plugins/` to generate that list.
plugins = [
"codemirror-editor"
"commit-message-length-validator"
"delete-project"
"download-commands"
"gitiles"
"hooks"
"plugin-manager"
"replication"
"reviewnotes"
"singleusergroup"
"webhooks"
];
};
meta = with stdenv.lib; {
homepage = "https://www.gerritcodereview.com/index.md";
license = licenses.asl20;