prometheus-bind-exporter: unstable -> 0.4.0
This commit is contained in:
parent
6a66ae84d4
commit
ef7d945193
|
@ -1,19 +1,18 @@
|
||||||
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
|
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoModule rec {
|
||||||
pname = "bind_exporter";
|
pname = "bind_exporter";
|
||||||
version = "20161221-${lib.strings.substring 0 7 rev}";
|
version = "0.4.0";
|
||||||
rev = "4e1717c7cd5f31c47d0c37274464cbaabdd462ba";
|
|
||||||
|
|
||||||
goPackagePath = "github.com/digitalocean/bind_exporter";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
inherit rev;
|
rev = "v${version}";
|
||||||
owner = "digitalocean";
|
owner = "prometheus-community";
|
||||||
repo = "bind_exporter";
|
repo = "bind_exporter";
|
||||||
sha256 = "1nd6pc1z627w4x55vd42zfhlqxxjmfsa9lyn0g6qq19k4l85v1qm";
|
sha256 = "152xi6kf1wzb7663ixv27hsdbf1x6s51fdp85zhghg1y700ln63v";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vendorSha256 = "172aqrckkhlyhpkanrcs66m13p5qp4fd2w8xv02j2kqq13klwm1a";
|
||||||
|
|
||||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) bind; };
|
passthru.tests = { inherit (nixosTests.prometheus-exporters) bind; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in New Issue