diff --git a/third_party/gopkgs/github.com/armon/go-metrics/default.nix b/third_party/gopkgs/github.com/armon/go-metrics/default.nix new file mode 100644 index 0000000000..4b6126196d --- /dev/null +++ b/third_party/gopkgs/github.com/armon/go-metrics/default.nix @@ -0,0 +1,18 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/armon/go-metrics"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "armon"; + repo = "go-metrics"; + rev = "v0.3.10"; + hash = "sha256:07ycr1qswxx2r30r1dr27ggnjwxllcab17193sy2hfyps2ka31s2"; + }; + + deps = with depot.third_party; [ + gopkgs."github.com".hashicorp.go-immutable-radix + ]; +} diff --git a/third_party/gopkgs/github.com/armon/go-radix/default.nix b/third_party/gopkgs/github.com/armon/go-radix/default.nix new file mode 100644 index 0000000000..f0bfe894d4 --- /dev/null +++ b/third_party/gopkgs/github.com/armon/go-radix/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/armon/go-radix"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "armon"; + repo = "go-radix"; + rev = "v1.0.0"; + hash = "sha256:1m1k0jz9gjfrk4m7hjm7p03qmviamfgxwm2ghakqxw3hdds8v503"; + }; +} diff --git a/third_party/gopkgs/github.com/cenkalti/backoff/v3/default.nix b/third_party/gopkgs/github.com/cenkalti/backoff/v3/default.nix new file mode 100644 index 0000000000..a0da0f8146 --- /dev/null +++ b/third_party/gopkgs/github.com/cenkalti/backoff/v3/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/cenkalti/backoff/v3"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "cenkalti"; + repo = "backoff"; + rev = "v3.2.2"; + hash = "sha256:01h52k1sl6drabm3fgd4yy1iwbz06wcbbh16zd6v4wi7slabma9m"; + }; +} diff --git a/third_party/gopkgs/github.com/fatih/color/default.nix b/third_party/gopkgs/github.com/fatih/color/default.nix new file mode 100644 index 0000000000..42d70ed70b --- /dev/null +++ b/third_party/gopkgs/github.com/fatih/color/default.nix @@ -0,0 +1,19 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/fatih/color"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "fatih"; + repo = "color"; + rev = "v1.13.0"; + hash = "sha256:029qkxsdpblhrpgbv4fcmqwkqnjhx08hwiqp19pd7zz6l8a373ay"; + }; + + deps = with depot.third_party; [ + gopkgs."github.com".mattn.go-colorable + gopkgs."github.com".mattn.go-isatty + ]; +} diff --git a/third_party/gopkgs/github.com/golang/protobuf/default.nix b/third_party/gopkgs/github.com/golang/protobuf/default.nix index 83a8abfd93..70d6dd9301 100644 --- a/third_party/gopkgs/github.com/golang/protobuf/default.nix +++ b/third_party/gopkgs/github.com/golang/protobuf/default.nix @@ -19,9 +19,11 @@ depot.third_party.buildGo.external { reflect.protoregistry runtime.protoiface runtime.protoimpl - types.known.timestamppb + types.descriptorpb types.known.anypb types.known.durationpb + types.known.emptypb + types.known.timestamppb types.known.wrapperspb ]; } diff --git a/third_party/gopkgs/github.com/golang/snappy/default.nix b/third_party/gopkgs/github.com/golang/snappy/default.nix new file mode 100644 index 0000000000..103d3163fc --- /dev/null +++ b/third_party/gopkgs/github.com/golang/snappy/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/golang/snappy"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "golang"; + repo = "snappy"; + rev = "v0.0.4"; + hash = "sha256:004cw699yz3pdpawhjhpa0y94c4w479nw1rf39zj6h6027kpwv2j"; + }; +} diff --git a/third_party/gopkgs/github.com/hashicorp/errwrap/default.nix b/third_party/gopkgs/github.com/hashicorp/errwrap/default.nix new file mode 100644 index 0000000000..73e35b4aec --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/errwrap/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/errwrap"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "errwrap"; + rev = "v1.1.0"; + hash = "sha256:0p5wdz8p7dmwphmb33gwhy3iwci5k9wkfqmmfa6ay1lz0cqjwp7a"; + }; +} diff --git a/third_party/gopkgs/github.com/hashicorp/go-cleanhttp/default.nix b/third_party/gopkgs/github.com/hashicorp/go-cleanhttp/default.nix new file mode 100644 index 0000000000..3062bf85ff --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/go-cleanhttp/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/go-cleanhttp"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "go-cleanhttp"; + rev = "v0.5.2"; + hash = "sha256:1i5xslizzwd966w81bz6dxjwzgml4q9bwqa186bsxd1vi8lqxl9p"; + }; +} diff --git a/third_party/gopkgs/github.com/hashicorp/go-hclog/default.nix b/third_party/gopkgs/github.com/hashicorp/go-hclog/default.nix new file mode 100644 index 0000000000..98760144ad --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/go-hclog/default.nix @@ -0,0 +1,19 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/go-hclog"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "go-hclog"; + rev = "v1.1.0"; + hash = "sha256:07f8cad9iijk0s7bdirk9kk30cp4kw1fi6rjxjnvrn3ilk4hnbal"; + }; + + deps = with depot.third_party; [ + gopkgs."github.com".fatih.color + gopkgs."github.com".mattn.go-isatty + ]; +} diff --git a/third_party/gopkgs/github.com/hashicorp/go-immutable-radix/default.nix b/third_party/gopkgs/github.com/hashicorp/go-immutable-radix/default.nix new file mode 100644 index 0000000000..aa098603f1 --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/go-immutable-radix/default.nix @@ -0,0 +1,18 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/go-immutable-radix"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "go-immutable-radix"; + rev = "v1.3.1"; + hash = "sha256:0s7sf8y5lj8rx4gdymrz29gg6y2xwksfpgniaz32yzcmg3c817zb"; + }; + + deps = with depot.third_party; [ + gopkgs."github.com".hashicorp.golang-lru.simplelru + ]; +} diff --git a/third_party/gopkgs/github.com/hashicorp/go-multierror/default.nix b/third_party/gopkgs/github.com/hashicorp/go-multierror/default.nix new file mode 100644 index 0000000000..a3824f90e8 --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/go-multierror/default.nix @@ -0,0 +1,18 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/go-multierror"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "go-multierror"; + rev = "v1.1.1"; + hash = "sha256:0l4s41skdpifndn9s8y6s9vzgghdzg4z8z0lld9qjr28888wzp00"; + }; + + deps = with depot.third_party; [ + gopkgs."github.com".hashicorp.errwrap + ]; +} diff --git a/third_party/gopkgs/github.com/hashicorp/go-plugin/default.nix b/third_party/gopkgs/github.com/hashicorp/go-plugin/default.nix new file mode 100644 index 0000000000..fc93f6311a --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/go-plugin/default.nix @@ -0,0 +1,31 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/go-plugin"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "go-plugin"; + rev = "v1.4.3"; + hash = "sha256:0hl4divf5vw6l32dyqac6zd6wpjaas76138sgy1d4647ndl6wr6y"; + }; + + deps = with depot.third_party; [ + gopkgs."github.com".golang.protobuf.proto + gopkgs."github.com".golang.protobuf.ptypes.empty + gopkgs."github.com".hashicorp.go-hclog + gopkgs."github.com".hashicorp.yamux + gopkgs."github.com".mitchellh.go-testing-interface + gopkgs."github.com".oklog.run + gopkgs."golang.org".x.net.context + gopkgs."google.golang.org".grpc + gopkgs."google.golang.org".grpc.codes + gopkgs."google.golang.org".grpc.credentials + gopkgs."google.golang.org".grpc.health + gopkgs."google.golang.org".grpc.health.grpc_health_v1 + gopkgs."google.golang.org".grpc.reflection + gopkgs."google.golang.org".grpc.status + ]; +} diff --git a/third_party/gopkgs/github.com/hashicorp/go-retryablehttp/default.nix b/third_party/gopkgs/github.com/hashicorp/go-retryablehttp/default.nix new file mode 100644 index 0000000000..b019fb09a4 --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/go-retryablehttp/default.nix @@ -0,0 +1,18 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/go-retryablehttp"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "go-retryablehttp"; + rev = "v0.7.0"; + hash = "sha256:1pq6a7qyb4yvbvbpkqw8qq2qnk3i3mfalfg61g4lnddf33wad8yl"; + }; + + deps = with depot.third_party; [ + gopkgs."github.com".hashicorp.go-cleanhttp + ]; +} diff --git a/third_party/gopkgs/github.com/hashicorp/go-rootcerts/default.nix b/third_party/gopkgs/github.com/hashicorp/go-rootcerts/default.nix new file mode 100644 index 0000000000..6719ca5ab4 --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/go-rootcerts/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/go-rootcerts"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "go-rootcerts"; + rev = "v1.0.2"; + hash = "sha256:06z1bxcnr0rma02b6r52m6y0q7niikqjs090vm1i8xi3scyaw1qa"; + }; +} diff --git a/third_party/gopkgs/github.com/hashicorp/go-secure-stdlib/default.nix b/third_party/gopkgs/github.com/hashicorp/go-secure-stdlib/default.nix new file mode 100644 index 0000000000..243be460a1 --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/go-secure-stdlib/default.nix @@ -0,0 +1,21 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/go-secure-stdlib"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "go-secure-stdlib"; + rev = "d1528ed77b0cdb418257f44f16399d3d8afed309"; + hash = "sha256:07bljsqjqk4w61y11dd46m4a0q00hxpn4lk886biign870i47lpc"; + }; + + deps = with depot.third_party; [ + gopkgs."github.com".hashicorp.go-sockaddr + gopkgs."github.com".mitchellh.mapstructure + gopkgs."github.com".ryanuber.go-glob + gopkgs."golang.org".x.sys.unix + ]; +} diff --git a/third_party/gopkgs/github.com/hashicorp/go-sockaddr/default.nix b/third_party/gopkgs/github.com/hashicorp/go-sockaddr/default.nix new file mode 100644 index 0000000000..dc07ff0f6d --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/go-sockaddr/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/go-sockaddr"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "go-sockaddr"; + rev = "v1.0.2"; + hash = "sha256:0y106nhd3s63lj7h7k21iq0br97h0z9qjrvx028zqcsq9407k9is"; + }; +} diff --git a/third_party/gopkgs/github.com/hashicorp/go-uuid/default.nix b/third_party/gopkgs/github.com/hashicorp/go-uuid/default.nix new file mode 100644 index 0000000000..de462445f5 --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/go-uuid/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/go-uuid"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "go-uuid"; + rev = "v1.0.2"; + hash = "sha256:1azjn5a03cv0bdab3clmkfz8g9807nxxjwy9i7dy73p7d4sikhja"; + }; +} diff --git a/third_party/gopkgs/github.com/hashicorp/go-version/default.nix b/third_party/gopkgs/github.com/hashicorp/go-version/default.nix new file mode 100644 index 0000000000..09fe97110a --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/go-version/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/go-version"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "go-version"; + rev = "v1.4.0"; + hash = "sha256:1l288gwbnk8axrb9kiyl0ljq92wk66x3smf0mhyk6ikxsfqqh52s"; + }; +} diff --git a/third_party/gopkgs/github.com/hashicorp/golang-lru/default.nix b/third_party/gopkgs/github.com/hashicorp/golang-lru/default.nix new file mode 100644 index 0000000000..001928e691 --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/golang-lru/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/golang-lru"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "golang-lru"; + rev = "v0.5.4"; + hash = "sha256:1sdbymypp9vrnzp8ashw0idlxvaq0rb0alwxx3x8g27yjlqi9jfn"; + }; +} diff --git a/third_party/gopkgs/github.com/hashicorp/hcl/default.nix b/third_party/gopkgs/github.com/hashicorp/hcl/default.nix new file mode 100644 index 0000000000..a451493b9f --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/hcl/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/hcl"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "hcl"; + rev = "v1.0.1-vault-3"; + hash = "sha256:145xgbmi3nijm8xknnnx11lbixn891vmdkc3fawb34rk59s2bnxj"; + }; +} diff --git a/third_party/gopkgs/github.com/hashicorp/vault/default.nix b/third_party/gopkgs/github.com/hashicorp/vault/default.nix new file mode 100644 index 0000000000..b7e20bd3fc --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/vault/default.nix @@ -0,0 +1,51 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/vault"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "vault"; + rev = "v1.9.4"; + hash = "sha256:0sxx2qn20pjyvlza65mjlms7zp34r78k5hihbzmv4ikyd8rm3ayf"; + }; + + deps = with depot.third_party; [ + gopkgs."github.com".armon.go-metrics + gopkgs."github.com".armon.go-radix + gopkgs."github.com".cenkalti.backoff.v3 + gopkgs."github.com".golang.snappy + gopkgs."github.com".hashicorp.errwrap + gopkgs."github.com".hashicorp.go-cleanhttp + gopkgs."github.com".hashicorp.go-hclog + gopkgs."github.com".hashicorp.go-immutable-radix + gopkgs."github.com".hashicorp.go-multierror + gopkgs."github.com".hashicorp.go-plugin + gopkgs."github.com".hashicorp.go-retryablehttp + gopkgs."github.com".hashicorp.go-rootcerts + gopkgs."github.com".hashicorp.go-secure-stdlib.mlock + gopkgs."github.com".hashicorp.go-secure-stdlib.parseutil + gopkgs."github.com".hashicorp.go-secure-stdlib.strutil + gopkgs."github.com".hashicorp.go-sockaddr + gopkgs."github.com".hashicorp.go-uuid + gopkgs."github.com".hashicorp.go-version + gopkgs."github.com".hashicorp.golang-lru + gopkgs."github.com".hashicorp.hcl + gopkgs."github.com".hashicorp.hcl.hcl.ast + gopkgs."github.com".mitchellh.copystructure + gopkgs."github.com".mitchellh.go-testing-interface + gopkgs."github.com".mitchellh.mapstructure + gopkgs."github.com".pierrec.lz4 + gopkgs."golang.org".x.crypto.blake2b + gopkgs."golang.org".x.crypto.cryptobyte + gopkgs."golang.org".x.crypto.cryptobyte.asn1 + gopkgs."golang.org".x.net.http2 + gopkgs."golang.org".x.time.rate + gopkgs."google.golang.org".protobuf.reflect.protoreflect + gopkgs."google.golang.org".protobuf.runtime.protoimpl + gopkgs."gopkg.in".square."go-jose.v2".jwt + gopkgs."go.uber.org".atomic + ]; +} diff --git a/third_party/gopkgs/github.com/hashicorp/yamux/default.nix b/third_party/gopkgs/github.com/hashicorp/yamux/default.nix new file mode 100644 index 0000000000..d0a7d21973 --- /dev/null +++ b/third_party/gopkgs/github.com/hashicorp/yamux/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/hashicorp/yamux"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "hashicorp"; + repo = "yamux"; + rev = "0bc27b27de87381b58e35462a8dcbd69040279c1"; + hash = "sha256:18bzxfgbck1289kwnz3isznl3w261xas47y4dys4vdn4vmwp82kb"; + }; +} diff --git a/third_party/gopkgs/github.com/mattn/go-colorable/default.nix b/third_party/gopkgs/github.com/mattn/go-colorable/default.nix new file mode 100644 index 0000000000..71a97207db --- /dev/null +++ b/third_party/gopkgs/github.com/mattn/go-colorable/default.nix @@ -0,0 +1,18 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/mattn/go-colorable"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "mattn"; + repo = "go-colorable"; + rev = "v0.1.12"; + hash = "sha256:09pm6ccaxj4f524fnvmbaj1j0pj9gpp6h3bwa32craqiw5bmi93i"; + }; + + deps = with depot.third_party; [ + gopkgs."github.com".mattn.go-isatty + ]; +} diff --git a/third_party/gopkgs/github.com/mattn/go-isatty/default.nix b/third_party/gopkgs/github.com/mattn/go-isatty/default.nix new file mode 100644 index 0000000000..206bae30d9 --- /dev/null +++ b/third_party/gopkgs/github.com/mattn/go-isatty/default.nix @@ -0,0 +1,18 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/mattn/go-isatty"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "mattn"; + repo = "go-isatty"; + rev = "v0.0.14"; + hash = "sha256:015zc3j60vb85d7f2al15la24wn45piazxlagqhzrbgfdyqci60z"; + }; + + deps = with depot.third_party; [ + gopkgs."golang.org".x.sys.unix + ]; +} diff --git a/third_party/gopkgs/github.com/mitchellh/copystructure/default.nix b/third_party/gopkgs/github.com/mitchellh/copystructure/default.nix new file mode 100644 index 0000000000..b15a90c7cb --- /dev/null +++ b/third_party/gopkgs/github.com/mitchellh/copystructure/default.nix @@ -0,0 +1,17 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/mitchellh/copystructure"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "mitchellh"; + repo = "copystructure"; + rev = "v1.2.0"; + hash = "sha256:1izw243b3r03nvgnnxvk706l3s3v3q7k69kq3n4asnzjkcymq7sm"; + }; + deps = with depot.third_party; [ + gopkgs."github.com".mitchellh.reflectwalk + ]; +} diff --git a/third_party/gopkgs/github.com/mitchellh/go-testing-interface/default.nix b/third_party/gopkgs/github.com/mitchellh/go-testing-interface/default.nix new file mode 100644 index 0000000000..c5392b9733 --- /dev/null +++ b/third_party/gopkgs/github.com/mitchellh/go-testing-interface/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/mitchellh/go-testing-interface"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "mitchellh"; + repo = "go-testing-interface"; + rev = "v1.14.0"; + hash = "sha256:1v3vb3f0a8g33ii99c13agrnw8rsjjz8zfkcl64bvkcdafj7w2cz"; + }; +} diff --git a/third_party/gopkgs/github.com/mitchellh/mapstructure/default.nix b/third_party/gopkgs/github.com/mitchellh/mapstructure/default.nix new file mode 100644 index 0000000000..9775066abc --- /dev/null +++ b/third_party/gopkgs/github.com/mitchellh/mapstructure/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/mitchellh/mapstructure"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "mitchellh"; + repo = "mapstructure"; + rev = "v1.4.3"; + hash = "sha256:0crp7zd5qlvka5pyr42i16ag4dh1swdlzw6pc67i441b33yqbnys"; + }; +} diff --git a/third_party/gopkgs/github.com/mitchellh/reflectwalk/default.nix b/third_party/gopkgs/github.com/mitchellh/reflectwalk/default.nix new file mode 100644 index 0000000000..22f6f736c9 --- /dev/null +++ b/third_party/gopkgs/github.com/mitchellh/reflectwalk/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/mitchellh/reflectwalk"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "mitchellh"; + repo = "reflectwalk"; + rev = "v1.0.2"; + hash = "sha256:1nxgb4gskzv045539vb312n0a443308dvh1akz7vi6x1l0z46zsm"; + }; +} diff --git a/third_party/gopkgs/github.com/oklog/run/default.nix b/third_party/gopkgs/github.com/oklog/run/default.nix new file mode 100644 index 0000000000..ed8a09d252 --- /dev/null +++ b/third_party/gopkgs/github.com/oklog/run/default.nix @@ -0,0 +1,16 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/oklog/run"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "oklog"; + repo = "run"; + rev = "v1.1.0"; + hash = "sha256:0r55p3kgdkgw55i33lqvvvl60mjp92mhd1170m980sw98z9150jk"; + }; + + deps = with depot.third_party; []; +} diff --git a/third_party/gopkgs/github.com/pierrec/lz4/default.nix b/third_party/gopkgs/github.com/pierrec/lz4/default.nix new file mode 100644 index 0000000000..79c6c99f3f --- /dev/null +++ b/third_party/gopkgs/github.com/pierrec/lz4/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/pierrec/lz4"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "pierrec"; + repo = "lz4"; + rev = "v2.6.1"; + hash = "sha256:0vfn01gd3hcpbj6gb4ig3pw6bv0g4j5780awr0fv4kf9id8gjvyy"; + }; +} diff --git a/third_party/gopkgs/github.com/ryanuber/go-glob/default.nix b/third_party/gopkgs/github.com/ryanuber/go-glob/default.nix new file mode 100644 index 0000000000..a623a02547 --- /dev/null +++ b/third_party/gopkgs/github.com/ryanuber/go-glob/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "github.com/ryanuber/go-glob"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "ryanuber"; + repo = "go-glob"; + rev = "v1.0.0"; + hash = "sha256:0mhrjy0iba3jr6bsgy7q50zjr42ar1njn1sb2fvihlkhxgb2ahv2"; + }; +} diff --git a/third_party/gopkgs/go.uber.org/atomic/default.nix b/third_party/gopkgs/go.uber.org/atomic/default.nix new file mode 100644 index 0000000000..efa37896dd --- /dev/null +++ b/third_party/gopkgs/go.uber.org/atomic/default.nix @@ -0,0 +1,17 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "go.uber.org/atomic"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "uber-go"; + repo = "atomic"; + rev = "v1.9.0"; + hash = "sha256:187212bg6dvfwqiqqks936b6v62pkkx3zlnk5b4nz91acscc06xm"; + }; + + deps = with depot.third_party; [ + ]; +} diff --git a/third_party/gopkgs/golang.org/x/crypto/default.nix b/third_party/gopkgs/golang.org/x/crypto/default.nix index c671144056..3029e66d5a 100644 --- a/third_party/gopkgs/golang.org/x/crypto/default.nix +++ b/third_party/gopkgs/golang.org/x/crypto/default.nix @@ -12,6 +12,7 @@ depot.third_party.buildGo.external { sha256 = "1dr89jfs4dmpr3jqfshqqvfpzzdx4r76nkzhrvmixfrmn6wxrnd1"; }; deps = with depot.third_party; [ + gopkgs."golang.org".x.sys.cpu gopkgs."golang.org".x.net.idna ]; } diff --git a/third_party/gopkgs/golang.org/x/time/default.nix b/third_party/gopkgs/golang.org/x/time/default.nix new file mode 100644 index 0000000000..b41c7e59f4 --- /dev/null +++ b/third_party/gopkgs/golang.org/x/time/default.nix @@ -0,0 +1,14 @@ +# SPDX-FileCopyrightText: 2020 Luke Granger-Brown +# +# SPDX-License-Identifier: Apache-2.0 + +{ depot, ... }: +depot.third_party.buildGo.external { + path = "golang.org/x/time"; + src = depot.third_party.nixpkgs.fetchFromGitHub { + owner = "golang"; + repo = "time"; + rev = "0e9765cccd655efb9fdab0fc6cafe025144d46de"; + hash = "sha256:1jcsd4v9gfig654c33yrlj2lvgf7ghfw9d03ph9ippy4an96205s"; + }; +} diff --git a/third_party/gopkgs/google.golang.org/grpc/default.nix b/third_party/gopkgs/google.golang.org/grpc/default.nix index af06a82f96..96c787b482 100644 --- a/third_party/gopkgs/google.golang.org/grpc/default.nix +++ b/third_party/gopkgs/google.golang.org/grpc/default.nix @@ -20,6 +20,7 @@ depot.third_party.buildGo.external { gopkgs."golang.org".x.oauth2.jwt gopkgs."golang.org".x.sys.unix gopkgs."github.com".golang.protobuf.proto + gopkgs."github.com".golang.protobuf.protoc-gen-go.descriptor gopkgs."github.com".golang.protobuf.ptypes gopkgs."github.com".golang.protobuf.ptypes.duration gopkgs."github.com".golang.protobuf.ptypes.timestamp