Merge pull request #164910 from mjlshen/protoc-gen-go-grpc

authored by Sandro and committed by GitHub a1e16ffb edf078d9

+6 -342
+6 -9
pkgs/development/tools/protoc-gen-go-grpc/default.nix
··· 1 - { buildGoPackage 1 + { buildGoModule 2 2 , fetchFromGitHub 3 3 , lib 4 4 }: 5 5 6 - buildGoPackage rec { 6 + buildGoModule rec { 7 7 pname = "protoc-gen-go-grpc"; 8 - version = "1.1.0"; 9 - 10 - goPackagePath = "google.golang.org/grpc"; 8 + version = "1.2.0"; 9 + modRoot = "cmd/protoc-gen-go-grpc"; 11 10 12 11 src = fetchFromGitHub { 13 12 owner = "grpc"; 14 13 repo = "grpc-go"; 15 14 rev = "cmd/protoc-gen-go-grpc/v${version}"; 16 - sha256 = "14rjb8j6fm07rnns3dpwgkzf3y6rmia6i9n7ns6cldc5mbf7nwi3"; 15 + sha256 = "sha256-pIHMykwwyu052rqwSV5Js0+JCKCNLrFVN6XQ3xjlEOI="; 17 16 }; 18 17 19 - subPackages = [ "cmd/protoc-gen-go-grpc" ]; 20 - 21 - goDeps = ./deps.nix; 18 + vendorSha256 = "sha256-yxOfgTA5IIczehpWMM1kreMqJYKgRT5HEGbJ3SeQ/Lg="; 22 19 23 20 meta = with lib; { 24 21 description = "The Go language implementation of gRPC. HTTP/2 based RPC";
-333
pkgs/development/tools/protoc-gen-go-grpc/deps.nix
··· 1 - # file generated from go.mod using vgo2nix (https://github.com/nix-community/vgo2nix) 2 - [ 3 - { 4 - goPackagePath = "cloud.google.com/go"; 5 - fetch = { 6 - type = "git"; 7 - url = "https://github.com/googleapis/google-cloud-go"; 8 - rev = "v0.26.0"; 9 - sha256 = "149v3ci17g6wd2pm18mzcncq5qpl9hwdjnz3rlbn5rfidyn46la1"; 10 - moduleDir = ""; 11 - }; 12 - } 13 - { 14 - goPackagePath = "github.com/BurntSushi/toml"; 15 - fetch = { 16 - type = "git"; 17 - url = "https://github.com/BurntSushi/toml"; 18 - rev = "v0.3.1"; 19 - sha256 = "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6"; 20 - moduleDir = ""; 21 - }; 22 - } 23 - { 24 - goPackagePath = "github.com/census-instrumentation/opencensus-proto"; 25 - fetch = { 26 - type = "git"; 27 - url = "https://github.com/census-instrumentation/opencensus-proto"; 28 - rev = "v0.2.1"; 29 - sha256 = "19fcx3sc99i5dsklny6r073z5j20vlwn2xqm6di1q3b1xwchzqfj"; 30 - moduleDir = ""; 31 - }; 32 - } 33 - { 34 - goPackagePath = "github.com/client9/misspell"; 35 - fetch = { 36 - type = "git"; 37 - url = "https://github.com/client9/misspell"; 38 - rev = "v0.3.4"; 39 - sha256 = "1vwf33wsc4la25zk9nylpbp9px3svlmldkm0bha4hp56jws4q9cs"; 40 - moduleDir = ""; 41 - }; 42 - } 43 - { 44 - goPackagePath = "github.com/cncf/udpa/go"; 45 - fetch = { 46 - type = "git"; 47 - url = "https://github.com/cncf/udpa"; 48 - rev = "5459f2c99403"; 49 - sha256 = "0i3al193dsp91j7iywqrm6fr56y2sz51ci4vf19mb3j4n2x44gsi"; 50 - moduleDir = "go"; 51 - }; 52 - } 53 - { 54 - goPackagePath = "github.com/davecgh/go-spew"; 55 - fetch = { 56 - type = "git"; 57 - url = "https://github.com/davecgh/go-spew"; 58 - rev = "v1.1.0"; 59 - sha256 = "0d4jfmak5p6lb7n2r6yvf5p1zcw0l8j74kn55ghvr7zr7b7axm6c"; 60 - moduleDir = ""; 61 - }; 62 - } 63 - { 64 - goPackagePath = "github.com/envoyproxy/go-control-plane"; 65 - fetch = { 66 - type = "git"; 67 - url = "https://github.com/envoyproxy/go-control-plane"; 68 - rev = "668b12f5399d"; 69 - sha256 = "0vmhc8ii081x1k2qw4kji7wjyg6l25zp1y6qxi27wq8m341i4rzb"; 70 - moduleDir = ""; 71 - }; 72 - } 73 - { 74 - goPackagePath = "github.com/envoyproxy/protoc-gen-validate"; 75 - fetch = { 76 - type = "git"; 77 - url = "https://github.com/envoyproxy/protoc-gen-validate"; 78 - rev = "v0.1.0"; 79 - sha256 = "0kxd3wwh3xwqk0r684hsy281xq4y71cd11d4q2hspcjbnlbwh7cy"; 80 - moduleDir = ""; 81 - }; 82 - } 83 - { 84 - goPackagePath = "github.com/golang/glog"; 85 - fetch = { 86 - type = "git"; 87 - url = "https://github.com/golang/glog"; 88 - rev = "23def4e6c14b"; 89 - sha256 = "0jb2834rw5sykfr937fxi8hxi2zy80sj2bdn9b3jb4b26ksqng30"; 90 - moduleDir = ""; 91 - }; 92 - } 93 - { 94 - goPackagePath = "github.com/golang/mock"; 95 - fetch = { 96 - type = "git"; 97 - url = "https://github.com/golang/mock"; 98 - rev = "v1.1.1"; 99 - sha256 = "0ap8wb6pdl6ccmdb43advjll2ly4sz26wsc3axw0hbrjrybybzgy"; 100 - moduleDir = ""; 101 - }; 102 - } 103 - { 104 - goPackagePath = "github.com/golang/protobuf"; 105 - fetch = { 106 - type = "git"; 107 - url = "https://github.com/golang/protobuf"; 108 - rev = "v1.4.2"; 109 - sha256 = "0m5z81im4nsyfgarjhppayk4hqnrwswr3nix9mj8pff8x9jvcjqw"; 110 - moduleDir = ""; 111 - }; 112 - } 113 - { 114 - goPackagePath = "github.com/google/go-cmp"; 115 - fetch = { 116 - type = "git"; 117 - url = "https://github.com/google/go-cmp"; 118 - rev = "v0.5.0"; 119 - sha256 = "04pzp583p6b32y34c6jygfxarff9qjs39rarvfh6467z24sdd9k4"; 120 - moduleDir = ""; 121 - }; 122 - } 123 - { 124 - goPackagePath = "github.com/google/uuid"; 125 - fetch = { 126 - type = "git"; 127 - url = "https://github.com/google/uuid"; 128 - rev = "v1.1.2"; 129 - sha256 = "1rbpfa0v0ly9sdnixcxhf79swki54ikgm1zkwwkj64p1ws66syqd"; 130 - moduleDir = ""; 131 - }; 132 - } 133 - { 134 - goPackagePath = "github.com/pmezard/go-difflib"; 135 - fetch = { 136 - type = "git"; 137 - url = "https://github.com/pmezard/go-difflib"; 138 - rev = "v1.0.0"; 139 - sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw"; 140 - moduleDir = ""; 141 - }; 142 - } 143 - { 144 - goPackagePath = "github.com/prometheus/client_model"; 145 - fetch = { 146 - type = "git"; 147 - url = "https://github.com/prometheus/client_model"; 148 - rev = "14fe0d1b01d4"; 149 - sha256 = "0zdmk6rbbx39cvfz0r59v2jg5sg9yd02b4pds5n5llgvivi99550"; 150 - moduleDir = ""; 151 - }; 152 - } 153 - { 154 - goPackagePath = "github.com/stretchr/objx"; 155 - fetch = { 156 - type = "git"; 157 - url = "https://github.com/stretchr/objx"; 158 - rev = "v0.1.0"; 159 - sha256 = "19ynspzjdynbi85xw06mh8ad5j0qa1vryvxjgvbnyrr8rbm4vd8w"; 160 - moduleDir = ""; 161 - }; 162 - } 163 - { 164 - goPackagePath = "github.com/stretchr/testify"; 165 - fetch = { 166 - type = "git"; 167 - url = "https://github.com/stretchr/testify"; 168 - rev = "v1.5.1"; 169 - sha256 = "09r89m1wy4cjv2nps1ykp00qjpi0531r07q3s34hr7m6njk4srkl"; 170 - moduleDir = ""; 171 - }; 172 - } 173 - { 174 - goPackagePath = "golang.org/x/crypto"; 175 - fetch = { 176 - type = "git"; 177 - url = "https://go.googlesource.com/crypto"; 178 - rev = "c2843e01d9a2"; 179 - sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r"; 180 - moduleDir = ""; 181 - }; 182 - } 183 - { 184 - goPackagePath = "golang.org/x/exp"; 185 - fetch = { 186 - type = "git"; 187 - url = "https://go.googlesource.com/exp"; 188 - rev = "509febef88a4"; 189 - sha256 = "02isrh39z8znrp5znplzy0dip2gnrl3jm1355raliyvhnhg04j6q"; 190 - moduleDir = ""; 191 - }; 192 - } 193 - { 194 - goPackagePath = "golang.org/x/lint"; 195 - fetch = { 196 - type = "git"; 197 - url = "https://go.googlesource.com/lint"; 198 - rev = "d0100b6bd8b3"; 199 - sha256 = "0b0amr9x4ji66iv9ayfx7zrfx52k1m5g66qfcxkgj80qrb1y2yn7"; 200 - moduleDir = ""; 201 - }; 202 - } 203 - { 204 - goPackagePath = "golang.org/x/net"; 205 - fetch = { 206 - type = "git"; 207 - url = "https://go.googlesource.com/net"; 208 - rev = "d8887717615a"; 209 - sha256 = "1wfm6ngxjyj7v5a2dqib6lw8bb2rdnf1kl48diykxjrsddn0s163"; 210 - moduleDir = ""; 211 - }; 212 - } 213 - { 214 - goPackagePath = "golang.org/x/oauth2"; 215 - fetch = { 216 - type = "git"; 217 - url = "https://go.googlesource.com/oauth2"; 218 - rev = "d2e6202438be"; 219 - sha256 = "0wbn75fd10485nb93bm4kqldqifdim5xqy4v7r5sdvimvf3fyhn7"; 220 - moduleDir = ""; 221 - }; 222 - } 223 - { 224 - goPackagePath = "golang.org/x/sync"; 225 - fetch = { 226 - type = "git"; 227 - url = "https://go.googlesource.com/sync"; 228 - rev = "112230192c58"; 229 - sha256 = "05i2k43j2d0llq768hg5pf3hb2yhfzp9la1w5wp0rsnnzblr0lfn"; 230 - moduleDir = ""; 231 - }; 232 - } 233 - { 234 - goPackagePath = "golang.org/x/sys"; 235 - fetch = { 236 - type = "git"; 237 - url = "https://go.googlesource.com/sys"; 238 - rev = "d0b11bdaac8a"; 239 - sha256 = "18yfsmw622l7gc5sqriv5qmck6903vvhivpzp8i3xfy3z33dybdl"; 240 - moduleDir = ""; 241 - }; 242 - } 243 - { 244 - goPackagePath = "golang.org/x/text"; 245 - fetch = { 246 - type = "git"; 247 - url = "https://go.googlesource.com/text"; 248 - rev = "v0.3.0"; 249 - sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19"; 250 - moduleDir = ""; 251 - }; 252 - } 253 - { 254 - goPackagePath = "golang.org/x/tools"; 255 - fetch = { 256 - type = "git"; 257 - url = "https://go.googlesource.com/tools"; 258 - rev = "2c0ae7006135"; 259 - sha256 = "1lsi2ssxajclj3bciz2a41v1vjv768ja3v6wnbyhxy8xphwkp4fk"; 260 - moduleDir = ""; 261 - }; 262 - } 263 - { 264 - goPackagePath = "golang.org/x/xerrors"; 265 - fetch = { 266 - type = "git"; 267 - url = "https://go.googlesource.com/xerrors"; 268 - rev = "9bdfabe68543"; 269 - sha256 = "1yjfi1bk9xb81lqn85nnm13zz725wazvrx3b50hx19qmwg7a4b0c"; 270 - moduleDir = ""; 271 - }; 272 - } 273 - { 274 - goPackagePath = "google.golang.org/appengine"; 275 - fetch = { 276 - type = "git"; 277 - url = "https://github.com/golang/appengine"; 278 - rev = "v1.4.0"; 279 - sha256 = "06zl7w4sxgdq2pl94wy9ncii6h0z3szl4xpqds0sv3b3wbdlhbnn"; 280 - moduleDir = ""; 281 - }; 282 - } 283 - { 284 - goPackagePath = "google.golang.org/genproto"; 285 - fetch = { 286 - type = "git"; 287 - url = "https://github.com/googleapis/go-genproto"; 288 - rev = "cb27e3aa2013"; 289 - sha256 = "0ml73ghqcwbz7ipfk8fnxb5indcml49b5p7vp1fsyny0abyyrmxf"; 290 - moduleDir = ""; 291 - }; 292 - } 293 - { 294 - goPackagePath = "google.golang.org/protobuf"; 295 - fetch = { 296 - type = "git"; 297 - url = "https://go.googlesource.com/protobuf"; 298 - rev = "v1.25.0"; 299 - sha256 = "0apfl42x166dh96zfq5kvv4b4ax9xljik6bq1mnvn2240ir3mc23"; 300 - moduleDir = ""; 301 - }; 302 - } 303 - { 304 - goPackagePath = "gopkg.in/check.v1"; 305 - fetch = { 306 - type = "git"; 307 - url = "https://gopkg.in/check.v1"; 308 - rev = "20d25e280405"; 309 - sha256 = "0k1m83ji9l1a7ng8a7v40psbymxasmssbrrhpdv2wl4rhs0nc3np"; 310 - moduleDir = ""; 311 - }; 312 - } 313 - { 314 - goPackagePath = "gopkg.in/yaml.v2"; 315 - fetch = { 316 - type = "git"; 317 - url = "https://gopkg.in/yaml.v2"; 318 - rev = "v2.2.2"; 319 - sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa"; 320 - moduleDir = ""; 321 - }; 322 - } 323 - { 324 - goPackagePath = "honnef.co/go/tools"; 325 - fetch = { 326 - type = "git"; 327 - url = "https://github.com/dominikh/go-tools"; 328 - rev = "ea95bdfd59fc"; 329 - sha256 = "1763nw7pwpzkvzfnm63dgzcgbq9hwmq5l1nffchnhh77vgkaq4ic"; 330 - moduleDir = ""; 331 - }; 332 - } 333 - ]