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