I’ve been wanting to support DUB for a while, but was reluctant to do so without support for subpackages. In other words, I wanted for Derelict users to be able to specify Derelict packages, like DerelictGL3 or DerelictGLFW3, as dependencies rather than the entirety of Derelict. Thanks to DUB’s maintainer, Sönke Ludwig, that’s now possible. He has released a new version of DUB that supports subpackages and also created a package.json for Derelict.
I haven’t tested this yet, so I don’t know if it builds out of the box. I expect I’ll need to dig into DUB a bit more to tailor the package file more. So if you try this out before I get around to playing with it, please report any issues over at the github issue tracker.