I didn't follow the recipe precisely, but they came out nicely, anyway. I let them simmer for nearly an hour, but the recipe said three hours (try waiting three hours with a hungry three year old!). The stain would probably have been that much deeper if I had waited, though.
Here is one recipe, though there are many variations online;
Or, if you prefer something more Eastery, check out these!