tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
prometheus-domain-exporter: 1.11.0 -> 1.17.1
Peter Hoeg
3 years ago
586a0b59
06c6b26d
+13
-5
1 changed file
expand all
collapse all
unified
split
pkgs
servers
monitoring
prometheus
domain-exporter.nix
+13
-5
pkgs/servers/monitoring/prometheus/domain-exporter.nix
···
1
1
-
{ lib, buildGoModule, fetchFromGitHub, nixosTests }:
1
1
+
{ lib, buildGoModule, fetchFromGitHub, fetchpatch, nixosTests }:
2
2
3
3
buildGoModule rec {
4
4
pname = "domain-exporter";
5
5
-
version = "1.11.0";
5
5
+
version = "1.17.1";
6
6
7
7
src = fetchFromGitHub {
8
8
owner = "caarlos0";
9
9
repo = "domain_exporter";
10
10
rev = "v${version}";
11
11
-
sha256 = "018y0xwdn2f2shhwaa0hqm4y8xsbqwif0733qb0377wpjbj4v137";
11
11
+
hash = "sha256-18r+jUdVcv7hA9KdWkgvu2tNUIGf9f1uj2cwwMDnAs8=";
12
12
};
13
13
14
14
-
vendorSha256 = "0s1hs8byba9y57abg386n09wfg1wcqpzs164ap0km8ap2i96bdlb";
14
14
+
patches = [
15
15
+
(fetchpatch {
16
16
+
url = "https://github.com/caarlos0/domain_exporter/commit/32815b0956056c5c14313d0b860d1e9db754e545.patch";
17
17
+
hash = "sha256-iEYnJ4BU+MWQd0BgKmRb8RNj/lH2V/Z9uwFS2muR4Go=";
18
18
+
name = "sg_domains.patch";
19
19
+
})
20
20
+
];
21
21
+
22
22
+
vendorSha256 = "sha256-LHs2DSLNe+E3NUXZS7TV5M53ueUbCjjNM87UPRTaCpo=";
15
23
16
24
doCheck = false; # needs internet connection
17
25
···
21
29
homepage = "https://github.com/caarlos0/domain_exporter";
22
30
description = "Exports the expiration time of your domains as prometheus metrics";
23
31
license = licenses.mit;
24
24
-
maintainers = with maintainers; [ mmilata prusnak ];
32
32
+
maintainers = with maintainers; [ mmilata prusnak peterhoeg ];
25
33
};
26
34
}