(I learned this by reading the /usr/share/misc/units.lib file and finding the lightyear definition: "c-yr")
Since it took me a moment to figure it out, heres how to install it:
brew install gnu-units
then run as: gunits
So it lives happily besides the default units command.