We determine the local deformation rings of sufficiently generic mod
$l$
representations of the Galois group of a
$p$
-adic field, when
$l \neq p$
, relating them to the space of
$q$
-power-stable semisimple conjugacy classes in the dual group. As a consequence, we give a local proof of the
$l \neq p$
Breuil–Mézard conjecture of the author, in the tame case.