blob: ef5dac595e7c0e2b47f1d0d8439f7ba703bb5874 [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()`](../globals/bzl#repository_rule).