This article gives a short description and a slight refinement of recentwork [MSZ15], [SZ12] on the derivation of gradient plasticity models fromdiscrete dislocations models.We focus on an array of parallel edge dislocations. This reduces the problem to a two-dimensional setting. As in the work Garroni, Leoni & Ponsiglione [GLP10] we show that in the regime where the number of dislocation Nε is of the order log 1/ε (where ε is the ratio of the lattice spacing and the macroscopic dimensions of the body) the contributions of the self-energy of the dislocations and their interaction energy balance. Upon suitable rescaling one obtains a continuum limit which contains an elastic energy term and a term which depends on the homogenized dislocation density. The main novelty is that our model allows for microscopic energies which are not quadratic and reflect the invariance under rotations. A key mathematical ingredient is a rigidity estimate in the presence of dislocations which combines the nonlinear Korn inequality of Friesecke, James & Müller [FJM02] and the linear Bourgain& Brezis estimate [BB07] for vector fields with controlled divergence. The main technical improvement of this article compared to [MSZ15] is the removal of the upper boundW(F) ≤Cdist<sup>2</sup>(F,SO(2)) on the stored energy function.