prometheus-bind-exporter: unstable -> 0.4.0

+8 -9
+8 -9
pkgs/servers/monitoring/prometheus/bind-exporter.nix
··· 1 - { lib, buildGoPackage, fetchFromGitHub, nixosTests }: 2 3 - buildGoPackage rec { 4 pname = "bind_exporter"; 5 - version = "20161221-${lib.strings.substring 0 7 rev}"; 6 - rev = "4e1717c7cd5f31c47d0c37274464cbaabdd462ba"; 7 - 8 - goPackagePath = "github.com/digitalocean/bind_exporter"; 9 10 src = fetchFromGitHub { 11 - inherit rev; 12 - owner = "digitalocean"; 13 repo = "bind_exporter"; 14 - sha256 = "1nd6pc1z627w4x55vd42zfhlqxxjmfsa9lyn0g6qq19k4l85v1qm"; 15 }; 16 17 passthru.tests = { inherit (nixosTests.prometheus-exporters) bind; }; 18
··· 1 + { lib, buildGoModule, fetchFromGitHub, nixosTests }: 2 3 + buildGoModule rec { 4 pname = "bind_exporter"; 5 + version = "0.4.0"; 6 7 src = fetchFromGitHub { 8 + rev = "v${version}"; 9 + owner = "prometheus-community"; 10 repo = "bind_exporter"; 11 + sha256 = "152xi6kf1wzb7663ixv27hsdbf1x6s51fdp85zhghg1y700ln63v"; 12 }; 13 + 14 + vendorSha256 = "172aqrckkhlyhpkanrcs66m13p5qp4fd2w8xv02j2kqq13klwm1a"; 15 16 passthru.tests = { inherit (nixosTests.prometheus-exporters) bind; }; 17