forked from google/swift-jupyter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
WORKSPACE
132 lines (103 loc) · 4.09 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
workspace(name = "swift-jupyter")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Bazel dependencies
git_repository(
name = "build_bazel_rules_swift",
commit = "3bc7bc164020a842ae08e0cf071ed35f0939dd39",
remote = "https://github.com/bazelbuild/rules_swift.git",
shallow_since = "1654173801 -0500",
)
load("@build_bazel_rules_swift//swift:repositories.bzl", "swift_rules_dependencies")
swift_rules_dependencies()
load("@build_bazel_rules_swift//swift:extras.bzl", "swift_rules_extra_dependencies")
swift_rules_extra_dependencies()
http_archive(
name = "rules_python",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.4.0/rules_python-0.4.0.tar.gz",
sha256 = "954aa89b491be4a083304a2cb838019c8b8c3720a7abb9c4cb81ac7a24230cea",
)
load("@rules_python//python:pip.bzl", "pip_install")
# Install Python dependencies
pip_install(
requirements = ":requirements.txt",
)
# 3rd-party open-source dependencies
new_git_repository(
name = "PythonKit",
build_file = "PythonKit.BUILD",
commit = "99a298f0413b0ac278ac58b7ac9045da920c347d",
remote = "https://github.com/liuliu/PythonKit.git",
shallow_since = "1642703957 -0500",
)
new_git_repository(
name = "SwiftArgumentParser",
build_file = "swift-argument-parser.BUILD",
commit = "82905286cc3f0fa8adc4674bf49437cab65a8373",
remote = "https://github.com/apple/swift-argument-parser.git",
shallow_since = "1647436700 -0500",
)
new_git_repository(
name = "SwiftSystem",
build_file = "swift-system.BUILD",
commit = "836bc4557b74fe6d2660218d56e3ce96aff76574",
remote = "https://github.com/apple/swift-system.git",
shallow_since = "1638472952 -0800",
)
new_git_repository(
name = "SwiftToolsSupportCore",
build_file = "swift-tools-support-core.BUILD",
commit = "b7667f3e266af621e5cc9c77e74cacd8e8c00cb4",
remote = "https://github.com/apple/swift-tools-support-core.git",
shallow_since = "1643831290 -0800",
)
new_git_repository(
name = "SwiftSyntax",
build_file = "swift-syntax.BUILD",
commit = "0b6c22b97f8e9320bca62e82cdbee601cf37ad3f",
remote = "https://github.com/apple/swift-syntax.git",
shallow_since = "1647591231 +0100",
)
new_git_repository(
name = "SwiftFormat",
build_file = "swift-format.BUILD",
commit = "e6b8c60c7671066d229e30efa1e31acf57be412e",
remote = "https://github.com/apple/swift-format.git",
shallow_since = "1647972246 -0700",
)
new_git_repository(
name = "SwiftCrypto",
build_file = "swift-crypto.BUILD",
commit = "a8911e0fadc25aef1071d582355bd1037a176060",
remote = "https://github.com/apple/swift-crypto.git",
shallow_since = "1641892042 +0000",
)
# buildifier is written in Go and hence needs rules_go to be built.
# See https://github.com/bazelbuild/rules_go for the up to date setup instructions.
http_archive(
name = "io_bazel_rules_go",
sha256 = "d1ffd055969c8f8d431e2d439813e42326961d0942bdf734d2c95dc30c369566",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.24.5/rules_go-v0.24.5.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/v0.24.5/rules_go-v0.24.5.tar.gz",
],
)
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
go_rules_dependencies()
go_register_toolchains()
http_archive(
name = "bazel_gazelle",
sha256 = "b85f48fa105c4403326e9525ad2b2cc437babaa6e15a3fc0b1dbab0ab064bc7c",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.2/bazel-gazelle-v0.22.2.tar.gz",
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.2/bazel-gazelle-v0.22.2.tar.gz",
],
)
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
gazelle_dependencies()
git_repository(
name = "com_github_bazelbuild_buildtools",
commit = "174cbb4ba7d15a3ad029c2e4ee4f30ea4d76edce",
remote = "https://github.com/bazelbuild/buildtools.git",
shallow_since = "1607975103 +0100",
)