I presume you could just use one of these and an appropriate mains to USB plug.
http://www.amazon.co.uk/gp/aw/d/B00DY1KU3O/ref=mp_s_a_1_3?qid=1417201027&sr=8-3&pi=AC_SX200_QL40
Depending on the lights plug you may need a different size of female end.
@Cranky started
London Fixed Gear and Single-Speed is a community of predominantly fixed gear and single-speed cyclists in and around London, UK.
This site is supported almost exclusively by donations. Please consider donating a small amount regularly.
I presume you could just use one of these and an appropriate mains to USB plug.
http://www.amazon.co.uk/gp/aw/d/B00DY1KU3O/ref=mp_s_a_1_3?qid=1417201027&sr=8-3&pi=AC_SX200_QL40
Depending on the lights plug you may need a different size of female end.