2021-04-03 16:15:30 +02:00
|
|
|
{ depot, pkgs, ... }@args:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (import ../builder.nix args) buildGerritBazelPlugin;
|
2022-01-30 17:06:58 +01:00
|
|
|
in
|
|
|
|
buildGerritBazelPlugin rec {
|
2021-04-03 16:15:30 +02:00
|
|
|
name = "oauth";
|
2024-07-07 20:12:28 +02:00
|
|
|
version = "982316";
|
2021-04-03 16:15:30 +02:00
|
|
|
src = pkgs.fetchgit {
|
|
|
|
url = "https://gerrit.googlesource.com/plugins/oauth";
|
2024-07-07 20:12:28 +02:00
|
|
|
rev = "98231604d60788bb43490f1a301d792817ac8008";
|
|
|
|
hash = "sha256-AuVO1Yys8BYqGHZI/adszCUg0JM2v4Td4fe26LdOPLM=";
|
2021-04-03 16:15:30 +02:00
|
|
|
};
|
2024-07-08 11:32:08 +02:00
|
|
|
depsHash = "sha256-7SC4NXm4zGeJrYBqtEvcrLmsZmXEX8P21J0kwHBDBZ4=";
|
2024-07-07 20:12:28 +02:00
|
|
|
postOverlayPlugin = ''
|
2021-04-03 16:15:30 +02:00
|
|
|
cp "${src}/external_plugin_deps.bzl" "$out/plugins/external_plugin_deps.bzl"
|
|
|
|
'';
|
|
|
|
}
|