11workspace (name = "org_deepmind_lab2d" )
22
33load ("@bazel_tools//tools/build_defs/repo:http.bzl" , "http_archive" )
4- load ("@//:python_system.bzl" , "python_repo" )
54
65http_archive (
76 name = "com_google_googletest" ,
8- strip_prefix = "googletest-main" ,
9- urls = ["https://github.com/google/googletest/archive/main.zip" ],
7+ sha256 = "f179ec217f9b3b3f3c6e8b02d3e7eda997b49e4ce26d6b235c9053bec9c0bf9f" ,
8+ strip_prefix = "googletest-1.15.2" ,
9+ urls = ["https://github.com/google/googletest/archive/refs/tags/v1.15.2.zip" ],
1010)
1111
1212http_archive (
1313 name = "com_google_benchmark" ,
14- strip_prefix = "benchmark-main" ,
15- urls = ["https://github.com/google/benchmark/archive/main.zip" ],
14+ sha256 = "8a63c9c6adf9e7ce8d0d81f251c47de83efb5e077e147d109fa2045daac8368b" ,
15+ strip_prefix = "benchmark-1.9.1" ,
16+ urls = ["https://github.com/google/benchmark/archive/refs/tags/v1.9.1.zip" ],
1617)
1718
1819http_archive (
1920 name = "rules_cc" ,
20- strip_prefix = "rules_cc-main" ,
21- urls = ["https://github.com/bazelbuild/rules_cc/archive/main.zip" ],
21+ sha256 = "e7c1639aa227d2cd335825d37caa2a234b40373be3ef8f87c25724ed01cab5e8" ,
22+ strip_prefix = "rules_cc-0.0.17" ,
23+ urls = ["https://github.com/bazelbuild/rules_cc/archive/refs/tags/0.0.17.zip" ],
2224)
2325
2426http_archive (
2527 name = "rules_python" ,
26- strip_prefix = "rules_python-main" ,
27- url = "https://github.com/bazelbuild/rules_python/archive/main.zip" ,
28+ sha256 = "7149fff45f7925bb6d45543ed99bfd3544ec63df82ef70cf0ce38b669c9d3bd6" ,
29+ strip_prefix = "rules_python-1.0.0" ,
30+ urls = ["https://github.com/bazelbuild/rules_python/archive/refs/tags/1.0.0.zip" ],
2831)
2932
3033http_archive (
3134 name = "bazel_skylib" ,
32- strip_prefix = "bazel-skylib-main" ,
33- urls = ["https://github.com/bazelbuild/bazel-skylib/archive/main.zip" ],
35+ sha256 = "23ef380aa62e2f1b631d02d0c9d163e43be03e880953dafe133d754fb8d96f0a" ,
36+ strip_prefix = "bazel-skylib-1.7.1" ,
37+ urls = ["https://github.com/bazelbuild/bazel-skylib/archive/refs/tags/1.7.1.zip" ],
3438)
3539
3640http_archive (
3741 name = "com_google_absl" ,
38- strip_prefix = "abseil-cpp-master" ,
39- urls = ["https://github.com/abseil/abseil-cpp/archive/master.zip" ],
42+ sha256 = "95e90be7c3643e658670e0dd3c1b27092349c34b632c6e795686355f67eca89f" ,
43+ strip_prefix = "abseil-cpp-20240722.0" ,
44+ urls = ["https://github.com/abseil/abseil-cpp/archive/refs/tags/20240722.0.zip" ],
4045)
4146
4247http_archive (
4348 name = "com_google_absl_py" ,
44- strip_prefix = "abseil-py-main" ,
45- urls = ["https://github.com/abseil/abseil-py/archive/main.zip" ],
49+ sha256 = "e11083ee5a69afe5c82321ec2505061407ec315789b9b886cbfaf46560431c0b" ,
50+ strip_prefix = "abseil-py-2.1.0" ,
51+ urls = ["https://github.com/abseil/abseil-py/archive/refs/tags/v2.1.0.zip" ],
4652)
4753
4854http_archive (
4955 name = "eigen_archive" ,
5056 build_file = "@//bazel:eigen.BUILD" ,
51- sha256 = "515b3c266d798f3a112efe781dda0cf1aef7bd73f6864d8f4f16129310ae1fdf " ,
52- strip_prefix = "eigen-b02c384ef4e8eba7b8bdef16f9dc6f8f4d6a6b2b " ,
57+ sha256 = "8586084f71f9bde545ee7fa6d00288b264a2b7ac3607b974e54d13e7162c1c72 " ,
58+ strip_prefix = "eigen-3.4.0 " ,
5359 urls = [
54- "https://gitlab.com/libeigen/eigen/-/archive/b02c384ef4e8eba7b8bdef16f9dc6f8f4d6a6b2b /eigen-b02c384ef4e8eba7b8bdef16f9dc6f8f4d6a6b2b .tar.gz" ,
55- "https://storage.googleapis.com/mirror.tensorflow.org/ gitlab.com/libeigen/eigen/-/archive/b02c384ef4e8eba7b8bdef16f9dc6f8f4d6a6b2b /eigen-b02c384ef4e8eba7b8bdef16f9dc6f8f4d6a6b2b .tar.gz" ,
60+ "https://mirror.bazel.build/ gitlab.com/libeigen/eigen/-/archive/3.4.0 /eigen-3.4.0 .tar.gz" ,
61+ "https://gitlab.com/libeigen/eigen/-/archive/3.4.0 /eigen-3.4.0 .tar.gz" ,
5662 ],
5763)
5864
5965http_archive (
6066 name = "png_archive" ,
6167 build_file = "@//bazel:png.BUILD" ,
62- sha256 = "c2c50c13a727af73ecd3fc0167d78592cf5e0bca9611058ca414b6493339c784 " ,
63- strip_prefix = "libpng-1.6.37 " ,
68+ sha256 = "0b35b4bbdf454d589bf8195bc281fefecc4b2529b42ddfbe8b6c108b986841f9 " ,
69+ strip_prefix = "libpng-1.6.44 " ,
6470 urls = [
65- "https://mirror.bazel.build/github.com/glennrp /libpng/archive/v1.6.37 .zip" ,
66- "https://github.com/glennrp /libpng/archive/v1.6.37 .zip" ,
71+ "https://mirror.bazel.build/github.com/pnggroup /libpng/archive/v1.6.44 .zip" ,
72+ "https://github.com/pnggroup /libpng/archive/refs/tags/ v1.6.44 .zip" ,
6773 ],
6874)
6975
7076http_archive (
7177 name = "zlib_archive" ,
7278 build_file = "@//bazel:zlib.BUILD" ,
73- sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1 " ,
74- strip_prefix = "zlib-1.2.11 " ,
79+ sha256 = "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23 " ,
80+ strip_prefix = "zlib-1.3.1 " ,
7581 urls = [
76- "https://mirror.bazel.build/zlib.net/zlib-1.2.11 .tar.gz" ,
77- "https://zlib.net/zlib-1.2.11 .tar.gz" ,
82+ "https://mirror.bazel.build/zlib.net/zlib-1.3.1 .tar.gz" ,
83+ "https://zlib.net/zlib-1.3.1 .tar.gz" ,
7884 ],
7985)
8086
@@ -92,57 +98,66 @@ http_archive(
9298http_archive (
9399 name = "lua5_2_archive" ,
94100 build_file = "@//bazel:lua5_2.BUILD" ,
101+ sha256 = "b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b" ,
95102 strip_prefix = "lua-5.2.4/src" ,
96103 urls = [
97104 "https://mirror.bazel.build/www.lua.org/ftp/lua-5.2.4.tar.gz" ,
98105 "https://www.lua.org/ftp/lua-5.2.4.tar.gz" ,
99106 ],
100107)
101108
102- LJ_VER = "f0ff869bc2fffa17bb765c4c773457578da125a9"
103-
104109http_archive (
105110 name = "luajit_archive" ,
106111 build_file = "@//bazel:luajit.BUILD" ,
107- strip_prefix = "LuaJIT-{}" .format (LJ_VER ),
108- urls = ["https://github.com/LuaJIT/LuaJIT/archive/{}.tar.gz" .format (LJ_VER )],
112+ sha256 = "4af5d94608a7ab72c9a7f72833a9222a7e0a298255e058902c4a59012c53bbfc" ,
113+ strip_prefix = "LuaJIT-f0ff869bc2fffa17bb765c4c773457578da125a9" ,
114+ urls = ["https://github.com/LuaJIT/LuaJIT/archive/f0ff869bc2fffa17bb765c4c773457578da125a9.tar.gz" ],
109115)
110116
111117http_archive (
112118 name = "dm_env_archive" ,
113119 build_file = "@//bazel:dm_env.BUILD" ,
114- strip_prefix = "dm_env-3c6844db2aa4ed5994b2c45dbfd9f31ad948fbb8" ,
115- urls = ["https://github.com/deepmind/dm_env/archive/3c6844db2aa4ed5994b2c45dbfd9f31ad948fbb8.zip" ],
120+ sha256 = "ed832e301bfddb6e98812567ee0217f6016c862357a0af2a94088ac6e6224af6" ,
121+ strip_prefix = "dm_env-ea2a17bed7a60c82f637891c53f3a37f70d91486" ,
122+ urls = ["https://github.com/deepmind/dm_env/archive/ea2a17bed7a60c82f637891c53f3a37f70d91486.zip" ],
116123)
117124
118125http_archive (
119126 name = "tree_archive" ,
120127 build_file = "@//bazel:tree.BUILD" ,
121- strip_prefix = "tree-master" ,
122- urls = ["https://github.com/deepmind/tree/archive/master.zip" ],
128+ sha256 = "407606263ee3f049da5c49071522cf5d37142c2de04ba52c9d599da948f4ee08" ,
129+ strip_prefix = "tree-0.1.8" ,
130+ urls = ["https://github.com/google-deepmind/tree/archive/refs/tags/0.1.8.zip" ],
123131)
124132
125133http_archive (
126134 name = "pybind11_archive" ,
127135 build_file = "@//bazel:pybind11.BUILD" ,
128- strip_prefix = "pybind11-master" ,
129- urls = ["https://github.com/pybind/pybind11/archive/master.zip" ],
136+ sha256 = "d0a116e91f64a4a2d8fb7590c34242df92258a61ec644b79127951e821b47be6" ,
137+ strip_prefix = "pybind11-2.13.6" ,
138+ urls = ["https://github.com/pybind/pybind11/archive/refs/tags/v2.13.6.zip" ],
130139)
131140
132141http_archive (
133142 name = "build_bazel_apple_support" ,
134- sha256 = "9f7bb62c3ae889e0eae8c18458fd8764e2e537687d9a1d85885d6af980e4fc31 " ,
135- url = "https://github.com/bazelbuild/apple_support/releases/download/1.6.0 /apple_support.1.6.0 .tar.gz" ,
143+ sha256 = "b53f6491e742549f13866628ddffcc75d1f3b2d6987dc4f14a16b242113c890b " ,
144+ urls = [ "https://github.com/bazelbuild/apple_support/releases/download/1.17.1 /apple_support.1.17.1 .tar.gz" ] ,
136145)
137146
138147load ("@build_bazel_apple_support//lib:repositories.bzl" , "apple_support_dependencies" )
139148
140149apple_support_dependencies ()
141150
142- load ("@rules_python//python:repositories.bzl" , "py_repositories" , "python_register_toolchains" )
151+ load ("@bazel_features//:deps.bzl" , "bazel_features_deps" )
152+
153+ bazel_features_deps ()
154+
155+ load ("@rules_python//python:repositories.bzl" , "py_repositories" )
143156
144157py_repositories ()
145158
159+ load ("@//:python_system.bzl" , "python_repo" )
160+
146161python_repo (
147162 name = "python_system" ,
148163)
0 commit comments