From 80e077f5f25aa8befd19c73e35371001b41f6a60 Mon Sep 17 00:00:00 2001 From: WilliButz Date: Mon, 25 Jan 2021 15:12:26 +0100 Subject: [PATCH] prometheus-nextcloud-exporter: 0.3.0 -> 0.4.0 --- .../monitoring/prometheus/nextcloud-exporter.nix | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/nextcloud-exporter.nix b/pkgs/servers/monitoring/prometheus/nextcloud-exporter.nix index a04bd6d9a9a0..e07c8a5a5c0b 100644 --- a/pkgs/servers/monitoring/prometheus/nextcloud-exporter.nix +++ b/pkgs/servers/monitoring/prometheus/nextcloud-exporter.nix @@ -2,26 +2,16 @@ buildGoModule rec { pname = "prometheus-nextcloud-exporter"; - version = "0.3.0"; + version = "0.4.0"; src = fetchFromGitHub { owner = "xperimental"; repo = "nextcloud-exporter"; rev = "v${version}"; - sha256 = "1nmw1hkxgdp7nibrn1gz0lry0666rcc55s3kkfx64ykw6bnl0l34"; + sha256 = "0kq0ka2gjlibl7vhk3s4z15ja5ai7cmwl144gj4dyhylp2xzr72a"; }; - patches = [ - # fixes failing test, remove with next update - # see https://github.com/xperimental/nextcloud-exporter/pull/25 - (fetchpatch { - url = "https://patch-diff.githubusercontent.com/raw/xperimental/nextcloud-exporter/pull/25.patch"; - sha256 = "03jvqlqbs5g6ijncx6vxkgwq646yrjlrm0lk2q5vhfjrgrkv0alv"; - includes = [ "internal/config/config_test.go" ]; - }) - ]; - - vendorSha256 = "0xdjphki0p03n6g5b4mm2x0rgm902rnbvq8r6p4r45k3mv8cggmf"; + vendorSha256 = "0qs3p4jl8p0323bklrrhxzql7652pm6a1hj9ch9xyfhkwsx87l4d"; passthru.tests = { inherit (nixosTests.prometheus-exporters) nextcloud; };