I ultimately decided to copy the offending file and put in my source folder. Importing the copied file solved the problem. Since the dependency is deprecated, it's unlikely to get updated any time soon so that file should be fine to sit there until such time as we replace the dependency outright.