The Brewers will receive minor league shortstop C.J. Hinojosa in the deal.