Indicates the license under which a package's source code is released.
Versions of the licenses not listed here will be rejected by Hackage and
cause cabal check to issue a warning.
Constructors
GPL (Maybe Version)AGPL (Maybe Version)LGPL (Maybe Version)GNU Lesser General Public License, version 2.1 or version 3.
BSD2BSD3BSD44-clause BSD license. This license has not been approved by the OSI and is incompatible with the GNU GPL. It is provided for historical reasons and should be avoided.
MITISCMPL VersionApache (Maybe Version)PublicDomainThe author of a package disclaims any copyright to its source code and dedicates it to the public domain. This is not a software license. Please note that it is not possible to dedicate works to the public domain in every jurisdiction, nor is a work that is in the public domain in one jurisdiction necessarily in the public domain elsewhere.
AllRightsReservedExplicitly 'All Rights Reserved', eg for proprietary software. The package may not be legally modified or redistributed by anyone but the rightsholder.
UnspecifiedLicenseNo license specified which legally defaults to 'All Rights Reserved'. The package may not be legally modified or redistributed by anyone but the rightsholder.
OtherLicenseAny other software license.
UnknownLicense StringIndicates an erroneous license name.
Instances14Eq, Data, Ord, Read, Show, Generic, …
Eq LicenseDefined in Cabal-syntax-3.12.1.0 · Distribution.LicenseData LicenseDefined in Cabal-syntax-3.12.1.0 · Distribution.LicenseOrd LicenseDefined in Cabal-syntax-3.12.1.0 · Distribution.LicenseRead LicenseDefined in Cabal-syntax-3.12.1.0 · Distribution.LicenseShow LicenseDefined in Cabal-syntax-3.12.1.0 · Distribution.LicenseGeneric LicenseDefined in Cabal-syntax-3.12.1.0 · Distribution.LicenseNFData LicenseDefined in Cabal-syntax-3.12.1.0 · Distribution.LicenseBinary LicenseDefined in Cabal-syntax-3.12.1.0 · Distribution.LicenseParsec LicenseDefined in Cabal-syntax-3.12.1.0 · Distribution.LicensePretty LicenseDefined in Cabal-syntax-3.12.1.0 · Distribution.LicenseStructured LicenseDefined in Cabal-syntax-3.12.1.0 · Distribution.LicenseNewtype (Either License License) SpecLicenseDefined in Cabal-syntax-3.12.1.0 · Distribution.FieldGrammar.NewtypesNewtype (Either License License) SpecLicenseLenientDefined in Cabal-syntax-3.12.1.0 · Distribution.Types.InstalledPackageInfo.FieldGrammartype Rep License = D1 ('MetaDataDefined in Cabal-syntax-3.12.1.0 · Distribution.License"License"
"Distribution.License"
"Cabal-syntax-3.12.1.0-3adc"
'False) (((C1 ('MetaCons"GPL"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Version))) :+: (C1 ('MetaCons"AGPL"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Version))) :+: C1 ('MetaCons"LGPL"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Version))))) :+: ((C1 ('MetaCons"BSD2"
'PrefixI 'False) U1 :+: C1 ('MetaCons"BSD3"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"BSD4"
'PrefixI 'False) U1 :+: C1 ('MetaCons"MIT"
'PrefixI 'False) U1))) :+: (((C1 ('MetaCons"ISC"
'PrefixI 'False) U1 :+: C1 ('MetaCons"MPL"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Version))) :+: (C1 ('MetaCons"Apache"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Version))) :+: C1 ('MetaCons"PublicDomain"
'PrefixI 'False) U1)) :+: ((C1 ('MetaCons"AllRightsReserved"
'PrefixI 'False) U1 :+: C1 ('MetaCons"UnspecifiedLicense"
'PrefixI 'False) U1) :+: (C1 ('MetaCons"OtherLicense"
'PrefixI 'False) U1 :+: C1 ('MetaCons"UnknownLicense"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 String))))))