If you tried then you'd end up needing to calculate a lot of different spoke lengths rather than just needing one length (or two if doing a rear wheel).
Sheldon Brown has some stuff if you feel the need to get all mathematical:
Mismatched Bicycle Wheels by Benjamin Lewis
I think you may find it easier to either return the hub or sell it and get the right one rather than try to build the wheel with what you have.