Brick Material for Cycles.
Uses builtin Brick texture node
Texture scales with object, which means applying to multiple objects results in oddly scaled textures, unfortunately. This may be useful if you want a reference for how to set up the nodes, but something related to coordinate scaling or mapping is broken for real use. Seems this has a fix: https://elbrujodelatribu.blogspot.com/2013/08/blender-cycles-vector-transform-for.html