Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 29 lines 646 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchgit, 5 nixosTests, 6}: 7 8buildGoModule rec { 9 pname = "jitsiexporter"; 10 version = "0.2.18"; 11 12 src = fetchgit { 13 url = "https://git.xsfx.dev/prometheus/jitsiexporter"; 14 rev = "v${version}"; 15 sha256 = "1cf46wp96d9dwlwlffcgbcr0v3xxxfdv6il0zqkm2i7cfsfw0skf"; 16 }; 17 18 vendorHash = null; 19 20 passthru.tests = { inherit (nixosTests.prometheus-exporters) jitsi; }; 21 22 meta = with lib; { 23 description = "Export Jitsi Videobridge metrics to Prometheus"; 24 mainProgram = "jitsiexporter"; 25 homepage = "https://git.xsfx.dev/prometheus/jitsiexporter"; 26 license = licenses.mit; 27 maintainers = [ ]; 28 }; 29}