about summary refs log tree commit diff
path: root/pkgs/servers/monitoring/prometheus/jitsi-exporter.nix
blob: 68e993089482ecc3ed35844e7d8ca0e5f343fbd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, buildGoModule, fetchgit, nixosTests }:

buildGoModule rec {
  pname = "jitsiexporter";
  version = "0.2.18";

  src = fetchgit {
    url = "https://git.xsfx.dev/prometheus/jitsiexporter";
    rev = "v${version}";
    sha256 = "1cf46wp96d9dwlwlffcgbcr0v3xxxfdv6il0zqkm2i7cfsfw0skf";
  };

  vendorSha256 = null;

  passthru.tests = { inherit (nixosTests.prometheus-exporters) jitsi; };

  meta = with lib; {
    description = "Export Jitsi Videobridge metrics to Prometheus";
    homepage = "https://git.xsfx.dev/prometheus/jitsiexporter";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}