nix-gerrit/plugins/metrics-reporter-prometheus/default.nix
Raito Bezarius a4cc1ee06d feat: introduce Gerrit 3.11
Gerrit-version specific plugin hashes were introduced.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
2024-12-23 19:27:47 +01:00

18 lines
602 B
Nix

# SPDX-FileCopyrightText: 2024 The nix-gerrit Authors <git@lukegb.com>
# SPDX-License-Identifier: MIT
{ buildGerritBazelPlugin, fetchgit, depsHash }:
buildGerritBazelPlugin rec {
name = "metrics-reporter-prometheus";
version = "f2ee1d";
src = fetchgit {
url = "https://gerrit.googlesource.com/plugins/metrics-reporter-prometheus";
rev = "f2ee1de665281596ae300144243fcf94bf6f1f7d";
hash = "sha256-iUFzSXKIKBdZBZMpZiejkEEXXI20wTJQRYkufc/YjOM=";
};
inherit depsHash;
postOverlayPlugin = ''
cp "${src}/external_plugin_deps.bzl" "$out/plugins/external_plugin_deps.bzl"
'';
}