Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Commit a295942

Browse files
authored
Pin http_file and http_archive resources in WORKSPACE (#3520)
1 parent cf08e71 commit a295942

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

WORKSPACE

+7
Original file line numberDiff line numberDiff line change
@@ -191,36 +191,42 @@ WHEEL_SRC = "https://pypi.python.org/packages/c9/1d/bd19e691fd4cfe908c76c429fe6e
191191
http_file(
192192
name = "pytest_whl",
193193
downloaded_file_path = "pytest-3.1.3-py2.py3-none-any.whl",
194+
sha256 = "2a4f483468954621fcc8f74784f3b42531e5b5008d49fc609b37bc4dbc6dead1",
194195
urls = [PYTEST_WHEEL],
195196
)
196197

197198
http_file(
198199
name = "py_whl",
199200
downloaded_file_path = "py-1.4.34-py2.py3-none-any.whl",
201+
sha256 = "2ccb79b01769d99115aa600d7eed99f524bf752bba8f041dc1c184853514655a",
200202
urls = [PY_WHEEL],
201203
)
202204

203205
http_file(
204206
name = "wheel_src",
205207
downloaded_file_path = "wheel-0.29.0.tar.gz",
208+
sha256 = "1ebb8ad7e26b448e9caa4773d2357849bf80ff9e313964bcaf79cbf0201a1648",
206209
urls = [WHEEL_SRC],
207210
)
208211

209212
http_file(
210213
name = "pex_src",
211214
downloaded_file_path = "pex-1.2.15.tar.gz",
215+
sha256 = "0147d19123340677b9793b00ec86fe65b6697db3ec99afb796da2300ae5fec14",
212216
urls = [PEX_SRC],
213217
)
214218

215219
http_file(
216220
name = "requests_src",
217221
downloaded_file_path = "requests-2.12.3.tar.gz",
222+
sha256 = "de5d266953875e9647e37ef7bfe6ef1a46ff8ddfe61b5b3652edf7ea717ee2b2",
218223
urls = [REQUESTS_SRC],
219224
)
220225

221226
http_file(
222227
name = "setuptools_src",
223228
downloaded_file_path = "setuptools-31.0.0.tar.gz",
229+
sha256 = "0818cc0de692c3a5c83ca83aa7ec7ba6bc206f278735f1e0267b8d0e095cfe7a",
224230
urls = [SETUPTOOLS_SRC],
225231
)
226232

@@ -412,6 +418,7 @@ rules_scala_version = "358ab829626c6c2d34ec27f856485d3121e299c7" # Jan 15 2020
412418
http_archive(
413419
name = "io_bazel_rules_scala",
414420
strip_prefix = "rules_scala-%s" % rules_scala_version,
421+
sha256 = "5abd638278de10ccccb0b4d614158f394278b828708ba990461334ecc01529a6",
415422
type = "zip",
416423
url = "https://github.com/bazelbuild/rules_scala/archive/%s.zip" % rules_scala_version,
417424
)

0 commit comments

Comments
 (0)