blob: 68468b56c658d11bef0dd97b4dd7f50a1a2f05f8 [file]
---
title: 'repository\_rule'
---
A callable value that may be invoked during evaluation of the WORKSPACE file or within the implementation function of a module extension to instantiate and return a repository rule. Created by [`repository_rule()`](/versions/8.2.1/rules/lib/globals/bzl#repository_rule).