nixos: add gerrit module
Co-authored-by: edef <edef@edef.eu> Co-authored-by: Florian Klink <flokli@flokli.de>
This commit is contained in:
co-authored by
edef
Florian Klink
parent
10c96e5b60
commit
d37a0dca13
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user