To identify sound sources situated in a fluid flow, an equivalent source method-based nearfield acoustic holography (NAH) in a moving medium is proposed, and two types of acoustic inputs, pressure and particle velocity, are considered. In particular, an analytical relationship between the particle velocity perpendicular to the flow direction and the equivalent source strength is deduced, which makes it possible to realize the reconstruction with particle velocity input. Compared to the planar NAH in a moving medium, the proposed method is applicable to sound sources with more complicated geometries. Numerical simulations with sound sources distributed over two types of geometries including planar geometry and non-planar one are conducted to test the performances of the proposed method. The results indicate that the proposed method provides satisfactory reconstructed results whatever with pressure input or with particle velocity input, and it is valid and robust over a wide range of flow velocities and frequencies and under different levels of background noise.