fe225d48a1
Brings us back to a stable version of Gerrit instead of a random commit. Note that Gerrit 3.4.1 is out, but due to a bug it can not be built publicly because it accidentally points at a private submodule (this is being fixed upstream). Change-Id: I0376c63a649498cef999dfa99bfccba511f2c8da Reviewed-on: https://cl.tvl.fyi/c/depot/+/3444 Tested-by: BuildkiteCI Reviewed-by: lukegb <lukegb@tvl.fyi>
22 lines
843 B
Nix
22 lines
843 B
Nix
{ depot, pkgs, ... }@args:
|
|
|
|
let
|
|
inherit (import ./builder.nix args) buildGerritBazelPlugin;
|
|
in depot.nix.utils.drvTargets {
|
|
# https://gerrit.googlesource.com/plugins/owners
|
|
owners = buildGerritBazelPlugin rec {
|
|
name = "owners";
|
|
depsOutputHash = "sha256:0qx3675lkj241c1sqs6xia5jpcwha2ib3mv32cilmh0k3cwdyyh2";
|
|
src = pkgs.fetchgit {
|
|
url = "https://gerrit.googlesource.com/plugins/owners";
|
|
rev = "99a9ab585532d172d141b4641dfc70081513dfc2";
|
|
sha256 = "sha256:1xn9qb7q94jxfx7yq0zjqjm16gfyzzif13sak9x6j4f9r68frcd4";
|
|
};
|
|
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"
|
|
'';
|
|
};
|
|
}
|