DUB: How to specify version of git repo?

I use DUB, and want to include ncurses to project https://github.com/D-Programming-Deimos/ncurses/

it have not explicitly version specification on github page. But during build DUB ask me to specify version explicitly:

WARNING: A deprecated branch based version specification is used for the dependency ncurses. Please use numbered versions instead.

How I can do it?


  • http://code.dlang.org/package-format

    Looks like your "DUB" tool is a later version than the tool used to create the 'package.json' file in the GIT repo. The message is rather obscure, but it's not a GIT message. It seems to mean that the 'ncurses' repo needs updating; send them a pull when you work out how.