Skip to content

Commit 4e66b09

Browse files
committed
Replace zip archives for now
This isn't a long term solve for the github issues, but avoids them until they're fixed.
1 parent c692a3a commit 4e66b09

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

swift/repositories.bzl

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,18 @@ def swift_rules_dependencies():
6868
_maybe(
6969
http_archive,
7070
name = "com_github_apple_swift_protobuf",
71-
urls = ["https://github.com/apple/swift-protobuf/archive/1.12.0.zip"],
72-
sha256 = "a9c1c14d81df690ed4c15bfb3c0aab0cb7a3f198ee95620561b89b1da7b76a9f",
71+
urls = ["https://github.com/apple/swift-protobuf/archive/1.12.0.tar.gz"],
72+
sha256 = "f50dae44d998b49c271bf9288f2e1ff564bb950d8f276b43dce2a82079b22e25",
7373
strip_prefix = "swift-protobuf-1.12.0/",
74-
type = "zip",
7574
build_file = "@build_bazel_rules_swift//third_party:com_github_apple_swift_protobuf/BUILD.overlay",
7675
)
7776

7877
_maybe(
7978
http_archive,
8079
name = "com_github_grpc_grpc_swift",
81-
urls = ["https://github.com/grpc/grpc-swift/archive/0.9.0.zip"],
82-
sha256 = "b9818134f497df073cb49e0df59bfeea801291230d6fc048fdc6aa76e453a3cb",
80+
urls = ["https://github.com/grpc/grpc-swift/archive/0.9.0.tar.gz"],
81+
sha256 = "bcaaa8c44c0d29902bf4a5c6df593286338659ffa0110cc11a0fd8fcb890feb7",
8382
strip_prefix = "grpc-swift-0.9.0/",
84-
type = "zip",
8583
build_file = "@build_bazel_rules_swift//third_party:com_github_grpc_grpc_swift/BUILD.overlay",
8684
)
8785

@@ -101,13 +99,12 @@ def swift_rules_dependencies():
10199
name = "rules_proto",
102100
# latest as of 2021-11-16
103101
urls = [
104-
"https://github.com/bazelbuild/rules_proto/archive/11bf7c25e666dd7ddacbcd4d4c4a9de7a25175f8.zip",
102+
"https://github.com/bazelbuild/rules_proto/archive/11bf7c25e666dd7ddacbcd4d4c4a9de7a25175f8.tar.gz",
105103
],
106104
patch_args = ["-p1"],
107105
patches = ["@build_bazel_rules_swift//third_party/rules_proto:rules_proto.patch"],
108-
sha256 = "810d02d1c016bea9743161f42323e59000c0690e4bf18d94e4f44e361b48645b",
106+
sha256 = "20b240eba17a36be4b0b22635aca63053913d5c1ee36e16be36499d167a2f533",
109107
strip_prefix = "rules_proto-11bf7c25e666dd7ddacbcd4d4c4a9de7a25175f8",
110-
type = "zip",
111108
)
112109

113110
# It relies on `index-import` to import indexes into Bazel's remote

0 commit comments

Comments
 (0)