Sherlock the Cumberbatch character and Sherlock the Arthur Conan Doyle character are quite different, and House is definitely not derived from the Cumberbatch character (simply because that would mean the scriptwriters were time-travelers).
Back to our topic though, the two modern characters, Cumberbatch's Sherlock and House are both arrogant and nasty (yeah, with a "damaged" core underneath).
The original Sherlock wasn't like House but in the more broad sense. E.g. he didn't sadistically play games with his underlings (which he didn't much have) and Watson. He also wasn't about "blunt truth" and other such things House was.