Merge pull request #159696 from r-ryantm/auto-update/prometheus-nextcloud-exporter

This commit is contained in:
Martin Weinelt 2022-02-14 23:22:55 +01:00 committed by GitHub
commit 4387ecec59
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -672,7 +672,7 @@ let
basicAuth.nextcloud-exporter = "snakeoilpw";
locations."/" = {
root = "${pkgs.prometheus-nextcloud-exporter.src}/serverinfo/testdata";
tryFiles = "/negative-space.xml =404";
tryFiles = "/negative-space.json =404";
};
};
};

View file

@ -2,16 +2,16 @@
buildGoModule rec {
pname = "prometheus-nextcloud-exporter";
version = "0.4.0";
version = "0.5.0";
src = fetchFromGitHub {
owner = "xperimental";
repo = "nextcloud-exporter";
rev = "v${version}";
sha256 = "0kq0ka2gjlibl7vhk3s4z15ja5ai7cmwl144gj4dyhylp2xzr72a";
sha256 = "sha256-73IxGxnKgbG50nr57Wft+hh0KT7redrwXc4EZFn25qs=";
};
vendorSha256 = "0qs3p4jl8p0323bklrrhxzql7652pm6a1hj9ch9xyfhkwsx87l4d";
vendorSha256 = "sha256-vIhHUFg8m6raKF82DcXRGKCgSM2FJ2VTM+MdMjP7KUY=";
passthru.tests = { inherit (nixosTests.prometheus-exporters) nextcloud; };