The booklet that comes with the CD says:
Arrangement by Alan Lomax, Mrs. Sidney Carter, Gillian Welch and T Bone Burnett, Additional lyrics by Gillian Welch and T Bone Burnett.
Further info in the booklet says the song is "an elaboration of the old black folk lullabye..."
Haven't seen the movie, but I sure like the soundtrack.