This repository has been archived by the owner on May 13, 2024. It is now read-only.
Using Bzlmod with Bazel 6
- Enable with
common --enable_bzlmod
in.bazelrc
. - Add to your
MODULE.bazel
file:
bazel_dep(name = "rules_debian_packages", version = "0.2.0")
Using WORKSPACE
Paste this snippet into your file:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_debian_packages",
sha256 = "0ae3b332f9d894e57693ce900769d2bd1b693e1f5ea1d9cdd82fa4479c93bcc8",
strip_prefix = "rules_debian_packages-0.2.0",
url = "https://github.com/betaboon/rules_debian_packages/releases/download/v0.2.0/rules_debian_packages-v0.2.0.tar.gz",
)
######################
# rules_debian_packages setup #
######################
# Fetches the rules_debian_packages 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("@rules_python//python:repositories.bzl", "py_repositories", "python_register_toolchains")
py_repositories()
python_register_toolchains(
name = "python",
python_version = "3.10",
)
load("@python//:defs.bzl", python_interpreter = "interpreter")
load("@rules_debian_packages//debian_packages:repositories.bzl", "rules_debian_packages_dependencies")
rules_debian_packages_dependencies(python_interpreter_target = python_interpreter)
What's Changed
- fix: tests by @betaboon in #17
- chore(deps): update bazel-contrib/.github action to v5 by @renovate in #12
- chore(deps): update actions/checkout action to v4 by @renovate in #11
- chore(deps): update dependency io_bazel_stardoc to v0.6.2 by @renovate in #18
- chore(deps): update dependency bazel_skylib to v1.5.0 by @renovate in #7
New Contributors
Full Changelog: https://github.com/betaboon/rules_debian_packages/commits/v0.2.0