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