forked from tensorflow/privacy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WORKSPACE
35 lines (29 loc) · 1.17 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
workspace(name = "org_tensorflow_privacy")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
git_repository(
name = "bazel_skylib",
remote = "https://github.com/bazelbuild/bazel-skylib.git",
tag = "1.0.3",
)
git_repository(
name = "rules_python",
remote = "https://github.com/bazelbuild/rules_python.git",
tag = "0.5.0",
)
dp_lib_commit = "ab98ce4d4e41bf420198b2284a75d6a7dd4e9044"
dp_lib_tar_sha256 = "314d7b0938e6a6b425d449c219237f0367cb44f649b2614497799618f3b4660e"
dp_lib_url = "https://github.com/google/differential-privacy/archive/" + dp_lib_commit + ".tar.gz"
http_archive(
name = "com_google_differential_py",
sha256 = dp_lib_tar_sha256,
urls = [
dp_lib_url,
],
strip_prefix = "differential-privacy-" + dp_lib_commit + "/python",
)
# Load transitive dependencies of the DP accounting library.
load("@com_google_differential_py//:accounting_py_deps.bzl", "accounting_py_deps")
accounting_py_deps()
load("@com_google_differential_py//:accounting_py_deps_init.bzl", "accounting_py_deps_init")
accounting_py_deps_init("com_google_differential_py")