required fields in Cabal

Krasimir Angelov kr.angelov at gmail.com
Tue Feb 22 09:01:35 EST 2005


On Tue, 22 Feb 2005 13:55:48 +0000, Ross Paterson <ross at soi.city.ac.uk> wrote:
> 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 syntaxpolice.org> 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.
> 

Yes, if it is present. I wonder whether it will be possible if I have
only license field.


More information about the Libraries mailing list