I suspect you could accomplish this with NERVES without too much trouble. I'd start with an Erlang port[1] that uses Linux's built-in SPI support to interact with the device itself. If you need something a bit higher-level, you might adapt the RadioHead library.
Actually, nerves has decent API support built in! The tricky part is getting all of the registers setup correctly for the radios. Alternately, there's a C++ library for it, that's gpl, but could be setup as a nif or a port.
[1] http://erlang.org/doc/tutorial/c_port.html