tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
prometheus-minio-exporter: 0.1.0 -> 0.2.0
Pascal Bach
8 years ago
f694b98b
d1a04efb
+63
-36
2 changed files
expand all
collapse all
unified
split
pkgs
servers
monitoring
prometheus
minio-exporter
default.nix
deps.nix
+12
-3
pkgs/servers/monitoring/prometheus/minio-exporter/default.nix
···
1
-
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
2
3
buildGoPackage rec {
4
name = "minio-exporter-${version}";
5
-
version = "0.1.0";
6
rev = "v${version}";
7
8
goPackagePath = "github.com/joe-pll/minio-exporter";
···
11
inherit rev;
12
owner = "joe-pll";
13
repo = "minio-exporter";
14
-
sha256 = "14lz4dg0n213b6xy12fh4r20k1rcnflnfg6gjskk5zr8h7978hjx";
15
};
0
0
0
0
0
0
0
0
0
16
17
goDeps = ./deps.nix;
18
···
1
+
{ stdenv, lib, buildGoPackage, fetchFromGitHub, fetchpatch }:
2
3
buildGoPackage rec {
4
name = "minio-exporter-${version}";
5
+
version = "0.2.0";
6
rev = "v${version}";
7
8
goPackagePath = "github.com/joe-pll/minio-exporter";
···
11
inherit rev;
12
owner = "joe-pll";
13
repo = "minio-exporter";
14
+
sha256 = "1my3ii5s479appiapw8gjzkq1pk62fl7d7if8ljvdj6qw4man6aa";
15
};
16
+
17
+
# Required to make 0.2.0 build against latest dependencies
18
+
# TODO: Remove on update to 0.3.0
19
+
patches = [
20
+
(fetchpatch {
21
+
url = "https://github.com/joe-pll/minio-exporter/commit/50ab89d42322dc3e2696326a9ae4d3f951f646de.patch";
22
+
sha256 = "0aiixhvb4x8c8abrlf1i4hmca9i6xd6b638a5vfkvawx0q7gxl97";
23
+
})
24
+
];
25
26
goDeps = ./deps.nix;
27
+51
-33
pkgs/servers/monitoring/prometheus/minio-exporter/deps.nix
···
1
-
# This file was generated by go2nix.
2
[
3
{
4
goPackagePath = "github.com/alecthomas/template";
···
32
fetch = {
33
type = "git";
34
url = "https://github.com/go-ini/ini";
35
-
rev = "c787282c39ac1fc618827141a1f762240def08a3";
36
-
sha256 = "0c784qichlpqdk1zwafislskchr7f4dl7fy3g3w7xg2w63xpd7r0";
37
};
38
}
39
{
···
41
fetch = {
42
type = "git";
43
url = "https://github.com/golang/protobuf";
44
-
rev = "130e6b02ab059e7b717a096f397c5b60111cae74";
45
-
sha256 = "0zk4d7gcykig9ld8f5h86fdxshm2gs93a2xkpf52jd5m4z59q26s";
46
};
47
}
48
{
···
55
};
56
}
57
{
58
-
goPackagePath = "github.com/minio/go-homedir";
59
fetch = {
60
type = "git";
61
-
url = "https://github.com/minio/go-homedir";
62
-
rev = "21304a94172ae3a09dee2cd86a12fb6f842138c7";
63
-
sha256 = "1kvz91gvdrpzddlpcbf0a2kf75bfqzd40kwzq29jwhf1y5ii6cq4";
64
};
65
}
66
{
67
-
goPackagePath = "github.com/minio/minio-go";
68
fetch = {
69
type = "git";
70
-
url = "https://github.com/minio/minio-go";
71
-
rev = "cb3571b7d8d904c4714033deb984d0a0b66955be";
72
-
sha256 = "165filzwslnqdgsp8wf5k1zm8wcpnsffsaffw25igy0ik8swr06w";
73
};
74
}
75
{
76
-
goPackagePath = "github.com/minio/minio";
77
fetch = {
78
type = "git";
79
-
url = "https://github.com/minio/minio";
80
-
rev = "60cc6184d253efee4a3120683517028342229e21";
81
-
sha256 = "0n2l163v45jraylv43jwqm0cxin68vw8cw7k21qniahhr46y4dqf";
82
};
83
}
84
{
···
86
fetch = {
87
type = "git";
88
url = "https://github.com/prometheus/client_golang";
89
-
rev = "353b8c3f3776541879f9abfd8fa8b1ae162ab394";
90
-
sha256 = "068fk3bdfsaij37973c66065w2cn46ahwjs44pw9v1mqk8bsrn3a";
91
};
92
}
93
{
···
95
fetch = {
96
type = "git";
97
url = "https://github.com/prometheus/client_model";
98
-
rev = "6f3806018612930941127f2a7c6c453ba2c527d2";
99
-
sha256 = "1413ibprinxhni51p0755dp57r9wvbw7xgj9nmdaxmhzlqhc86j4";
100
};
101
}
102
{
···
104
fetch = {
105
type = "git";
106
url = "https://github.com/prometheus/common";
107
-
rev = "2f17f4a9d485bf34b4bfaccc273805040e4f86c8";
108
-
sha256 = "0r1dyipnd7n9vp4p6gs1y4v7ggq4avj06pr90l4qrjll55h281js";
109
};
110
}
111
{
···
113
fetch = {
114
type = "git";
115
url = "https://github.com/prometheus/procfs";
116
-
rev = "e645f4e5aaa8506fc71d6edbc5c4ff02c04c46f2";
117
-
sha256 = "18hwygbawbqilz7h8fl25xpbciwalkslb4igqn4cr9d8sqp7d3np";
118
};
119
}
120
{
···
122
fetch = {
123
type = "git";
124
url = "https://github.com/sirupsen/logrus";
125
-
rev = "89742aefa4b206dcf400792f3bd35b542998eb3b";
126
-
sha256 = "0hk7fabx59msg2y0iik6xvfp80s73ybrwlcshbm9ds91iqbkcxi6";
127
};
128
}
129
{
···
131
fetch = {
132
type = "git";
133
url = "https://go.googlesource.com/crypto";
134
-
rev = "76eec36fa14229c4b25bb894c2d0e591527af429";
135
-
sha256 = "1c57fdg70vhf7pigiwb2xdap6ak0c0s2pzaj9pq000aqfw54i4s8";
0
0
0
0
0
0
0
0
0
136
};
137
}
138
{
···
140
fetch = {
141
type = "git";
142
url = "https://go.googlesource.com/sys";
143
-
rev = "314a259e304ff91bd6985da2a7149bbf91237993";
144
-
sha256 = "0vya62c3kmhmqx6awlxx8hc84987xkym9rhs0q28vlhwk9kczdaa";
0
0
0
0
0
0
0
0
0
145
};
146
}
147
{
···
149
fetch = {
150
type = "git";
151
url = "https://gopkg.in/alecthomas/kingpin.v2";
152
-
rev = "1087e65c9441605df944fb12c33f0fe7072d18ca";
153
-
sha256 = "18llqzkdqf62qbqcv2fd3j0igl6cwwn4dissf5skkvxrcxjcmmj0";
154
};
155
}
156
]
···
1
+
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
2
[
3
{
4
goPackagePath = "github.com/alecthomas/template";
···
32
fetch = {
33
type = "git";
34
url = "https://github.com/go-ini/ini";
35
+
rev = "32e4c1e6bc4e7d0d8451aa6b75200d19e37a536a";
36
+
sha256 = "0mhgxw5q6b0pryhikx3k4wby7g32rwjjljzihi47lwn34kw5y1qn";
37
};
38
}
39
{
···
41
fetch = {
42
type = "git";
43
url = "https://github.com/golang/protobuf";
44
+
rev = "1e59b77b52bf8e4b449a57e6f79f21226d571845";
45
+
sha256 = "19bkh81wnp6njg3931wky6hsnnl2d1ig20vfjxpv450sd3k6yys8";
46
};
47
}
48
{
···
55
};
56
}
57
{
58
+
goPackagePath = "github.com/minio/minio-go";
59
fetch = {
60
type = "git";
61
+
url = "https://github.com/minio/minio-go";
62
+
rev = "d218e4cb1bfc13dcef0eb5c3e74507a35be0dd3a";
63
+
sha256 = "0d3am33xaavdffz791qi2s0vnkpjw9vlr5p5g4lw7h5vhmy1sjb4";
64
};
65
}
66
{
67
+
goPackagePath = "github.com/minio/minio";
68
fetch = {
69
type = "git";
70
+
url = "https://github.com/minio/minio";
71
+
rev = "bb73c84b104bc447eb603d63481cdc54b8ab3c83";
72
+
sha256 = "1gjkgdf59yxfr2a7pl3f7z3iid86zsd85xqxcv1s0d46v7j07iga";
73
};
74
}
75
{
76
+
goPackagePath = "github.com/mitchellh/go-homedir";
77
fetch = {
78
type = "git";
79
+
url = "https://github.com/mitchellh/go-homedir";
80
+
rev = "b8bc1bf767474819792c23f32d8286a45736f1c6";
81
+
sha256 = "13ry4lylalkh4g2vny9cxwvryslzyzwp9r92z0b10idhdq3wad1q";
82
};
83
}
84
{
···
86
fetch = {
87
type = "git";
88
url = "https://github.com/prometheus/client_golang";
89
+
rev = "06bc6e01f4baf4ee783ffcd23abfcb0b0f9dfada";
90
+
sha256 = "0dvv21214sn702kc25y5l0gd9d11358976d3w31fgwx7456mjx26";
91
};
92
}
93
{
···
95
fetch = {
96
type = "git";
97
url = "https://github.com/prometheus/client_model";
98
+
rev = "99fa1f4be8e564e8a6b613da7fa6f46c9edafc6c";
99
+
sha256 = "19y4ywsivhpxj7ikf2j0gm9k3cmyw37qcbfi78n526jxcc7kw998";
100
};
101
}
102
{
···
104
fetch = {
105
type = "git";
106
url = "https://github.com/prometheus/common";
107
+
rev = "89604d197083d4781071d3c65855d24ecfb0a563";
108
+
sha256 = "169rdlaf2mk9z4fydz7ajmngyhmf3q1lk96yhvx46bn986x5xkyn";
109
};
110
}
111
{
···
113
fetch = {
114
type = "git";
115
url = "https://github.com/prometheus/procfs";
116
+
rev = "b15cd069a83443be3154b719d0cc9fe8117f09fb";
117
+
sha256 = "1cr45wg2m40bj2za8f32mq09rjlcnk5kfam0h0hr8wcb015k4wxj";
118
};
119
}
120
{
···
122
fetch = {
123
type = "git";
124
url = "https://github.com/sirupsen/logrus";
125
+
rev = "d682213848ed68c0a260ca37d6dd5ace8423f5ba";
126
+
sha256 = "0nzyqwzx3k7nqfq8q7yv32gaf3ymq3bpwhkmw1hj2zakq5a93d8x";
127
};
128
}
129
{
···
131
fetch = {
132
type = "git";
133
url = "https://go.googlesource.com/crypto";
134
+
rev = "a6600008915114d9c087fad9f03d75087b1a74df";
135
+
sha256 = "099vyf8133bjwaqcv377d9akam3j5xwamwqrihmjhvzbvqs649yc";
136
+
};
137
+
}
138
+
{
139
+
goPackagePath = "golang.org/x/net";
140
+
fetch = {
141
+
type = "git";
142
+
url = "https://go.googlesource.com/net";
143
+
rev = "5ccada7d0a7ba9aeb5d3aca8d3501b4c2a509fec";
144
+
sha256 = "0bdwdxy2gz48icnh023r5fga3z4x6c8gry8jlfjqr5w12y3s281g";
145
};
146
}
147
{
···
149
fetch = {
150
type = "git";
151
url = "https://go.googlesource.com/sys";
152
+
rev = "2c42eef0765b9837fbdab12011af7830f55f88f0";
153
+
sha256 = "0gj9nwryyzf9rn33gl3zm6rxvg1zhrhwi36akipqj37x4g86h3gz";
154
+
};
155
+
}
156
+
{
157
+
goPackagePath = "golang.org/x/text";
158
+
fetch = {
159
+
type = "git";
160
+
url = "https://go.googlesource.com/text";
161
+
rev = "e19ae1496984b1c655b8044a65c0300a3c878dd3";
162
+
sha256 = "1cvnnx8nwx5c7gr6ajs7sldhbqh52n7h6fsa3i21l2lhx6xrsh4w";
163
};
164
}
165
{
···
167
fetch = {
168
type = "git";
169
url = "https://gopkg.in/alecthomas/kingpin.v2";
170
+
rev = "947dcec5ba9c011838740e680966fd7087a71d0d";
171
+
sha256 = "0mndnv3hdngr3bxp7yxfd47cas4prv98sqw534mx7vp38gd88n5r";
172
};
173
}
174
]