git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #79361 from bbigras/grpcurl

grpcurl: 1.0.0 -> 1.4.0

commita7ae4cbd0057efbdefbf8695c1ad185b1c56ccff authorBas van Dijk <v.dijk.bas@gmail.com> dateFri 7 Feb 2020, 11:32 (7 years ago) parent57ed5db005c829
4 files changed+187−129
pkgs/tools/networking/grpcurl/default.nix+4−6 pkgs/tools/networking/grpcurl/deps-darwin.nix−57 pkgs/tools/networking/grpcurl/deps-linux.nix−66 pkgs/tools/networking/grpcurl/deps.nix+183
pkgs/tools/networking/grpcurl/default.nix+4−6
@@ -4,7 +4,7 @@
44
55buildGoPackage rec {
66 pname = "grpcurl";
7− version = "1.0.0";
7+ version = "1.4.0";
88 rev = "v${version}";
99
1010 goPackagePath = "github.com/fullstorydev/grpcurl";
@@ -12,13 +12,11 @@ buildGoPackage rec {
1212 src = fetchFromGitHub {
1313 owner = "fullstorydev";
1414 repo = "grpcurl";
15− rev = "d4d048fade4abcc2f0c3fb6f3e207289401d0a10";
16− sha256 = "0v45lwjw2phavhi6m4ql49ri1423m249a6xcf00v9hi2x1y9dh6q";
15+ rev = "ccc9007156e7177388c8dd45ec694aebeb2da996";
16+ sha256 = "1zgiqg9c6vk45x16n04bpfvj9z838nck7ihdcsbfz89xgq7f1c0b";
1717 };
1818
19− goDeps = if stdenv.isDarwin
20− then ./deps-darwin.nix
21− else ./deps-linux.nix;
19+ goDeps = ./deps.nix;
2220
2321 meta = {
2422 description = "Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers";
pkgs/tools/networking/grpcurl/deps-darwin.nixdeleted−57
@@ -1,57 +0,0 @@
1−# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
2−[
3− {
4− goPackagePath = "github.com/golang/protobuf";
5− fetch = {
6− type = "git";
7− url = "https://github.com/golang/protobuf";
8− rev = "ddf22928ea3c56eb4292a0adbbf5001b1e8e7d0d";
9− sha256 = "16awkanx2rgxzhwi9vpm4i8jmmsw10gb104ncwfinvb6a9nzm28l";
10− };
11− }
12− {
13− goPackagePath = "github.com/jhump/protoreflect";
14− fetch = {
15− type = "git";
16− url = "https://github.com/jhump/protoreflect";
17− rev = "b28d968eb345542b430a717dc72a88abf10d0b95";
18− sha256 = "0i8k55xx2wyzfz635nbjqma505sn03l75mq6lgbknzwhv1xbx39s";
19− };
20− }
21− {
22− goPackagePath = "golang.org/x/net";
23− fetch = {
24− type = "git";
25− url = "https://go.googlesource.com/net";
26− rev = "146acd28ed5894421fb5aac80ca93bc1b1f46f87";
27− sha256 = "0d177474z85nvxz8ch6y9wjqz288844wwx8q9za3x2njnk4jbgxj";
28− };
29− }
30− {
31− goPackagePath = "golang.org/x/text";
32− fetch = {
33− type = "git";
34− url = "https://go.googlesource.com/text";
35− rev = "4d1c5fb19474adfe9562c9847ba425e7da817e81";
36− sha256 = "1y4rf9cmjyf8r56khr1sz0chbq1v0ynaj63i2z1mq6k6h6ww45da";
37− };
38− }
39− {
40− goPackagePath = "google.golang.org/genproto";
41− fetch = {
42− type = "git";
43− url = "https://github.com/google/go-genproto";
44− rev = "af9cb2a35e7f169ec875002c1829c9b315cddc04";
45− sha256 = "1942rw8h7zhbzvxn1rqn8z265sl2i14hm0z4hbfbc93slmml7p7n";
46− };
47− }
48− {
49− goPackagePath = "google.golang.org/grpc";
50− fetch = {
51− type = "git";
52− url = "https://github.com/grpc/grpc-go";
53− rev = "c195587d96d5ae30321b96a1e2e175fea09e9fda";
54− sha256 = "1av4hgaqk0hgji8ycdkgganh6bqajk2ygm4ifrmyzbm1hzwi3gg7";
55− };
56− }
57−]
pkgs/tools/networking/grpcurl/deps-linux.nixdeleted−66
@@ -1,66 +0,0 @@
1−# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
2−[
3− {
4− goPackagePath = "github.com/golang/protobuf";
5− fetch = {
6− type = "git";
7− url = "https://github.com/golang/protobuf";
8− rev = "ddf22928ea3c56eb4292a0adbbf5001b1e8e7d0d";
9− sha256 = "16awkanx2rgxzhwi9vpm4i8jmmsw10gb104ncwfinvb6a9nzm28l";
10− };
11− }
12− {
13− goPackagePath = "github.com/jhump/protoreflect";
14− fetch = {
15− type = "git";
16− url = "https://github.com/jhump/protoreflect";
17− rev = "b28d968eb345542b430a717dc72a88abf10d0b95";
18− sha256 = "0i8k55xx2wyzfz635nbjqma505sn03l75mq6lgbknzwhv1xbx39s";
19− };
20− }
21− {
22− goPackagePath = "golang.org/x/net";
23− fetch = {
24− type = "git";
25− url = "https://go.googlesource.com/net";
26− rev = "49bb7cea24b1df9410e1712aa6433dae904ff66a";
27− sha256 = "111q4qm3hcjvzvyv9y5rz8ydnyg48rckcygxqy6gv63q618wz6gn";
28− };
29− }
30− {
31− goPackagePath = "golang.org/x/sys";
32− fetch = {
33− type = "git";
34− url = "https://go.googlesource.com/sys";
35− rev = "4497e2df6f9e69048a54498c7affbbec3294ad47";
36− sha256 = "028qmbfmy84pl7wmjgvrv1x7x7nzv3qr9w7vcnrcparr43k7415s";
37− };
38− }
39− {
40− goPackagePath = "golang.org/x/text";
41− fetch = {
42− type = "git";
43− url = "https://go.googlesource.com/text";
44− rev = "4d1c5fb19474adfe9562c9847ba425e7da817e81";
45− sha256 = "1y4rf9cmjyf8r56khr1sz0chbq1v0ynaj63i2z1mq6k6h6ww45da";
46− };
47− }
48− {
49− goPackagePath = "google.golang.org/genproto";
50− fetch = {
51− type = "git";
52− url = "https://github.com/google/go-genproto";
53− rev = "af9cb2a35e7f169ec875002c1829c9b315cddc04";
54− sha256 = "1942rw8h7zhbzvxn1rqn8z265sl2i14hm0z4hbfbc93slmml7p7n";
55− };
56− }
57− {
58− goPackagePath = "google.golang.org/grpc";
59− fetch = {
60− type = "git";
61− url = "https://github.com/grpc/grpc-go";
62− rev = "c195587d96d5ae30321b96a1e2e175fea09e9fda";
63− sha256 = "1av4hgaqk0hgji8ycdkgganh6bqajk2ygm4ifrmyzbm1hzwi3gg7";
64− };
65− }
66−]
pkgs/tools/networking/grpcurl/deps.nixnew file+183
@@ -0,0 +1,183 @@
1+# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
2+[
3+ {
4+ goPackagePath = "cloud.google.com/go";
5+ fetch = {
6+ type = "git";
7+ url = "https://code.googlesource.com/gocloud";
8+ rev = "v0.26.0";
9+ sha256 = "149v3ci17g6wd2pm18mzcncq5qpl9hwdjnz3rlbn5rfidyn46la1";
10+ };
11+ }
12+ {
13+ goPackagePath = "github.com/BurntSushi/toml";
14+ fetch = {
15+ type = "git";
16+ url = "https://github.com/BurntSushi/toml";
17+ rev = "v0.3.1";
18+ sha256 = "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6";
19+ };
20+ }
21+ {
22+ goPackagePath = "github.com/client9/misspell";
23+ fetch = {
24+ type = "git";
25+ url = "https://github.com/client9/misspell";
26+ rev = "v0.3.4";
27+ sha256 = "1vwf33wsc4la25zk9nylpbp9px3svlmldkm0bha4hp56jws4q9cs";
28+ };
29+ }
30+ {
31+ goPackagePath = "github.com/golang/glog";
32+ fetch = {
33+ type = "git";
34+ url = "https://github.com/golang/glog";
35+ rev = "23def4e6c14b";
36+ sha256 = "0jb2834rw5sykfr937fxi8hxi2zy80sj2bdn9b3jb4b26ksqng30";
37+ };
38+ }
39+ {
40+ goPackagePath = "github.com/golang/mock";
41+ fetch = {
42+ type = "git";
43+ url = "https://github.com/golang/mock";
44+ rev = "v1.1.1";
45+ sha256 = "0ap8wb6pdl6ccmdb43advjll2ly4sz26wsc3axw0hbrjrybybzgy";
46+ };
47+ }
48+ {
49+ goPackagePath = "github.com/golang/protobuf";
50+ fetch = {
51+ type = "git";
52+ url = "https://github.com/golang/protobuf";
53+ rev = "v1.3.1";
54+ sha256 = "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl";
55+ };
56+ }
57+ {
58+ goPackagePath = "github.com/google/go-cmp";
59+ fetch = {
60+ type = "git";
61+ url = "https://github.com/google/go-cmp";
62+ rev = "v0.2.0";
63+ sha256 = "1fbv0x27k9sn8svafc0hjwsnckk864lv4yi7bvzrxvmd3d5hskds";
64+ };
65+ }
66+ {
67+ goPackagePath = "github.com/jhump/protoreflect";
68+ fetch = {
69+ type = "git";
70+ url = "https://github.com/jhump/protoreflect";
71+ rev = "v1.5.0";
72+ sha256 = "1xwccif809sbgf0xginpd1cm3q1dv7c1rv0qhnvjwbkp9agd0x2a";
73+ };
74+ }
75+ {
76+ goPackagePath = "golang.org/x/crypto";
77+ fetch = {
78+ type = "git";
79+ url = "https://go.googlesource.com/crypto";
80+ rev = "c2843e01d9a2";
81+ sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r";
82+ };
83+ }
84+ {
85+ goPackagePath = "golang.org/x/lint";
86+ fetch = {
87+ type = "git";
88+ url = "https://go.googlesource.com/lint";
89+ rev = "d0100b6bd8b3";
90+ sha256 = "0b0amr9x4ji66iv9ayfx7zrfx52k1m5g66qfcxkgj80qrb1y2yn7";
91+ };
92+ }
93+ {
94+ goPackagePath = "golang.org/x/net";
95+ fetch = {
96+ type = "git";
97+ url = "https://go.googlesource.com/net";
98+ rev = "d8887717615a";
99+ sha256 = "1wfm6ngxjyj7v5a2dqib6lw8bb2rdnf1kl48diykxjrsddn0s163";
100+ };
101+ }
102+ {
103+ goPackagePath = "golang.org/x/oauth2";
104+ fetch = {
105+ type = "git";
106+ url = "https://go.googlesource.com/oauth2";
107+ rev = "d2e6202438be";
108+ sha256 = "0wbn75fd10485nb93bm4kqldqifdim5xqy4v7r5sdvimvf3fyhn7";
109+ };
110+ }
111+ {
112+ goPackagePath = "golang.org/x/sync";
113+ fetch = {
114+ type = "git";
115+ url = "https://go.googlesource.com/sync";
116+ rev = "1d60e4601c6f";
117+ sha256 = "046jlanz2lkxq1r57x9bl6s4cvfqaic6p2xybsj8mq1120jv4rs6";
118+ };
119+ }
120+ {
121+ goPackagePath = "golang.org/x/sys";
122+ fetch = {
123+ type = "git";
124+ url = "https://go.googlesource.com/sys";
125+ rev = "d0b11bdaac8a";
126+ sha256 = "18yfsmw622l7gc5sqriv5qmck6903vvhivpzp8i3xfy3z33dybdl";
127+ };
128+ }
129+ {
130+ goPackagePath = "golang.org/x/text";
131+ fetch = {
132+ type = "git";
133+ url = "https://go.googlesource.com/text";
134+ rev = "v0.3.0";
135+ sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
136+ };
137+ }
138+ {
139+ goPackagePath = "golang.org/x/tools";
140+ fetch = {
141+ type = "git";
142+ url = "https://go.googlesource.com/tools";
143+ rev = "11955173bddd";
144+ sha256 = "0hlkai67w167wiyivkzd1fgqrnyxkb94l2c6kr51jwcscizfyfn3";
145+ };
146+ }
147+ {
148+ goPackagePath = "google.golang.org/appengine";
149+ fetch = {
150+ type = "git";
151+ url = "https://github.com/golang/appengine";
152+ rev = "v1.1.0";
153+ sha256 = "1pz202zszg8f35dk5pfhwgcdi3r6dx1l4yk6x6ly7nb4j45zi96x";
154+ };
155+ }
156+ {
157+ goPackagePath = "google.golang.org/genproto";
158+ fetch = {
159+ type = "git";
160+ url = "https://github.com/google/go-genproto";
161+ rev = "c66870c02cf8";
162+ sha256 = "0siq7sv68556ygqi2d2zmvx8l1xjqdc0fylqzci5h1mq2i14bayn";
163+ };
164+ }
165+ {
166+ goPackagePath = "google.golang.org/grpc";
167+ fetch = {
168+ type = "git";
169+ url = "https://github.com/grpc/grpc-go";
170+ rev = "v1.21.0";
171+ sha256 = "0zxjlxnvjqfn6zfx7gbmqhadx0j788vxfn95g1ngbmjkgppzsnfp";
172+ };
173+ }
174+ {
175+ goPackagePath = "honnef.co/go/tools";
176+ fetch = {
177+ type = "git";
178+ url = "https://github.com/dominikh/go-tools";
179+ rev = "c2f93a96b099";
180+ sha256 = "07lg29aiap80ca9f201jzng9vjr168cv3qmvjmbd7v5pmww9kmr8";
181+ };
182+ }
183+]