view MODULE.bazel @ 39:6639f5389f47

[Amu Birthday] changed the logic and output when they lose.
author MrJuneJune <me@mrjunejune.com>
date Mon, 01 Dec 2025 20:37:22 -0800
parents fb9bcd3145cb
children b9a40c633c93
line wrap: on
line source

bazel_dep(name = "rules_cc", version = "0.2.14")
bazel_dep(name = "platforms", version = "0.0.11")
bazel_dep(name = "bazel_skylib", version = "1.8.2")
bazel_dep(name = "openssl", version = "3.3.1.bcr.7")
bazel_dep(name = "rules_python", version = "1.7.0")


http_file = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")

# Bun
http_file(
  name = "bun_darwin_arm64_zip",
  url = "https://github.com/oven-sh/bun/releases/download/bun-v1.2.23/bun-darwin-aarch64.zip",
  sha256 = "22f5fa3fff72b0d3b8e7e0f8051ecadf2e41920d474ac62db5279144809c9005",
)
http_file(
  name = "bun_linux_aarch64_zip",
  url = "https://github.com/oven-sh/bun/releases/download/bun-v1.2.23/bun-linux-aarch64.zip",
  sha256 = "6a7a98c546d084a845deda62eb2a5b94a6a14a63ea81cf9186d46bf55bf910a9",
)
http_file(
  name = "bun_linux_x86_zip",
  url = "https://github.com/oven-sh/bun/releases/download/bun-v1.2.23/bun-linux-x64.zip",
  sha256 = "cf0ed0a920799d576ffde4e0cae66d732bf23c2530407f26f59c7831dffe1f0e",
)

# Bring in pip support
use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")

# Point to your requirements file
pip.install(requirements = "//:requirements.txt")

# Register the pip repo so you can depend on it
use_repo(pip, "pip_deps")