Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module implements SPDX specification version 2.1 with a version 3.0 license list.
Specification is available on https://spdx.org/specifications
Synopsis
- data License
- data LicenseExpression
- data SimpleLicenseExpression
- simpleLicenseExpression :: LicenseId -> LicenseExpression
- data LicenseId
- = NullBSD
- | AAL
- | Abstyles
- | Adobe_2006
- | Adobe_Glyph
- | ADSL
- | AFL_1_1
- | AFL_1_2
- | AFL_2_0
- | AFL_2_1
- | AFL_3_0
- | Afmparse
- | AGPL_1_0
- | AGPL_1_0_only
- | AGPL_1_0_or_later
- | AGPL_3_0_only
- | AGPL_3_0_or_later
- | Aladdin
- | AMDPLPA
- | AML
- | AMPAS
- | ANTLR_PD_fallback
- | ANTLR_PD
- | Apache_1_0
- | Apache_1_1
- | Apache_2_0
- | APAFML
- | APL_1_0
- | App_s2p
- | APSL_1_0
- | APSL_1_1
- | APSL_1_2
- | APSL_2_0
- | Artistic_1_0_cl8
- | Artistic_1_0_Perl
- | Artistic_1_0
- | Artistic_2_0
- | Bahyph
- | Barr
- | Beerware
- | BitTorrent_1_0
- | BitTorrent_1_1
- | Blessing
- | BlueOak_1_0_0
- | Borceux
- | BSD_1_Clause
- | BSD_2_Clause_FreeBSD
- | BSD_2_Clause_NetBSD
- | BSD_2_Clause_Patent
- | BSD_2_Clause_Views
- | BSD_2_Clause
- | BSD_3_Clause_Attribution
- | BSD_3_Clause_Clear
- | BSD_3_Clause_LBNL
- | BSD_3_Clause_Modification
- | BSD_3_Clause_No_Military_License
- | BSD_3_Clause_No_Nuclear_License_2014
- | BSD_3_Clause_No_Nuclear_License
- | BSD_3_Clause_No_Nuclear_Warranty
- | BSD_3_Clause_Open_MPI
- | BSD_3_Clause
- | BSD_4_Clause_Shortened
- | BSD_4_Clause_UC
- | BSD_4_Clause
- | BSD_Protection
- | BSD_Source_Code
- | BSL_1_0
- | Bzip2_1_0_5
- | BUSL_1_1
- | Bzip2_1_0_6
- | C_UDA_1_0
- | CAL_1_0_Combined_Work_Exception
- | CAL_1_0
- | Caldera
- | CATOSL_1_1
- | CC_BY_1_0
- | CC_BY_2_0
- | CC_BY_2_5_AU
- | CC_BY_2_5
- | CC_BY_3_0_AT
- | CC_BY_3_0_DE
- | CC_BY_3_0_NL
- | CC_BY_3_0_US
- | CC_BY_3_0
- | CC_BY_4_0
- | CC_BY_NC_1_0
- | CC_BY_NC_2_0
- | CC_BY_NC_2_5
- | CC_BY_NC_3_0_DE
- | CC_BY_NC_3_0
- | CC_BY_NC_4_0
- | CC_BY_NC_ND_1_0
- | CC_BY_NC_ND_2_0
- | CC_BY_NC_ND_2_5
- | CC_BY_NC_ND_3_0_DE
- | CC_BY_NC_ND_3_0_IGO
- | CC_BY_NC_ND_3_0
- | CC_BY_NC_ND_4_0
- | CC_BY_NC_SA_1_0
- | CC_BY_NC_SA_2_0_FR
- | CC_BY_NC_SA_2_0_UK
- | CC_BY_NC_SA_2_0
- | CC_BY_NC_SA_2_5
- | CC_BY_NC_SA_3_0_DE
- | CC_BY_NC_SA_3_0_IGO
- | CC_BY_NC_SA_3_0
- | CC_BY_NC_SA_4_0
- | CC_BY_ND_1_0
- | CC_BY_ND_2_0
- | CC_BY_ND_2_5
- | CC_BY_ND_3_0_DE
- | CC_BY_ND_3_0
- | CC_BY_ND_4_0
- | CC_BY_SA_1_0
- | CC_BY_SA_2_0_UK
- | CC_BY_SA_2_0
- | CC_BY_SA_2_1_JP
- | CC_BY_SA_2_5
- | CC_BY_SA_3_0_AT
- | CC_BY_SA_3_0_DE
- | CC_BY_SA_3_0
- | CC_BY_SA_4_0
- | CC_PDDC
- | CC0_1_0
- | CDDL_1_0
- | CDDL_1_1
- | CDL_1_0
- | CDLA_Permissive_1_0
- | CDLA_Permissive_2_0
- | CDLA_Sharing_1_0
- | CECILL_1_0
- | CECILL_1_1
- | CECILL_2_0
- | CECILL_2_1
- | CECILL_B
- | CECILL_C
- | CERN_OHL_1_1
- | CERN_OHL_1_2
- | CERN_OHL_P_2_0
- | CERN_OHL_S_2_0
- | CERN_OHL_W_2_0
- | ClArtistic
- | CNRI_Jython
- | CNRI_Python_GPL_Compatible
- | CNRI_Python
- | COIL_1_0
- | Community_Spec_1_0
- | Condor_1_1
- | Copyleft_next_0_3_0
- | Copyleft_next_0_3_1
- | CPAL_1_0
- | CPL_1_0
- | CPOL_1_02
- | Crossword
- | CrystalStacker
- | CUA_OPL_1_0
- | Cube
- | Curl
- | D_FSL_1_0
- | Diffmark
- | DL_DE_BY_2_0
- | DOC
- | Dotseqn
- | DRL_1_0
- | DSDP
- | Dvipdfm
- | ECL_1_0
- | ECL_2_0
- | EFL_1_0
- | EFL_2_0
- | EGenix
- | Elastic_2_0
- | Entessa
- | EPICS
- | EPL_1_0
- | EPL_2_0
- | ErlPL_1_1
- | Etalab_2_0
- | EUDatagrid
- | EUPL_1_0
- | EUPL_1_1
- | EUPL_1_2
- | Eurosym
- | Fair
- | FDK_AAC
- | Frameworx_1_0
- | FreeBSD_DOC
- | FreeImage
- | FSFAP
- | FSFULLR
- | FSFUL
- | FTL
- | GD
- | GFDL_1_1_invariants_only
- | GFDL_1_1_invariants_or_later
- | GFDL_1_1_no_invariants_only
- | GFDL_1_1_no_invariants_or_later
- | GFDL_1_1_only
- | GFDL_1_1_or_later
- | GFDL_1_2_invariants_only
- | GFDL_1_2_invariants_or_later
- | GFDL_1_2_no_invariants_only
- | GFDL_1_2_no_invariants_or_later
- | GFDL_1_2_only
- | GFDL_1_2_or_later
- | GFDL_1_3_invariants_only
- | GFDL_1_3_invariants_or_later
- | GFDL_1_3_no_invariants_only
- | GFDL_1_3_no_invariants_or_later
- | GFDL_1_3_only
- | GFDL_1_3_or_later
- | Giftware
- | GL2PS
- | Glide
- | Glulxe
- | GLWTPL
- | Gnuplot
- | GPL_1_0_only
- | GPL_1_0_or_later
- | GPL_2_0_only
- | GPL_2_0_or_later
- | GPL_3_0_only
- | GPL_3_0_or_later
- | GSOAP_1_3b
- | HaskellReport
- | Hippocratic_2_1
- | HPND_sell_variant
- | HPND
- | HTMLTIDY
- | IBM_pibs
- | ICU
- | IJG
- | ImageMagick
- | IMatix
- | Imlib2
- | Info_ZIP
- | Intel_ACPI
- | Intel
- | Interbase_1_0
- | IPA
- | IPL_1_0
- | ISC
- | Jam
- | JasPer_2_0
- | JPNIC
- | JSON
- | LAL_1_2
- | LAL_1_3
- | Latex2e
- | Leptonica
- | LGPL_2_0_only
- | LGPL_2_0_or_later
- | LGPL_2_1_only
- | LGPL_2_1_or_later
- | LGPL_3_0_only
- | LGPL_3_0_or_later
- | LGPLLR
- | Libpng_2_0
- | Libpng
- | Libselinux_1_0
- | Libtiff
- | LiLiQ_P_1_1
- | LiLiQ_R_1_1
- | LiLiQ_Rplus_1_1
- | Linux_man_pages_copyleft
- | Linux_OpenIB
- | LPL_1_02
- | LPL_1_0
- | LPPL_1_0
- | LPPL_1_1
- | LPPL_1_2
- | LPPL_1_3a
- | LPPL_1_3c
- | MakeIndex
- | MirOS
- | MIT_0
- | MIT_advertising
- | MIT_CMU
- | MIT_enna
- | MIT_feh
- | MIT_Modern_Variant
- | MIT_open_group
- | MITNFA
- | MIT
- | Motosoto
- | Mpich2
- | MPL_1_0
- | MPL_1_1
- | MPL_2_0_no_copyleft_exception
- | MPL_2_0
- | MS_PL
- | MS_RL
- | MTLL
- | MulanPSL_1_0
- | MulanPSL_2_0
- | Multics
- | Mup
- | NAIST_2003
- | NASA_1_3
- | Naumen
- | NBPL_1_0
- | NCGL_UK_2_0
- | NCSA
- | Net_SNMP
- | NetCDF
- | Newsletr
- | NGPL
- | NIST_PD_fallback
- | NIST_PD
- | NLOD_1_0
- | NLOD_2_0
- | NLPL
- | Nokia
- | NOSL
- | Noweb
- | NPL_1_0
- | NPL_1_1
- | NPOSL_3_0
- | NRL
- | NTP_0
- | NTP
- | O_UDA_1_0
- | OCCT_PL
- | OCLC_2_0
- | ODbL_1_0
- | ODC_By_1_0
- | OFL_1_0_no_RFN
- | OFL_1_0_RFN
- | OFL_1_0
- | OFL_1_1_no_RFN
- | OFL_1_1_RFN
- | OFL_1_1
- | OGC_1_0
- | OGDL_Taiwan_1_0
- | OGL_Canada_2_0
- | OGL_UK_1_0
- | OGL_UK_2_0
- | OGL_UK_3_0
- | OGTSL
- | OLDAP_1_1
- | OLDAP_1_2
- | OLDAP_1_3
- | OLDAP_1_4
- | OLDAP_2_0_1
- | OLDAP_2_0
- | OLDAP_2_1
- | OLDAP_2_2_1
- | OLDAP_2_2_2
- | OLDAP_2_2
- | OLDAP_2_3
- | OLDAP_2_4
- | OLDAP_2_5
- | OLDAP_2_6
- | OLDAP_2_7
- | OLDAP_2_8
- | OML
- | OpenSSL
- | OPL_1_0
- | OPUBL_1_0
- | OSET_PL_2_1
- | OSL_1_0
- | OSL_1_1
- | OSL_2_0
- | OSL_2_1
- | OSL_3_0
- | Parity_6_0_0
- | Parity_7_0_0
- | PDDL_1_0
- | PHP_3_01
- | PHP_3_0
- | Plexus
- | PolyForm_Noncommercial_1_0_0
- | PolyForm_Small_Business_1_0_0
- | PostgreSQL
- | PSF_2_0
- | Psfrag
- | Psutils
- | Python_2_0
- | Qhull
- | QPL_1_0
- | Rdisc
- | RHeCos_1_1
- | RPL_1_1
- | RPL_1_5
- | RPSL_1_0
- | RSA_MD
- | RSCPL
- | Ruby
- | SAX_PD
- | Saxpath
- | SCEA
- | SchemeReport
- | Sendmail_8_23
- | Sendmail
- | SGI_B_1_0
- | SGI_B_1_1
- | SGI_B_2_0
- | SHL_0_51
- | SHL_0_5
- | SimPL_2_0
- | SISSL_1_2
- | SISSL
- | Sleepycat
- | SMLNJ
- | SMPPL
- | SNIA
- | Spencer_86
- | Spencer_94
- | Spencer_99
- | SPL_1_0
- | SSH_OpenSSH
- | SSH_short
- | SSPL_1_0
- | SugarCRM_1_1_3
- | SWL
- | TAPR_OHL_1_0
- | TCL
- | TCP_wrappers
- | TMate
- | TORQUE_1_1
- | TOSL
- | TU_Berlin_1_0
- | TU_Berlin_2_0
- | UCL_1_0
- | Unicode_DFS_2015
- | Unicode_DFS_2016
- | Unicode_TOU
- | Unlicense
- | UPL_1_0
- | Vim
- | VOSTROM
- | VSL_1_0
- | W3C_19980720
- | W3C_20150513
- | W3C
- | Watcom_1_0
- | Wsuipa
- | WTFPL
- | X11_distribute_modifications_variant
- | X11
- | Xerox
- | XFree86_1_1
- | Xinetd
- | Xnet
- | Xpp
- | XSkat
- | YPL_1_0
- | YPL_1_1
- | Zed
- | Zend_2_0
- | Zimbra_1_3
- | Zimbra_1_4
- | Zlib_acknowledgement
- | Zlib
- | ZPL_1_1
- | ZPL_2_0
- | ZPL_2_1
- licenseId :: LicenseId -> String
- licenseName :: LicenseId -> String
- licenseIsOsiApproved :: LicenseId -> Bool
- mkLicenseId :: LicenseListVersion -> String -> Maybe LicenseId
- licenseIdList :: LicenseListVersion -> [LicenseId]
- data LicenseExceptionId
- = DS389_exception
- | Autoconf_exception_2_0
- | Autoconf_exception_3_0
- | Bison_exception_2_2
- | Bootloader_exception
- | Classpath_exception_2_0
- | CLISP_exception_2_0
- | DigiRule_FOSS_exception
- | ECos_exception_2_0
- | Fawkes_Runtime_exception
- | FLTK_exception
- | Font_exception_2_0
- | Freertos_exception_2_0
- | GCC_exception_2_0
- | GCC_exception_3_1
- | Gnu_javamail_exception
- | GPL_3_0_linking_exception
- | GPL_3_0_linking_source_exception
- | GPL_CC_1_0
- | I2p_gpl_java_exception
- | LGPL_3_0_linking_exception
- | Libtool_exception
- | Linux_syscall_note
- | LLVM_exception
- | LZMA_exception
- | Mif_exception
- | Nokia_Qt_exception_1_1
- | OCaml_LGPL_linking_exception
- | OCCT_exception_1_0
- | OpenJDK_assembly_exception_1_0
- | Openvpn_openssl_exception
- | PS_or_PDF_font_exception_20170817
- | Qt_GPL_exception_1_0
- | Qt_LGPL_exception_1_1
- | Qwt_exception_1_0
- | SHL_2_0
- | SHL_2_1
- | Swift_exception
- | U_boot_exception_2_0
- | Universal_FOSS_exception_1_0
- | WxWindows_exception_3_1
- licenseExceptionId :: LicenseExceptionId -> String
- licenseExceptionName :: LicenseExceptionId -> String
- mkLicenseExceptionId :: LicenseListVersion -> String -> Maybe LicenseExceptionId
- licenseExceptionIdList :: LicenseListVersion -> [LicenseExceptionId]
- data LicenseRef
- licenseRef :: LicenseRef -> String
- licenseDocumentRef :: LicenseRef -> Maybe String
- mkLicenseRef :: Maybe String -> String -> Maybe LicenseRef
- mkLicenseRef' :: Maybe String -> String -> LicenseRef
- data LicenseListVersion
- cabalSpecVersionToSPDXListVersion :: CabalSpecVersion -> LicenseListVersion
License
Declared license. See section 3.15 of SPDX Specification 2.1
Note: the NOASSERTION case is omitted.
Old License
can be migrated using following rules:
AllRightsReserved
andUnspecifiedLicense
toNONE
. No license specified which legally defaults to All Rights Reserved. The package may not be legally modified or redistributed by anyone but the rightsholder.OtherLicense
can be converted toLicenseRef
pointing to the file in the package.UnknownLicense
i.e. other licenses of the formname-x.y
, should be covered by SPDX license list, otherwise useLicenseRef
.PublicDomain
isn't covered. Consider using CC0. See https://wiki.spdx.org/view/Legal_Team/Decisions/Dealing_with_Public_Domain_within_SPDX_Files for more information.
NONE | if the package contains no license information whatsoever; or |
License LicenseExpression | A valid SPDX License Expression as defined in Appendix IV. |
Instances
Parsec License Source # |
| ||||
Defined in Distribution.SPDX.License parsec :: CabalParsing m => m License Source # | |||||
Pretty License Source # | |||||
Defined in Distribution.SPDX.License | |||||
Structured License Source # | |||||
Defined in Distribution.SPDX.License | |||||
Binary License Source # | |||||
NFData License Source # | |||||
Defined in Distribution.SPDX.License | |||||
Data License Source # | |||||
Defined in Distribution.SPDX.License gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> License -> c License # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c License # toConstr :: License -> Constr # dataTypeOf :: License -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c License) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c License) # gmapT :: (forall b. Data b => b -> b) -> License -> License # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> License -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> License -> r # gmapQ :: (forall d. Data d => d -> u) -> License -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> License -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> License -> m License # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> License -> m License # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> License -> m License # | |||||
Generic License Source # | |||||
Defined in Distribution.SPDX.License
| |||||
Read License Source # | |||||
Show License Source # | |||||
Eq License Source # | |||||
Ord License Source # | |||||
Newtype (Either License License) SpecLicense Source # | |||||
Defined in Distribution.FieldGrammar.Newtypes | |||||
type Rep License Source # | |||||
Defined in Distribution.SPDX.License type Rep License = D1 ('MetaData "License" "Distribution.SPDX.License" "Cabal-syntax-3.11.0.0-97f9" 'False) (C1 ('MetaCons "NONE" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "License" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LicenseExpression))) |
License expression
data LicenseExpression Source #
SPDX License Expression.
idstring = 1*(ALPHA / DIGIT / "-" / "." ) license id = <short form license identifier inAppendix I.1> license exception id = <short form license exception identifier inAppendix I.2> license ref = ["DocumentRef-"1*(idstring)":"]"LicenseRef-"1*(idstring) simple expression = license id / license id"+" / license ref compound expression = 1*1(simple expression / simple expression "WITH" license exception id / compound expression "AND" compound expression / compound expression "OR" compound expression ) / "(" compound expression ")" ) license expression = 1*1(simple expression / compound expression)
ELicense !SimpleLicenseExpression !(Maybe LicenseExceptionId) | |
EAnd !LicenseExpression !LicenseExpression | |
EOr !LicenseExpression !LicenseExpression |
Instances
data SimpleLicenseExpression Source #
Simple License Expressions.
ELicenseId LicenseId | An SPDX License List Short Form Identifier. For example: |
ELicenseIdPlus LicenseId | An SPDX License List Short Form Identifier with a unary"+" operator suffix to represent the current version of the license or any later version. For example: |
ELicenseRef LicenseRef | A SPDX user defined license reference: For example: |
Instances
Parsec SimpleLicenseExpression Source # | |||||
Defined in Distribution.SPDX.LicenseExpression parsec :: CabalParsing m => m SimpleLicenseExpression Source # | |||||
Pretty SimpleLicenseExpression Source # | |||||
Defined in Distribution.SPDX.LicenseExpression | |||||
Structured SimpleLicenseExpression Source # | |||||
Defined in Distribution.SPDX.LicenseExpression | |||||
Binary SimpleLicenseExpression Source # | |||||
Defined in Distribution.SPDX.LicenseExpression put :: SimpleLicenseExpression -> Put Source # get :: Get SimpleLicenseExpression Source # putList :: [SimpleLicenseExpression] -> Put Source # | |||||
NFData SimpleLicenseExpression Source # | |||||
Defined in Distribution.SPDX.LicenseExpression rnf :: SimpleLicenseExpression -> () Source # | |||||
Data SimpleLicenseExpression Source # | |||||
Defined in Distribution.SPDX.LicenseExpression gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SimpleLicenseExpression -> c SimpleLicenseExpression # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SimpleLicenseExpression # toConstr :: SimpleLicenseExpression -> Constr # dataTypeOf :: SimpleLicenseExpression -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SimpleLicenseExpression) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SimpleLicenseExpression) # gmapT :: (forall b. Data b => b -> b) -> SimpleLicenseExpression -> SimpleLicenseExpression # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SimpleLicenseExpression -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SimpleLicenseExpression -> r # gmapQ :: (forall d. Data d => d -> u) -> SimpleLicenseExpression -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> SimpleLicenseExpression -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> SimpleLicenseExpression -> m SimpleLicenseExpression # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SimpleLicenseExpression -> m SimpleLicenseExpression # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SimpleLicenseExpression -> m SimpleLicenseExpression # | |||||
Generic SimpleLicenseExpression Source # | |||||
Defined in Distribution.SPDX.LicenseExpression
| |||||
Read SimpleLicenseExpression Source # | |||||
Show SimpleLicenseExpression Source # | |||||
Defined in Distribution.SPDX.LicenseExpression showsPrec :: Int -> SimpleLicenseExpression -> ShowS # show :: SimpleLicenseExpression -> String # showList :: [SimpleLicenseExpression] -> ShowS # | |||||
Eq SimpleLicenseExpression Source # | |||||
Defined in Distribution.SPDX.LicenseExpression | |||||
Ord SimpleLicenseExpression Source # | |||||
Defined in Distribution.SPDX.LicenseExpression compare :: SimpleLicenseExpression -> SimpleLicenseExpression -> Ordering # (<) :: SimpleLicenseExpression -> SimpleLicenseExpression -> Bool # (<=) :: SimpleLicenseExpression -> SimpleLicenseExpression -> Bool # (>) :: SimpleLicenseExpression -> SimpleLicenseExpression -> Bool # (>=) :: SimpleLicenseExpression -> SimpleLicenseExpression -> Bool # max :: SimpleLicenseExpression -> SimpleLicenseExpression -> SimpleLicenseExpression # min :: SimpleLicenseExpression -> SimpleLicenseExpression -> SimpleLicenseExpression # | |||||
type Rep SimpleLicenseExpression Source # | |||||
Defined in Distribution.SPDX.LicenseExpression type Rep SimpleLicenseExpression = D1 ('MetaData "SimpleLicenseExpression" "Distribution.SPDX.LicenseExpression" "Cabal-syntax-3.11.0.0-97f9" 'False) (C1 ('MetaCons "ELicenseId" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LicenseId)) :+: (C1 ('MetaCons "ELicenseIdPlus" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LicenseId)) :+: C1 ('MetaCons "ELicenseRef" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 LicenseRef)))) |
License identifier
SPDX License identifiers list v3.16
NullBSD |
|
AAL |
|
Abstyles |
|
Adobe_2006 |
|
Adobe_Glyph |
|
ADSL |
|
AFL_1_1 |
|
AFL_1_2 |
|
AFL_2_0 |
|
AFL_2_1 |
|
AFL_3_0 |
|
Afmparse |
|
AGPL_1_0 |
|
AGPL_1_0_only |
|
AGPL_1_0_or_later |
|
AGPL_3_0_only |
|
AGPL_3_0_or_later |
|
Aladdin |
|
AMDPLPA |
|
AML |
|
AMPAS |
|
ANTLR_PD_fallback |
|
ANTLR_PD |
|
Apache_1_0 |
|
Apache_1_1 |
|
Apache_2_0 |
|
APAFML |
|
APL_1_0 |
|
App_s2p |
|
APSL_1_0 |
|
APSL_1_1 |
|
APSL_1_2 |
|
APSL_2_0 |
|
Artistic_1_0_cl8 |
|
Artistic_1_0_Perl |
|
Artistic_1_0 |
|
Artistic_2_0 |
|
Bahyph |
|
Barr |
|
Beerware |
|
BitTorrent_1_0 |
|
BitTorrent_1_1 |
|
Blessing |
|
BlueOak_1_0_0 |
|
Borceux |
|
BSD_1_Clause |
|
BSD_2_Clause_FreeBSD |
|
BSD_2_Clause_NetBSD |
|
BSD_2_Clause_Patent |
|
BSD_2_Clause_Views |
|
BSD_2_Clause |
|
BSD_3_Clause_Attribution |
|
BSD_3_Clause_Clear |
|
BSD_3_Clause_LBNL |
|
BSD_3_Clause_Modification |
|
BSD_3_Clause_No_Military_License |
|
BSD_3_Clause_No_Nuclear_License_2014 |
|
BSD_3_Clause_No_Nuclear_License |
|
BSD_3_Clause_No_Nuclear_Warranty |
|
BSD_3_Clause_Open_MPI |
|
BSD_3_Clause | |
BSD_4_Clause_Shortened |
|
BSD_4_Clause_UC |
|
BSD_4_Clause | |
BSD_Protection |
|
BSD_Source_Code |
|
BSL_1_0 |
|
Bzip2_1_0_5 |
|
BUSL_1_1 |
|
Bzip2_1_0_6 |
|
C_UDA_1_0 |
|
CAL_1_0_Combined_Work_Exception |
|
CAL_1_0 |
|
Caldera |
|
CATOSL_1_1 |
|
CC_BY_1_0 |
|
CC_BY_2_0 |
|
CC_BY_2_5_AU |
|
CC_BY_2_5 |
|
CC_BY_3_0_AT |
|
CC_BY_3_0_DE |
|
CC_BY_3_0_NL |
|
CC_BY_3_0_US |
|
CC_BY_3_0 |
|
CC_BY_4_0 |
|
CC_BY_NC_1_0 |
|
CC_BY_NC_2_0 |
|
CC_BY_NC_2_5 |
|
CC_BY_NC_3_0_DE |
|
CC_BY_NC_3_0 |
|
CC_BY_NC_4_0 |
|
CC_BY_NC_ND_1_0 |
|
CC_BY_NC_ND_2_0 |
|
CC_BY_NC_ND_2_5 |
|
CC_BY_NC_ND_3_0_DE |
|
CC_BY_NC_ND_3_0_IGO |
|
CC_BY_NC_ND_3_0 |
|
CC_BY_NC_ND_4_0 |
|
CC_BY_NC_SA_1_0 |
|
CC_BY_NC_SA_2_0_FR |
|
CC_BY_NC_SA_2_0_UK |
|
CC_BY_NC_SA_2_0 |
|
CC_BY_NC_SA_2_5 |
|
CC_BY_NC_SA_3_0_DE |
|
CC_BY_NC_SA_3_0_IGO |
|
CC_BY_NC_SA_3_0 |
|
CC_BY_NC_SA_4_0 |
|
CC_BY_ND_1_0 |
|
CC_BY_ND_2_0 |
|
CC_BY_ND_2_5 |
|
CC_BY_ND_3_0_DE |
|
CC_BY_ND_3_0 |
|
CC_BY_ND_4_0 |
|
CC_BY_SA_1_0 |
|
CC_BY_SA_2_0_UK |
|
CC_BY_SA_2_0 |
|
CC_BY_SA_2_1_JP |
|
CC_BY_SA_2_5 |
|
CC_BY_SA_3_0_AT |
|
CC_BY_SA_3_0_DE |
|
CC_BY_SA_3_0 |
|
CC_BY_SA_4_0 |
|
CC_PDDC |
|
CC0_1_0 |
|
CDDL_1_0 |
|
CDDL_1_1 |
|
CDL_1_0 |
|
CDLA_Permissive_1_0 |
|
CDLA_Permissive_2_0 |
|
CDLA_Sharing_1_0 |
|
CECILL_1_0 |
|
CECILL_1_1 |
|
CECILL_2_0 |
|
CECILL_2_1 |
|
CECILL_B |
|
CECILL_C |
|
CERN_OHL_1_1 |
|
CERN_OHL_1_2 |
|
CERN_OHL_P_2_0 |
|
CERN_OHL_S_2_0 |
|
CERN_OHL_W_2_0 |
|
ClArtistic |
|
CNRI_Jython |
|
CNRI_Python_GPL_Compatible |
|
CNRI_Python |
|
COIL_1_0 |
|
Community_Spec_1_0 |
|
Condor_1_1 |
|
Copyleft_next_0_3_0 |
|
Copyleft_next_0_3_1 |
|
CPAL_1_0 |
|
CPL_1_0 |
|
CPOL_1_02 |
|
Crossword |
|
CrystalStacker |
|
CUA_OPL_1_0 |
|
Cube |
|
Curl |
|
D_FSL_1_0 |
|
Diffmark |
|
DL_DE_BY_2_0 |
|
DOC |
|
Dotseqn |
|
DRL_1_0 |
|
DSDP |
|
Dvipdfm |
|
ECL_1_0 |
|
ECL_2_0 |
|
EFL_1_0 |
|
EFL_2_0 |
|
EGenix |
|
Elastic_2_0 |
|
Entessa |
|
EPICS |
|
EPL_1_0 |
|
EPL_2_0 |
|
ErlPL_1_1 |
|
Etalab_2_0 |
|
EUDatagrid |
|
EUPL_1_0 |
|
EUPL_1_1 |
|
EUPL_1_2 |
|
Eurosym |
|
Fair |
|
FDK_AAC |
|
Frameworx_1_0 |
|
FreeBSD_DOC |
|
FreeImage |
|
FSFAP |
|
FSFULLR |
|
FSFUL |
|
FTL |
|
GD |
|
GFDL_1_1_invariants_only |
|
GFDL_1_1_invariants_or_later |
|
GFDL_1_1_no_invariants_only |
|
GFDL_1_1_no_invariants_or_later |
|
GFDL_1_1_only |
|
GFDL_1_1_or_later |
|
GFDL_1_2_invariants_only |
|
GFDL_1_2_invariants_or_later |
|
GFDL_1_2_no_invariants_only |
|
GFDL_1_2_no_invariants_or_later |
|
GFDL_1_2_only |
|
GFDL_1_2_or_later |
|
GFDL_1_3_invariants_only |
|
GFDL_1_3_invariants_or_later |
|
GFDL_1_3_no_invariants_only |
|
GFDL_1_3_no_invariants_or_later |
|
GFDL_1_3_only |
|
GFDL_1_3_or_later |
|
Giftware |
|
GL2PS |
|
Glide |
|
Glulxe |
|
GLWTPL |
|
Gnuplot |
|
GPL_1_0_only |
|
GPL_1_0_or_later |
|
GPL_2_0_only |
|
GPL_2_0_or_later |
|
GPL_3_0_only |
|
GPL_3_0_or_later |
|
GSOAP_1_3b |
|
HaskellReport |
|
Hippocratic_2_1 |
|
HPND_sell_variant |
|
HPND |
|
HTMLTIDY |
|
IBM_pibs |
|
ICU |
|
IJG |
|
ImageMagick |
|
IMatix |
|
Imlib2 |
|
Info_ZIP |
|
Intel_ACPI |
|
Intel |
|
Interbase_1_0 |
|
IPA |
|
IPL_1_0 |
|
ISC |
|
Jam |
|
JasPer_2_0 |
|
JPNIC |
|
JSON |
|
LAL_1_2 |
|
LAL_1_3 |
|
Latex2e |
|
Leptonica |
|
LGPL_2_0_only |
|
LGPL_2_0_or_later |
|
LGPL_2_1_only |
|
LGPL_2_1_or_later |
|
LGPL_3_0_only |
|
LGPL_3_0_or_later |
|
LGPLLR |
|
Libpng_2_0 |
|
Libpng |
|
Libselinux_1_0 |
|
Libtiff |
|
LiLiQ_P_1_1 |
|
LiLiQ_R_1_1 |
|
LiLiQ_Rplus_1_1 |
|
Linux_man_pages_copyleft |
|
Linux_OpenIB |
|
LPL_1_02 |
|
LPL_1_0 |
|
LPPL_1_0 |
|
LPPL_1_1 |
|
LPPL_1_2 |
|
LPPL_1_3a |
|
LPPL_1_3c |
|
MakeIndex |
|
MirOS |
|
MIT_0 |
|
MIT_advertising |
|
MIT_CMU |
|
MIT_enna |
|
MIT_feh |
|
MIT_Modern_Variant |
|
MIT_open_group |
|
MITNFA |
|
MIT |
|
Motosoto |
|
Mpich2 |
|
MPL_1_0 |
|
MPL_1_1 |
|
MPL_2_0_no_copyleft_exception |
|
MPL_2_0 |
|
MS_PL |
|
MS_RL |
|
MTLL |
|
MulanPSL_1_0 |
|
MulanPSL_2_0 |
|
Multics |
|
Mup |
|
NAIST_2003 |
|
NASA_1_3 |
|
Naumen |
|
NBPL_1_0 |
|
NCGL_UK_2_0 |
|
NCSA |
|
Net_SNMP |
|
NetCDF |
|
Newsletr |
|
NGPL |
|
NIST_PD_fallback |
|
NIST_PD |
|
NLOD_1_0 |
|
NLOD_2_0 |
|
NLPL |
|
Nokia |
|
NOSL |
|
Noweb |
|
NPL_1_0 |
|
NPL_1_1 |
|
NPOSL_3_0 |
|
NRL |
|
NTP_0 |
|
NTP |
|
O_UDA_1_0 |
|
OCCT_PL |
|
OCLC_2_0 |
|
ODbL_1_0 |
|
ODC_By_1_0 |
|
OFL_1_0_no_RFN |
|
OFL_1_0_RFN |
|
OFL_1_0 |
|
OFL_1_1_no_RFN |
|
OFL_1_1_RFN |
|
OFL_1_1 |
|
OGC_1_0 |
|
OGDL_Taiwan_1_0 |
|
OGL_Canada_2_0 |
|
OGL_UK_1_0 |
|
OGL_UK_2_0 |
|
OGL_UK_3_0 |
|
OGTSL |
|
OLDAP_1_1 |
|
OLDAP_1_2 |
|
OLDAP_1_3 |
|
OLDAP_1_4 |
|
OLDAP_2_0_1 |
|
OLDAP_2_0 |
|
OLDAP_2_1 |
|
OLDAP_2_2_1 |
|
OLDAP_2_2_2 |
|
OLDAP_2_2 |
|
OLDAP_2_3 |
|
OLDAP_2_4 |
|
OLDAP_2_5 |
|
OLDAP_2_6 |
|
OLDAP_2_7 |
|
OLDAP_2_8 |
|
OML |
|
OpenSSL |
|
OPL_1_0 |
|
OPUBL_1_0 |
|
OSET_PL_2_1 |
|
OSL_1_0 |
|
OSL_1_1 |
|
OSL_2_0 |
|
OSL_2_1 |
|
OSL_3_0 |
|
Parity_6_0_0 |
|
Parity_7_0_0 |
|
PDDL_1_0 |
|
PHP_3_01 |
|
PHP_3_0 |
|
Plexus |
|
PolyForm_Noncommercial_1_0_0 |
|
PolyForm_Small_Business_1_0_0 |
|
PostgreSQL |
|
PSF_2_0 |
|
Psfrag |
|
Psutils |
|
Python_2_0 |
|
Qhull |
|
QPL_1_0 |
|
Rdisc |
|
RHeCos_1_1 |
|
RPL_1_1 |
|
RPL_1_5 |
|
RPSL_1_0 |
|
RSA_MD |
|
RSCPL |
|
Ruby |
|
SAX_PD |
|
Saxpath |
|
SCEA |
|
SchemeReport |
|
Sendmail_8_23 |
|
Sendmail |
|
SGI_B_1_0 |
|
SGI_B_1_1 |
|
SGI_B_2_0 |
|
SHL_0_51 |
|
SHL_0_5 |
|
SimPL_2_0 |
|
SISSL_1_2 |
|
SISSL |
|
Sleepycat |
|
SMLNJ |
|
SMPPL |
|
SNIA |
|
Spencer_86 |
|
Spencer_94 |
|
Spencer_99 |
|
SPL_1_0 |
|
SSH_OpenSSH |
|
SSH_short |
|
SSPL_1_0 |
|
SugarCRM_1_1_3 |
|
SWL |
|
TAPR_OHL_1_0 |
|
TCL |
|
TCP_wrappers |
|
TMate |
|
TORQUE_1_1 |
|
TOSL |
|
TU_Berlin_1_0 |
|
TU_Berlin_2_0 |
|
UCL_1_0 |
|
Unicode_DFS_2015 |
|
Unicode_DFS_2016 |
|
Unicode_TOU |
|
Unlicense |
|
UPL_1_0 |
|
Vim |
|
VOSTROM |
|
VSL_1_0 |
|
W3C_19980720 |
|
W3C_20150513 |
|
W3C |
|
Watcom_1_0 |
|
Wsuipa |
|
WTFPL |
|
X11_distribute_modifications_variant |
|
X11 |
|
Xerox |
|
XFree86_1_1 |
|
Xinetd |
|
Xnet |
|
Xpp |
|
XSkat |
|
YPL_1_0 |
|
YPL_1_1 |
|
Zed |
|
Zend_2_0 |
|
Zimbra_1_3 |
|
Zimbra_1_4 |
|
Zlib_acknowledgement |
|
Zlib |
|
ZPL_1_1 |
|
ZPL_2_0 |
|
ZPL_2_1 |
|
Instances
Parsec LicenseId Source # |
|
Defined in Distribution.SPDX.LicenseId parsec :: CabalParsing m => m LicenseId Source # | |
Pretty LicenseId Source # | |
Defined in Distribution.SPDX.LicenseId | |
Structured LicenseId Source # | |
Defined in Distribution.SPDX.LicenseId | |
Binary LicenseId Source # | |
NFData LicenseId Source # | |
Defined in Distribution.SPDX.LicenseId | |
Data LicenseId Source # | |
Defined in Distribution.SPDX.LicenseId gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LicenseId -> c LicenseId # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LicenseId # toConstr :: LicenseId -> Constr # dataTypeOf :: LicenseId -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LicenseId) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LicenseId) # gmapT :: (forall b. Data b => b -> b) -> LicenseId -> LicenseId # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LicenseId -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LicenseId -> r # gmapQ :: (forall d. Data d => d -> u) -> LicenseId -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> LicenseId -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> LicenseId -> m LicenseId # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LicenseId -> m LicenseId # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LicenseId -> m LicenseId # | |
Bounded LicenseId Source # | |
Enum LicenseId Source # | |
Defined in Distribution.SPDX.LicenseId succ :: LicenseId -> LicenseId # pred :: LicenseId -> LicenseId # fromEnum :: LicenseId -> Int # enumFrom :: LicenseId -> [LicenseId] # enumFromThen :: LicenseId -> LicenseId -> [LicenseId] # enumFromTo :: LicenseId -> LicenseId -> [LicenseId] # enumFromThenTo :: LicenseId -> LicenseId -> LicenseId -> [LicenseId] # | |
Read LicenseId Source # | |
Show LicenseId Source # | |
Eq LicenseId Source # | |
Ord LicenseId Source # | |
Defined in Distribution.SPDX.LicenseId |
licenseName :: LicenseId -> String Source #
License name, e.g. "GNU General Public License v2.0 only"
licenseIsOsiApproved :: LicenseId -> Bool Source #
Whether the license is approved by Open Source Initiative (OSI).
mkLicenseId :: LicenseListVersion -> String -> Maybe LicenseId Source #
licenseIdList :: LicenseListVersion -> [LicenseId] Source #
License exception
data LicenseExceptionId Source #
SPDX License Exceptions identifiers list v3.16
DS389_exception |
|
Autoconf_exception_2_0 |
|
Autoconf_exception_3_0 |
|
Bison_exception_2_2 |
|
Bootloader_exception |
|
Classpath_exception_2_0 |
|
CLISP_exception_2_0 |
|
DigiRule_FOSS_exception |
|
ECos_exception_2_0 |
|
Fawkes_Runtime_exception |
|
FLTK_exception |
|
Font_exception_2_0 |
|
Freertos_exception_2_0 |
|
GCC_exception_2_0 |
|
GCC_exception_3_1 |
|
Gnu_javamail_exception |
|
GPL_3_0_linking_exception |
|
GPL_3_0_linking_source_exception |
|
GPL_CC_1_0 |
|
I2p_gpl_java_exception |
|
LGPL_3_0_linking_exception |
|
Libtool_exception |
|
Linux_syscall_note |
|
LLVM_exception |
|
LZMA_exception |
|
Mif_exception |
|
Nokia_Qt_exception_1_1 |
|
OCaml_LGPL_linking_exception |
|
OCCT_exception_1_0 |
|
OpenJDK_assembly_exception_1_0 |
|
Openvpn_openssl_exception |
|
PS_or_PDF_font_exception_20170817 |
|
Qt_GPL_exception_1_0 |
|
Qt_LGPL_exception_1_1 |
|
Qwt_exception_1_0 |
|
SHL_2_0 |
|
SHL_2_1 |
|
Swift_exception |
|
U_boot_exception_2_0 |
|
Universal_FOSS_exception_1_0 |
|
WxWindows_exception_3_1 |
|
Instances
Parsec LicenseExceptionId Source # | |||||
Defined in Distribution.SPDX.LicenseExceptionId parsec :: CabalParsing m => m LicenseExceptionId Source # | |||||
Pretty LicenseExceptionId Source # | |||||
Defined in Distribution.SPDX.LicenseExceptionId pretty :: LicenseExceptionId -> Doc Source # prettyVersioned :: CabalSpecVersion -> LicenseExceptionId -> Doc Source # | |||||
Structured LicenseExceptionId Source # | |||||
Defined in Distribution.SPDX.LicenseExceptionId structure :: Proxy LicenseExceptionId -> Structure Source # structureHash' :: Tagged LicenseExceptionId MD5 | |||||
Binary LicenseExceptionId Source # | |||||
Defined in Distribution.SPDX.LicenseExceptionId put :: LicenseExceptionId -> Put Source # get :: Get LicenseExceptionId Source # putList :: [LicenseExceptionId] -> Put Source # | |||||
NFData LicenseExceptionId Source # | |||||
Defined in Distribution.SPDX.LicenseExceptionId rnf :: LicenseExceptionId -> () Source # | |||||
Data LicenseExceptionId Source # | |||||
Defined in Distribution.SPDX.LicenseExceptionId gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LicenseExceptionId -> c LicenseExceptionId # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LicenseExceptionId # toConstr :: LicenseExceptionId -> Constr # dataTypeOf :: LicenseExceptionId -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LicenseExceptionId) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LicenseExceptionId) # gmapT :: (forall b. Data b => b -> b) -> LicenseExceptionId -> LicenseExceptionId # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LicenseExceptionId -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LicenseExceptionId -> r # gmapQ :: (forall d. Data d => d -> u) -> LicenseExceptionId -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> LicenseExceptionId -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> LicenseExceptionId -> m LicenseExceptionId # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LicenseExceptionId -> m LicenseExceptionId # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LicenseExceptionId -> m LicenseExceptionId # | |||||
Bounded LicenseExceptionId Source # | |||||
Enum LicenseExceptionId Source # | |||||
Defined in Distribution.SPDX.LicenseExceptionId succ :: LicenseExceptionId -> LicenseExceptionId # pred :: LicenseExceptionId -> LicenseExceptionId # toEnum :: Int -> LicenseExceptionId # fromEnum :: LicenseExceptionId -> Int # enumFrom :: LicenseExceptionId -> [LicenseExceptionId] # enumFromThen :: LicenseExceptionId -> LicenseExceptionId -> [LicenseExceptionId] # enumFromTo :: LicenseExceptionId -> LicenseExceptionId -> [LicenseExceptionId] # enumFromThenTo :: LicenseExceptionId -> LicenseExceptionId -> LicenseExceptionId -> [LicenseExceptionId] # | |||||
Generic LicenseExceptionId Source # | |||||
Defined in Distribution.SPDX.LicenseExceptionId
from :: LicenseExceptionId -> Rep LicenseExceptionId x # to :: Rep LicenseExceptionId x -> LicenseExceptionId # | |||||
Read LicenseExceptionId Source # | |||||
Show LicenseExceptionId Source # | |||||
Defined in Distribution.SPDX.LicenseExceptionId showsPrec :: Int -> LicenseExceptionId -> ShowS # show :: LicenseExceptionId -> String # showList :: [LicenseExceptionId] -> ShowS # | |||||
Eq LicenseExceptionId Source # | |||||
Defined in Distribution.SPDX.LicenseExceptionId (==) :: LicenseExceptionId -> LicenseExceptionId -> Bool # (/=) :: LicenseExceptionId -> LicenseExceptionId -> Bool # | |||||
Ord LicenseExceptionId Source # | |||||
Defined in Distribution.SPDX.LicenseExceptionId compare :: LicenseExceptionId -> LicenseExceptionId -> Ordering # (<) :: LicenseExceptionId -> LicenseExceptionId -> Bool # (<=) :: LicenseExceptionId -> LicenseExceptionId -> Bool # (>) :: LicenseExceptionId -> LicenseExceptionId -> Bool # (>=) :: LicenseExceptionId -> LicenseExceptionId -> Bool # max :: LicenseExceptionId -> LicenseExceptionId -> LicenseExceptionId # min :: LicenseExceptionId -> LicenseExceptionId -> LicenseExceptionId # | |||||
type Rep LicenseExceptionId Source # | |||||
Defined in Distribution.SPDX.LicenseExceptionId type Rep LicenseExceptionId = D1 ('MetaData "LicenseExceptionId" "Distribution.SPDX.LicenseExceptionId" "Cabal-syntax-3.11.0.0-97f9" 'False) (((((C1 ('MetaCons "DS389_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Autoconf_exception_2_0" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Autoconf_exception_3_0" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Bison_exception_2_2" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bootloader_exception" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Classpath_exception_2_0" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "CLISP_exception_2_0" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "DigiRule_FOSS_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "ECos_exception_2_0" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Fawkes_Runtime_exception" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "FLTK_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Font_exception_2_0" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Freertos_exception_2_0" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GCC_exception_2_0" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GCC_exception_3_1" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Gnu_javamail_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GPL_3_0_linking_exception" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "GPL_3_0_linking_source_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "GPL_CC_1_0" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "I2p_gpl_java_exception" 'PrefixI 'False) (U1 :: Type -> Type)))))) :+: ((((C1 ('MetaCons "LGPL_3_0_linking_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Libtool_exception" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Linux_syscall_note" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "LLVM_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "LZMA_exception" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "Mif_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Nokia_Qt_exception_1_1" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "OCaml_LGPL_linking_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "OCCT_exception_1_0" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "OpenJDK_assembly_exception_1_0" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "Openvpn_openssl_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "PS_or_PDF_font_exception_20170817" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Qt_GPL_exception_1_0" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Qt_LGPL_exception_1_1" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Qwt_exception_1_0" 'PrefixI 'False) (U1 :: Type -> Type)))) :+: ((C1 ('MetaCons "SHL_2_0" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "SHL_2_1" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Swift_exception" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "U_boot_exception_2_0" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Universal_FOSS_exception_1_0" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WxWindows_exception_3_1" 'PrefixI 'False) (U1 :: Type -> Type))))))) |
licenseExceptionId :: LicenseExceptionId -> String Source #
License SPDX identifier, e.g. "BSD-3-Clause"
.
licenseExceptionName :: LicenseExceptionId -> String Source #
License name, e.g. "GNU General Public License v2.0 only"
mkLicenseExceptionId :: LicenseListVersion -> String -> Maybe LicenseExceptionId Source #
Create a LicenseExceptionId
from a String
.
License reference
data LicenseRef Source #
A user defined license reference denoted by LicenseRef-[idstring]
(for a license not on the SPDX License List);
Instances
Parsec LicenseRef Source # | |||||
Defined in Distribution.SPDX.LicenseReference parsec :: CabalParsing m => m LicenseRef Source # | |||||
Pretty LicenseRef Source # | |||||
Defined in Distribution.SPDX.LicenseReference pretty :: LicenseRef -> Doc Source # prettyVersioned :: CabalSpecVersion -> LicenseRef -> Doc Source # | |||||
Structured LicenseRef Source # | |||||
Defined in Distribution.SPDX.LicenseReference structure :: Proxy LicenseRef -> Structure Source # structureHash' :: Tagged LicenseRef MD5 | |||||
Binary LicenseRef Source # | |||||
Defined in Distribution.SPDX.LicenseReference put :: LicenseRef -> Put Source # get :: Get LicenseRef Source # putList :: [LicenseRef] -> Put Source # | |||||
NFData LicenseRef Source # | |||||
Defined in Distribution.SPDX.LicenseReference rnf :: LicenseRef -> () Source # | |||||
Data LicenseRef Source # | |||||
Defined in Distribution.SPDX.LicenseReference gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LicenseRef -> c LicenseRef # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LicenseRef # toConstr :: LicenseRef -> Constr # dataTypeOf :: LicenseRef -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LicenseRef) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LicenseRef) # gmapT :: (forall b. Data b => b -> b) -> LicenseRef -> LicenseRef # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LicenseRef -> r # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LicenseRef -> r # gmapQ :: (forall d. Data d => d -> u) -> LicenseRef -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> LicenseRef -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> LicenseRef -> m LicenseRef # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LicenseRef -> m LicenseRef # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LicenseRef -> m LicenseRef # | |||||
Generic LicenseRef Source # | |||||
Defined in Distribution.SPDX.LicenseReference
from :: LicenseRef -> Rep LicenseRef x # to :: Rep LicenseRef x -> LicenseRef # | |||||
Read LicenseRef Source # | |||||
Defined in Distribution.SPDX.LicenseReference readsPrec :: Int -> ReadS LicenseRef # readList :: ReadS [LicenseRef] # readPrec :: ReadPrec LicenseRef # readListPrec :: ReadPrec [LicenseRef] # | |||||
Show LicenseRef Source # | |||||
Defined in Distribution.SPDX.LicenseReference showsPrec :: Int -> LicenseRef -> ShowS # show :: LicenseRef -> String # showList :: [LicenseRef] -> ShowS # | |||||
Eq LicenseRef Source # | |||||
Defined in Distribution.SPDX.LicenseReference (==) :: LicenseRef -> LicenseRef -> Bool # (/=) :: LicenseRef -> LicenseRef -> Bool # | |||||
Ord LicenseRef Source # | |||||
Defined in Distribution.SPDX.LicenseReference compare :: LicenseRef -> LicenseRef -> Ordering # (<) :: LicenseRef -> LicenseRef -> Bool # (<=) :: LicenseRef -> LicenseRef -> Bool # (>) :: LicenseRef -> LicenseRef -> Bool # (>=) :: LicenseRef -> LicenseRef -> Bool # max :: LicenseRef -> LicenseRef -> LicenseRef # min :: LicenseRef -> LicenseRef -> LicenseRef # | |||||
type Rep LicenseRef Source # | |||||
Defined in Distribution.SPDX.LicenseReference type Rep LicenseRef = D1 ('MetaData "LicenseRef" "Distribution.SPDX.LicenseReference" "Cabal-syntax-3.11.0.0-97f9" 'False) (C1 ('MetaCons "LicenseRef" 'PrefixI 'True) (S1 ('MetaSel ('Just "_lrDocument") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe String)) :*: S1 ('MetaSel ('Just "_lrLicense") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 String))) |
licenseRef :: LicenseRef -> String Source #
License reference.
licenseDocumentRef :: LicenseRef -> Maybe String Source #
Document reference.
mkLicenseRef :: Maybe String -> String -> Maybe LicenseRef Source #
Create LicenseRef
from optional document ref and name.
mkLicenseRef' :: Maybe String -> String -> LicenseRef Source #
Like mkLicenseRef
but convert invalid characters into -
.
License list version
data LicenseListVersion Source #
SPDX License List version Cabal
is aware of.
LicenseListVersion_3_0 | |
LicenseListVersion_3_2 | |
LicenseListVersion_3_6 | |
LicenseListVersion_3_9 | |
LicenseListVersion_3_10 | |
LicenseListVersion_3_16 |
Instances
Bounded LicenseListVersion Source # | |
Enum LicenseListVersion Source # | |
Defined in Distribution.SPDX.LicenseListVersion succ :: LicenseListVersion -> LicenseListVersion # pred :: LicenseListVersion -> LicenseListVersion # toEnum :: Int -> LicenseListVersion # fromEnum :: LicenseListVersion -> Int # enumFrom :: LicenseListVersion -> [LicenseListVersion] # enumFromThen :: LicenseListVersion -> LicenseListVersion -> [LicenseListVersion] # enumFromTo :: LicenseListVersion -> LicenseListVersion -> [LicenseListVersion] # enumFromThenTo :: LicenseListVersion -> LicenseListVersion -> LicenseListVersion -> [LicenseListVersion] # | |
Show LicenseListVersion Source # | |
Defined in Distribution.SPDX.LicenseListVersion showsPrec :: Int -> LicenseListVersion -> ShowS # show :: LicenseListVersion -> String # showList :: [LicenseListVersion] -> ShowS # | |
Eq LicenseListVersion Source # | |
Defined in Distribution.SPDX.LicenseListVersion (==) :: LicenseListVersion -> LicenseListVersion -> Bool # (/=) :: LicenseListVersion -> LicenseListVersion -> Bool # | |
Ord LicenseListVersion Source # | |
Defined in Distribution.SPDX.LicenseListVersion compare :: LicenseListVersion -> LicenseListVersion -> Ordering # (<) :: LicenseListVersion -> LicenseListVersion -> Bool # (<=) :: LicenseListVersion -> LicenseListVersion -> Bool # (>) :: LicenseListVersion -> LicenseListVersion -> Bool # (>=) :: LicenseListVersion -> LicenseListVersion -> Bool # max :: LicenseListVersion -> LicenseListVersion -> LicenseListVersion # min :: LicenseListVersion -> LicenseListVersion -> LicenseListVersion # |