Skip to content

Commit

Permalink
buildifier
Browse files Browse the repository at this point in the history
  • Loading branch information
woutervdstoel committed Jun 14, 2024
1 parent ddf12fb commit 90733ae
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,30 +1,39 @@
"""AppImage rules for Bazel."""

module(name = "rules_appimage", version = "0.0.0")
module(
name = "rules_appimage",
version = "0.0.0",
)

bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "platforms", version = "0.0.8")
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "rules_python", version = "0.33.1")
bazel_dep(name = "squashfs-tools", version = "4.6.1")
bazel_dep(name = "zstd", version = "1.5.6")

bazel_dep(name = "with_cfg.bzl", version = "0.2.4", dev_dependency = True)

rules_appimage = use_extension("//:extensions.bzl", "appimage_ext_dependencies")
use_repo(
rules_appimage,
"appimage_runtime_aarch64",
"appimage_runtime_i386",
"appimage_runtime_armv7e-m",
"appimage_runtime_i386",
"appimage_runtime_x86_64",
)

register_toolchains("//appimage:all")

_DEFAULT_PYTHON = "3.12"

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(is_default = True, python_version = _DEFAULT_PYTHON)
python.toolchain(
is_default = True,
python_version = _DEFAULT_PYTHON,
)
use_repo(python, "python_" + _DEFAULT_PYTHON.replace(".", "_"), "python_versions", "pythons_hub")

register_toolchains("@pythons_hub//:all")

dev_pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip", dev_dependency = True)
Expand Down

0 comments on commit 90733ae

Please sign in to comment.