required fields in Cabal

Ross Paterson ross at
Tue Feb 22 08:55:48 EST 2005

On Tue, Feb 22, 2005 at 03:50:44PM +0200, Krasimir Angelov wrote:
> On Mon, 21 Feb 2005 17:56:08 -0800, Isaac Jones <ijones at> wrote:
> >        license        :: License,
> > -- OR?
> >        licenseFile    :: FilePath,
> By the way I have half-baked tool that generates MSI installers from
> Cabal packages for Windows. Since the installer shows a dialog with
> license information and I Agree/I Disagree buttons, I have generate
> some license description text. I wonder whether it will be possible to
> generate the text from license field, some text template and
> maintainer, author, ... fields. I am not well acquainted with all
> supported licenses and I don't know whether I will have enough
> information in the package description. Any thoughts?

The contents of the file named in license-file should be what you want, no?
Maybe copyright needs to be added as well.

More information about the Libraries mailing list