Using Gimp's Lens distortion values to make a Lensfun profile?

Simple as that, if I correct lens distortion of a picture using Gimp’s “Lens Distortion” how I could turn the parameters into a Lensfun profile to be used in Darktable et al?