rules_foreign_cc/docs/stardoc_repository.bzl

16 lines
579 B
Python

"""A module for defining the stardoc repository"""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
def stardoc_repository():
maybe(
http_archive,
name = "io_bazel_stardoc",
urls = [
"https://github.com/bazelbuild/stardoc/archive/a0f330bcbae44ffc59d50a86a830a661b8d18acc.zip",
],
sha256 = "e12831c6c414325c99325726dd26dabd8ed4c9efa7b4f27b4d1d9594ec7dfc40",
strip_prefix = "stardoc-a0f330bcbae44ffc59d50a86a830a661b8d18acc",
)