workspace( name = "depot", ) load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") # Aspect Bazel Lib http_archive( name = "aspect_bazel_lib", sha256 = "79623d656aa23ad3fd4692ab99786c613cd36e49f5566469ed97bc9b4c655f03", strip_prefix = "bazel-lib-1.23.3", url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v1.23.3.tar.gz", ) load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "register_copy_directory_toolchains", "register_copy_to_directory_toolchains") aspect_bazel_lib_dependencies() # Python load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "aspect_rules_py", sha256 = "66da30b09cf47ee40f2ae1c46346cc9a412940965d04899bd68d06a9d3380085", strip_prefix = "rules_py-0.1.0", url = "https://github.com/aspect-build/rules_py/archive/refs/tags/v0.1.0.tar.gz", ) # Fetches the rules_py dependencies. # If you want to have a different version of some dependency, # you should fetch it *before* calling this. # Alternatively, you can skip calling this function, so long as you've # already fetched all the dependencies. load("@aspect_rules_py//py:repositories.bzl", "rules_py_dependencies") http_archive( name = "rules_python", patch_args = ["-p1"], patch_cmds = ["""\ cat >> python/BUILD.bazel <