nix-gerrit/plugins/oauth/default.nix
Raito Bezarius 6af71d0c52 feat: introduce Gerrit 3.11
Gerrit-version specific plugin hashes were introduced.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-12-14 16:55:09 +01:00

18 lines
558 B
Nix

# SPDX-FileCopyrightText: 2024 The nix-gerrit Authors <git@lukegb.com>
# SPDX-License-Identifier: MIT
{ buildGerritBazelPlugin, fetchgit, depsHash }:
buildGerritBazelPlugin rec {
name = "oauth";
version = "982316";
src = fetchgit {
url = "https://gerrit.googlesource.com/plugins/oauth";
rev = "98231604d60788bb43490f1a301d792817ac8008";
hash = "sha256-AuVO1Yys8BYqGHZI/adszCUg0JM2v4Td4fe26LdOPLM=";
};
inherit depsHash;
postOverlayPlugin = ''
cp "${src}/external_plugin_deps.bzl" "$out/plugins/external_plugin_deps.bzl"
'';
}