blob: cd813034eec7809ff1debb9a1990d986b09a6959 [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.4.2/rules/lib/globals/bzl#repository_rule).