Nano is available in Cydia
I just searched for and installed Nano using Cydia. Note that Nano is not an “app” per se, it’s a command line program. You’d either need to SSH into the iPhone from your computer or use a terminal program on the iPhone first, then call nano from the command line.