2020-07-26 14:51:49 +02:00
|
|
|
{ depot, pkgs, ... }@args:
|
2020-06-13 20:25:20 +02:00
|
|
|
|
2020-07-26 14:51:49 +02:00
|
|
|
let
|
|
|
|
inherit (import ./builder.nix args) buildGerritBazelPlugin;
|
|
|
|
in
|
|
|
|
{
|
2020-06-13 20:25:20 +02:00
|
|
|
# https://gerrit.googlesource.com/plugins/owners
|
2020-07-26 14:51:49 +02:00
|
|
|
owners = buildGerritBazelPlugin rec {
|
|
|
|
name = "owners";
|
2020-12-20 16:08:08 +01:00
|
|
|
depsOutputHash = "sha256:14h39q37lg9bydjqnhr52jakqvrx97jfqfg03l35qyadw780pny2";
|
2020-07-26 14:51:49 +02:00
|
|
|
src = pkgs.fetchgit {
|
|
|
|
url = "https://gerrit.googlesource.com/plugins/owners";
|
|
|
|
rev = "17817c9e319073c03513f9d5177b6142b8fd567b";
|
2020-12-25 11:13:06 +01:00
|
|
|
sha256 = "sha256:1p089shybp50svckcq51d0hfisjvbggndmvmhh8pvzvi6w8n9d89";
|
2020-07-26 14:51:49 +02:00
|
|
|
deepClone = true;
|
|
|
|
leaveDotGit = true;
|
|
|
|
};
|
|
|
|
overlayPluginCmd = ''
|
|
|
|
chmod +w "$out" "$out/plugins/external_plugin_deps.bzl"
|
|
|
|
cp -R "${src}/owners" "$out/plugins/owners"
|
|
|
|
cp "${src}/external_plugin_deps.bzl" "$out/plugins/external_plugin_deps.bzl"
|
|
|
|
cp -R "${src}/owners-common" "$out/owners-common"
|
|
|
|
'';
|
|
|
|
};
|
2020-07-26 14:53:04 +02:00
|
|
|
|
|
|
|
# https://gerrit.googlesource.com/plugins/checks
|
|
|
|
checks = buildGerritBazelPlugin {
|
|
|
|
name = "checks";
|
2020-12-20 16:08:08 +01:00
|
|
|
depsOutputHash = "sha256:1y1mfnznqrm73vf97ilzn7vjy3fcfqnz9jxgp6h5584k9adnb6zl";
|
2020-07-26 14:53:04 +02:00
|
|
|
src = pkgs.fetchgit {
|
|
|
|
url = "https://gerrit.googlesource.com/plugins/checks";
|
2020-11-27 18:39:35 +01:00
|
|
|
rev = "ab49a63f5c159bda42d9ad1bdb9286bede6c5de4";
|
2021-02-01 20:00:38 +01:00
|
|
|
sha256 = "0svzs9hm49w8f6h5dkcipw91gxgvf0yaxj34amhn0qwp01ggwirc";
|
2020-07-26 14:53:04 +02:00
|
|
|
deepClone = true;
|
|
|
|
leaveDotGit = true;
|
|
|
|
};
|
|
|
|
};
|
2020-06-13 20:25:20 +02:00
|
|
|
}
|