prometheus-bind-exporter: unstable -> 0.4.0

This commit is contained in:
Robin Gloster 2021-05-10 22:35:22 -05:00
parent 6a66ae84d4
commit ef7d945193
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -1,19 +1,18 @@
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
buildGoPackage rec {
buildGoModule rec {
pname = "bind_exporter";
version = "20161221-${lib.strings.substring 0 7 rev}";
rev = "4e1717c7cd5f31c47d0c37274464cbaabdd462ba";
goPackagePath = "github.com/digitalocean/bind_exporter";
version = "0.4.0";
src = fetchFromGitHub {
inherit rev;
owner = "digitalocean";
rev = "v${version}";
owner = "prometheus-community";
repo = "bind_exporter";
sha256 = "1nd6pc1z627w4x55vd42zfhlqxxjmfsa9lyn0g6qq19k4l85v1qm";
sha256 = "152xi6kf1wzb7663ixv27hsdbf1x6s51fdp85zhghg1y700ln63v";
};
vendorSha256 = "172aqrckkhlyhpkanrcs66m13p5qp4fd2w8xv02j2kqq13klwm1a";
passthru.tests = { inherit (nixosTests.prometheus-exporters) bind; };
meta = with lib; {