Pdftotext v0.0.1 Hex dependency resolution failed

I want use pdftotext lib but its failing to resolve and have tried to update the deps but it has failed…how can I work around this?

Failed to use "cowboy" (version 2.9.0) because
  pdftotext (version 0.0.1) requires ~> 1.0
  plug_cowboy (version 2.5.2) requires ~> 2.7
  mix.lock specifies 2.9.0

** (Mix) Hex dependency resolution failed, change the version requirements of your dependencies or unlock them (by using mix deps.update or mix deps.unlock). If 
you are unable to resolve the conflicts you can try overriding with {:dependency, "~> 1.0", override: true}

Please don’t ask the same question in 3 different topics…

Obviously the package is outdated. You could override cowboy, but You could also use the Python package, via erlport.

If I had to do it, I would try to add a line in deps part of the mix file…

{:cowboy, "~> 2.7", override: true},

Otherwise, I would use the python version, check if it is working for the use case, and try to integrate with erlport.