Would it be open-source? With an open development process? I could see paying for a library, but I can't see building on top of something maintained by a single developer that I can't fix myself.
Could sources be sold as an additional feature? I'm thinking of having two versions, binary and source which would cost like 3x as much. What do you think?