2021-03-13 12:02:37 +00:00
|
|
|
{ lib, buildGoModule, fetchgit, nixosTests }:
|
2021-03-12 10:10:43 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "jitsiexporter";
|
|
|
|
version = "0.2.18";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://git.xsfx.dev/prometheus/jitsiexporter";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1cf46wp96d9dwlwlffcgbcr0v3xxxfdv6il0zqkm2i7cfsfw0skf";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = null;
|
|
|
|
|
2021-03-13 12:02:37 +00:00
|
|
|
passthru.tests = { inherit (nixosTests.prometheus-exporters) jitsi; };
|
|
|
|
|
2021-03-12 10:10:43 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Export Jitsi Videobridge metrics to Prometheus";
|
|
|
|
homepage = "https://git.xsfx.dev/prometheus/jitsiexporter";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ petabyteboy ];
|
|
|
|
};
|
|
|
|
}
|