I can't do this in Electrum. It wants private keys in WIF format but my list is in hex format

At that point you have got to change over all the private keys in WIF. I don't know any wallet that allows you to import private key in hex format. Do not worry though, it is easy. You just need to write a small program that takes an array of 64 bit numbers (represented in hex) and for each one adds the prefix, compression byte and checksum as described in here:
https://old.learnmeabitcoin.com/technical/wif. Even ChatGPT could produce it with the first attempt given my reply as an input.