"""Bazel workspace for the Beancount."""
workspace(name="beancount")

load("//third_party/foreign:setup.bzl", "setup_rules_foreign")
setup_rules_foreign()

load("//third_party/cppbase:setup.bzl", "setup_cppbase")
setup_cppbase()

load("//third_party/python:setup.bzl", "setup_python")
setup_python()

load("//third_party/proto:setup.bzl", "setup_proto", "setup_riegeli")
setup_proto()
setup_riegeli()
load("@rules_proto//proto:repositories.bzl", "rules_proto_dependencies", "rules_proto_toolchains")
rules_proto_dependencies()
rules_proto_toolchains()

load("//third_party/parser:setup.bzl", "setup_parser")
setup_parser()

# # Setup for packaging rules.
# load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# http_archive(
#     name = "rules_pkg",
#     url = "https://github.com/bazelbuild/rules_pkg/releases/download/0.2.5/rules_pkg-0.2.5.tar.gz",
#     sha256 = "352c090cc3d3f9a6b4e676cf42a6047c16824959b438895a76c2989c6d7c246a",
# )
# load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
# rules_pkg_dependencies()
