-
Notifications
You must be signed in to change notification settings - Fork 190
/
WORKSPACE
64 lines (43 loc) · 1.91 KB
/
WORKSPACE
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
workspace(name = "com_google_fhir")
load("//bazel:dependencies.bzl", "fhirproto_dependencies")
fhirproto_dependencies(core_lib = True)
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()
load("//bazel:workspace.bzl", "fhirproto_workspace")
fhirproto_workspace(core_lib = True)
load("@rules_python//python:pip.bzl", "pip_install")
pip_install(
name = "fhir_bazel_pip_dependencies",
requirements = "//bazel:requirements.txt",
)
load("//bazel:go_dependencies.bzl", "fhir_go_dependencies")
# gazelle:repository_macro bazel/go_dependencies.bzl%fhir_go_dependencies
fhir_go_dependencies()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains(version = "1.19.5")
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive","http_file")
http_archive(
name = "google_bazel_common",
sha256 = "e30e092e50c47a38994334dbe42386675cf519a5e86b973e45034323bbdb70a3",
strip_prefix = "bazel-common-a9e1d8efd54cbf27249695b23775b75ca65bb59d",
urls = ["https://github.com/google/bazel-common/archive/a9e1d8efd54cbf27249695b23775b75ca65bb59d.zip"],
)
# Needed for the jarjar_library rule.
load("@google_bazel_common//:workspace_defs.bzl", "google_common_workspace_rules")
google_common_workspace_rules()
# Core FHIR spec dependencies.
http_file(
name = "hl7.fhir.r4.core_4.0.1",
url = "https://hl7.org/fhir/R4/hl7.fhir.r4.core.tgz",
sha256 = "b090bf929e1f665cf2c91583720849695bc38d2892a7c5037c56cb00817fb091",
downloaded_file_path = "hl7.fhir.r4.core@4.0.1.tgz"
)
http_file(
name = "hl7.fhir.r5.core_5.0.0",
url = "https://hl7.org/fhir/R5/hl7.fhir.r5.core.tgz",
sha256 = "74b27cd1bfce9e80eaceac431edf230b0945a443564fbf5512f82e5fa50a80d4",
downloaded_file_path = "hl7.fhir.r5.core@5.0.0.tgz"
)