f.lux is not open source, and Apple told it to stop because it tried to distribute itself as an opaque binary rather than something that users could compile themselves.
I don't think this is accurate. The original announcement HN thread includes discussion of the source, which is linked and still online on GitHub:
https://news.ycombinator.com/item?id=10550427