bazelbuild / rules_perl

Perl rules for Bazel
Apache License 2.0
25 stars 38 forks source link

Enable bzlmod #55

Closed dstufft closed 1 year ago

dstufft commented 1 year ago

Adds files to make it possible to use rules_perl using bzlmod.

This can be used in a MODULES.bazel using a snippet like:

bazel_dep(name = "rules_python", version = "0.1.0")

archive_override(
    module_name = "rules_perl",
    urls = [
        "https://github.com/bazelbuild/rules_perl/archive/76bc70ef16b4bab2d6c9cd5ea387405e6b3bee6a.tar.gz",
    ],
    strip_prefix = "rules_perl-76bc70ef16b4bab2d6c9cd5ea387405e6b3bee6a",
    integrity = "sha256-uHDm8XnLUKTMzaXykUAth63MrG3xhG77FhtYcANCrI0=",
)

Note: The archive_override can be removed if you also start publishing releases to registry.bazel.build.

skeletonkey commented 1 year ago

Thank you for your patience. I will look into publishing to registry.bazel.build - thanks.