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