Compose a list of a project's transitive dependencies with their licenses
Important: this was a quick tool I put together with a specific goal in
mind. It is no longer actively maintained. You can use cabal-plan
as an alternative (the license-report
command in particular).
Through Hackage:
cabal install cabal-dependency-licenses
-
Navigate to the source tree of a cabal package.
$ cd Documents/Projects/stylish-haskell
-
Make sure the package is configured correctly.
$ cabal configure
-
Use the tool.
$ cabal-dependency-licenses # BSD3 - aeson - array ... - void - yaml # MIT - conduit - text-stream-decode # LGPL - cpphs - polyparse