-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtink_cc_awskms_deps.bzl
72 lines (64 loc) · 3.18 KB
/
tink_cc_awskms_deps.bzl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
"""Tink C++ AWS-KMS Integration Dependencies."""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def tink_cc_awskms_deps():
"""Loads dependencies for Tink C++ AWS-KMS."""
if not native.existing_rule("aws_cpp_sdk"):
# Release from 2020-06-01
http_archive(
name = "aws_cpp_sdk",
# Must be in sync with defines in third_party/aws_sdk_cpp.BUILD.bazel.
url = "https://github.com/aws/aws-sdk-cpp/archive/1.7.345.tar.gz",
sha256 = "7df6491e6e0fac726c00b5e6298d5749b131b25a3dd8b905eb311dc7dcc97aaf",
strip_prefix = "aws-sdk-cpp-1.7.345",
build_file = "@tink_cc_awskms//:third_party/aws_sdk_cpp.BUILD.bazel",
)
if not native.existing_rule("aws_c_common"):
http_archive(
name = "aws_c_common",
url = "https://github.com/awslabs/aws-c-common/archive/v0.4.29.tar.gz",
sha256 = "01c2a58553a37b3aa5914d9e0bf7bf14507ff4937bc5872a678892ca20fcae1f",
strip_prefix = "aws-c-common-0.4.29",
build_file = "@tink_cc_awskms//:third_party/aws_c_common.BUILD.bazel",
)
if not native.existing_rule("aws_c_event_stream"):
http_archive(
name = "aws_c_event_stream",
url = "https://github.com/awslabs/aws-c-event-stream/archive/v0.1.4.tar.gz",
sha256 = "31d880d1c868d3f3df1e1f4b45e56ac73724a4dc3449d04d47fc0746f6f077b6",
strip_prefix = "aws-c-event-stream-0.1.4",
build_file = "@tink_cc_awskms//:third_party/aws_c_event_stream.BUILD.bazel",
)
if not native.existing_rule("aws_checksums"):
http_archive(
name = "aws_checksums",
url = "https://github.com/awslabs/aws-checksums/archive/v0.1.5.tar.gz",
sha256 = "6e6bed6f75cf54006b6bafb01b3b96df19605572131a2260fddaf0e87949ced0",
strip_prefix = "aws-checksums-0.1.5",
build_file = "@tink_cc_awskms//:third_party/aws_checksums.BUILD.bazel",
)
if not native.existing_rule("curl"):
# Release from 2016-05-30
http_archive(
name = "curl",
url = "https://mirror.bazel.build/curl.haxx.se/download/curl-7.49.1.tar.gz",
sha256 = "ff3e80c1ca6a068428726cd7dd19037a47cc538ce58ef61c59587191039b2ca6",
strip_prefix = "curl-7.49.1",
build_file = "@tink_cc_awskms//:third_party/curl.BUILD.bazel",
)
if not native.existing_rule("zlib"):
# Releaes from 2022-03-27.
http_archive(
name = "zlib",
url = "https://mirror.bazel.build/zlib.net/zlib-1.2.12.tar.gz",
sha256 = "91844808532e5ce316b3c010929493c0244f3d37593afd6de04f71821d5136d9",
strip_prefix = "zlib-1.2.12",
build_file = "@tink_cc_awskms//:third_party/zlib.BUILD.bazel",
)
if not native.existing_rule("tink_cc"):
# Release from 2024-04-23.
http_archive(
name = "tink_cc",
sha256 = "14a3f64a56d7e9296889d7eba7a3b8787c3281e5bc5791033c54baf810a0b6ef",
strip_prefix = "tink-cc-2.1.3",
urls = ["https://github.com/tink-crypto/tink-cc/releases/download/v2.1.3/tink-cc-2.1.3.zip"],
)