• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
2
3http_archive(
4    name = "rules_python",
5    sha256 = "5fa3c738d33acca3b97622a13a741129f67ef43f5fdfcec63b29374cc0574c29",
6    strip_prefix = "rules_python-0.9.0",
7    url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.9.0.tar.gz",
8)
9
10http_archive(
11    name = "gtest",
12    strip_prefix = "googletest-15460959cbbfa20e66ef0b5ab497367e47fc0a04",
13    url = "https://github.com/google/googletest/archive/15460959cbbfa20e66ef0b5ab497367e47fc0a04.zip",
14)
15
16LUA_SRC = "../../../../../../external/lua/src"
17
18new_local_repository(
19    name = "lua",
20    build_file = "lua.BUILD",
21    path = LUA_SRC,
22)
23
24load("@rules_python//python:pip.bzl", "pip_install")
25
26pip_install(
27    name = "dependencies",
28    requirements = "//:requirements.txt",
29)
30