| # Kelvin repositories |
| # |
| |
| load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| |
| def kelvin_repos(): |
| http_archive( |
| name = "bazel_skylib", |
| sha256 = "b8a1527901774180afc798aeb28c4634bdccf19c4d98e7bdd1ce79d1fe9aaad7", |
| urls = [ |
| "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz", |
| "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.1/bazel-skylib-1.4.1.tar.gz", |
| ], |
| ) |
| |
| http_archive( |
| name = "rules_hdl", |
| sha256 = "223bce01f8375b29073a1475591c0c7e0d86c0d0b2ed73cbdb85f9e9dfa0dda3", |
| strip_prefix = "bazel_rules_hdl-b58d34add60108ae20d273ee480193b25e96d000", |
| urls = [ |
| "https://github.com/hdl/bazel_rules_hdl/archive/b58d34add60108ae20d273ee480193b25e96d000.tar.gz", |
| ], |
| patches = [ |
| "0001-Update-version-of-Googletest-for-bazel-compatitibili.patch", |
| "0002-SystemC-support-for-verilator.patch", |
| ], |
| ) |
| |
| # See https://github.com/bazelbuild/rules_scala/releases for up to date version information. |
| rules_scala_version = "c711b4d1f0d1cc386c63ef748c9df14d2f3a187e" |
| http_archive( |
| name = "io_bazel_rules_scala", |
| sha256 = "556677f505634da64efc41912d280895e61f5da109d82bdee41cde4120a190a1", |
| strip_prefix = "rules_scala-%s" % rules_scala_version, |
| type = "zip", |
| url = "https://github.com/bazelbuild/rules_scala/archive/%s.zip" % rules_scala_version, |
| ) |
| |
| http_archive( |
| name = "rules_foreign_cc", |
| sha256 = "2a4d07cd64b0719b39a7c12218a3e507672b82a97b98c6a89d38565894cf7c51", |
| strip_prefix = "rules_foreign_cc-0.9.0", |
| url = "https://github.com/bazelbuild/rules_foreign_cc/archive/refs/tags/0.9.0.tar.gz", |
| ) |