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";
|
|
|
|
};
|
|
|
|
|
2023-09-21 17:11:11 +00:00
|
|
|
vendorHash = null;
|
2021-03-12 10:10:43 +00:00
|
|
|
|
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";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "jitsiexporter";
|
2021-03-12 10:10:43 +00:00
|
|
|
homepage = "https://git.xsfx.dev/prometheus/jitsiexporter";
|
|
|
|
license = licenses.mit;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2021-03-12 10:10:43 +00:00
|
|
|
};
|
|
|
|
}
|