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