Listing licenses with cabal-db

Following discussions with fellow haskellers, regarding the need to be careful with adding packages that could depends on GPL or proprietary licenses, it turns out it’s not easy to get your dependencies’s licenses listed.

cabal-db : simple tool for cabal database queries

Following previous experiment with Cabal library and querying the state of the hackage world here, I’ve extended and wrapped the tool into a cabal package.