Left-hander Andrew Heaney and the Pittsburgh Pirates finalized a $5.25 million, one-year contract on Saturday.