tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
prometheus-bind-exporter: unstable -> 0.4.0
Robin Gloster
4 years ago
ef7d9451
6a66ae84
+8
-9
1 changed file
expand all
collapse all
unified
split
pkgs
servers
monitoring
prometheus
bind-exporter.nix
+8
-9
pkgs/servers/monitoring/prometheus/bind-exporter.nix
···
1
1
-
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
2
2
3
3
-
buildGoPackage rec {
3
3
+
buildGoModule rec {
4
4
pname = "bind_exporter";
5
5
-
version = "20161221-${lib.strings.substring 0 7 rev}";
6
6
-
rev = "4e1717c7cd5f31c47d0c37274464cbaabdd462ba";
7
7
-
8
8
-
goPackagePath = "github.com/digitalocean/bind_exporter";
5
5
+
version = "0.4.0";
9
6
10
7
src = fetchFromGitHub {
11
11
-
inherit rev;
12
12
-
owner = "digitalocean";
8
8
+
rev = "v${version}";
9
9
+
owner = "prometheus-community";
13
10
repo = "bind_exporter";
14
14
-
sha256 = "1nd6pc1z627w4x55vd42zfhlqxxjmfsa9lyn0g6qq19k4l85v1qm";
11
11
+
sha256 = "152xi6kf1wzb7663ixv27hsdbf1x6s51fdp85zhghg1y700ln63v";
15
12
};
13
13
+
14
14
+
vendorSha256 = "172aqrckkhlyhpkanrcs66m13p5qp4fd2w8xv02j2kqq13klwm1a";
16
15
17
16
passthru.tests = { inherit (nixosTests.prometheus-exporters) bind; };
18
17