Distribution.SPDX.LicenseExceptionId

Cabal-3.2.0.0: A framework for packaging Haskell software

Safe Haskell | None
Language | Haskell2010

Distribution.SPDX.LicenseExceptionId

Synopsis

- 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_CC_1_0
  - | I2p_gpl_java_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
  - | 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]

# Documentation

data LicenseExceptionId #

SPDX License identifier

Constructors

DS389_exception | `389-exception`, 389 Directory Server Exception
Autoconf_exception_2_0 | `Autoconf-exception-2.0`, Autoconf exception 2.0
Autoconf_exception_3_0 | `Autoconf-exception-3.0`, Autoconf exception 3.0
Bison_exception_2_2 | `Bison-exception-2.2`, Bison exception 2.2
Bootloader_exception | `Bootloader-exception`, Bootloader Distribution Exception
Classpath_exception_2_0 | `Classpath-exception-2.0`, Classpath exception 2.0
CLISP_exception_2_0 | `CLISP-exception-2.0`, CLISP exception 2.0
DigiRule_FOSS_exception | `DigiRule-FOSS-exception`, DigiRule FOSS License Exception
ECos_exception_2_0 | `eCos-exception-2.0`, eCos exception 2.0
Fawkes_Runtime_exception | `Fawkes-Runtime-exception`, Fawkes Runtime Exception
FLTK_exception | `FLTK-exception`, FLTK exception
Font_exception_2_0 | `Font-exception-2.0`, Font exception 2.0
Freertos_exception_2_0 | `freertos-exception-2.0`, FreeRTOS Exception 2.0
GCC_exception_2_0 | `GCC-exception-2.0`, GCC Runtime Library exception 2.0
GCC_exception_3_1 | `GCC-exception-3.1`, GCC Runtime Library exception 3.1
Gnu_javamail_exception | `gnu-javamail-exception`, GNU JavaMail exception
GPL_CC_1_0 | `GPL-CC-1.0`, GPL Cooperation Commitment 1.0, SPDX License List 3.6
I2p_gpl_java_exception | `i2p-gpl-java-exception`, i2p GPL+Java Exception
Libtool_exception | `Libtool-exception`, Libtool Exception
Linux_syscall_note | `Linux-syscall-note`, Linux Syscall Note
LLVM_exception | `LLVM-exception`, LLVM Exception, SPDX License List 3.2, SPDX License List 3.6
LZMA_exception | `LZMA-exception`, LZMA exception
Mif_exception | `mif-exception`, Macros and Inline Functions Exception
Nokia_Qt_exception_1_1 | `Nokia-Qt-exception-1.1`, Nokia Qt LGPL exception 1.1, SPDX License List 3.0, SPDX License List 3.2
OCaml_LGPL_linking_exception | `OCaml-LGPL-linking-exception`, OCaml LGPL Linking Exception, SPDX License List 3.6
OCCT_exception_1_0 | `OCCT-exception-1.0`, Open CASCADE Exception 1.0
OpenJDK_assembly_exception_1_0 | `OpenJDK-assembly-exception-1.0`, OpenJDK Assembly exception 1.0, SPDX License List 3.2, SPDX License List 3.6
Openvpn_openssl_exception | `openvpn-openssl-exception`, OpenVPN OpenSSL Exception
PS_or_PDF_font_exception_20170817 | `PS-or-PDF-font-exception-20170817`, PS/PDF font exception (2017-08-17), SPDX License List 3.2, SPDX License List 3.6
Qt_GPL_exception_1_0 | `Qt-GPL-exception-1.0`, Qt GPL exception 1.0, SPDX License List 3.2, SPDX License List 3.6
Qt_LGPL_exception_1_1 | `Qt-LGPL-exception-1.1`, Qt LGPL exception 1.1, SPDX License List 3.2, SPDX License List 3.6
Qwt_exception_1_0 | `Qwt-exception-1.0`, Qwt exception 1.0
Swift_exception | `Swift-exception`, Swift Exception, SPDX License List 3.6
U_boot_exception_2_0 | `u-boot-exception-2.0`, U-Boot exception 2.0
Universal_FOSS_exception_1_0 | `Universal-FOSS-exception-1.0`, Universal FOSS Exception, Version 1.0, SPDX License List 3.6
WxWindows_exception_3_1 | `WxWindows-exception-3.1`, WxWindows Library Exception 3.1

#### Instances

Instances details

Bounded LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods minBound :: LicenseExceptionId Source # maxBound :: LicenseExceptionId Source #
Enum LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods succ :: LicenseExceptionId -> LicenseExceptionId Source # pred :: LicenseExceptionId -> LicenseExceptionId Source # toEnum :: Int -> LicenseExceptionId Source # fromEnum :: LicenseExceptionId -> Int Source # enumFrom :: LicenseExceptionId -> [LicenseExceptionId] Source # enumFromThen :: LicenseExceptionId -> LicenseExceptionId -> [LicenseExceptionId] Source # enumFromTo :: LicenseExceptionId -> LicenseExceptionId -> [LicenseExceptionId] Source # enumFromThenTo :: LicenseExceptionId -> LicenseExceptionId -> LicenseExceptionId -> [LicenseExceptionId] Source #
Eq LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods (==) :: LicenseExceptionId -> LicenseExceptionId -> Bool # (/=) :: LicenseExceptionId -> LicenseExceptionId -> Bool #
Data LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LicenseExceptionId -> c LicenseExceptionId Source # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LicenseExceptionId Source # toConstr :: LicenseExceptionId -> Constr Source # dataTypeOf :: LicenseExceptionId -> DataType Source # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LicenseExceptionId) Source # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LicenseExceptionId) Source # gmapT :: (forall b. Data b => b -> b) -> LicenseExceptionId -> LicenseExceptionId Source # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LicenseExceptionId -> r Source # gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LicenseExceptionId -> r Source # gmapQ :: (forall d. Data d => d -> u) -> LicenseExceptionId -> [u] Source # gmapQi :: Int -> (forall d. Data d => d -> u) -> LicenseExceptionId -> u Source # gmapM :: Monad m => (forall d. Data d => d -> m d) -> LicenseExceptionId -> m LicenseExceptionId Source # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LicenseExceptionId -> m LicenseExceptionId Source # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LicenseExceptionId -> m LicenseExceptionId Source #
Ord LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods compare :: LicenseExceptionId -> LicenseExceptionId -> Ordering # (<) :: LicenseExceptionId -> LicenseExceptionId -> Bool # (<=) :: LicenseExceptionId -> LicenseExceptionId -> Bool # (>) :: LicenseExceptionId -> LicenseExceptionId -> Bool # (>=) :: LicenseExceptionId -> LicenseExceptionId -> Bool # max :: LicenseExceptionId -> LicenseExceptionId -> LicenseExceptionId # min :: LicenseExceptionId -> LicenseExceptionId -> LicenseExceptionId #
Read LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods readsPrec :: Int -> ReadS LicenseExceptionId Source # readList :: ReadS [LicenseExceptionId] Source # readPrec :: ReadPrec LicenseExceptionId Source # readListPrec :: ReadPrec [LicenseExceptionId] Source #
Show LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods showsPrec :: Int -> LicenseExceptionId -> ShowS Source # show :: LicenseExceptionId -> String Source # showList :: [LicenseExceptionId] -> ShowS Source #
Generic LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Associated Types type Rep LicenseExceptionId :: Type -> Type Source # Methods from :: LicenseExceptionId -> Rep LicenseExceptionId x Source # to :: Rep LicenseExceptionId x -> LicenseExceptionId Source #
Binary LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods put :: LicenseExceptionId -> Put Source # get :: Get LicenseExceptionId Source # putList :: [LicenseExceptionId] -> Put Source #
NFData LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods rnf :: LicenseExceptionId -> () Source #
Structured LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods structure :: Proxy LicenseExceptionId -> Structure # structureHash' :: Tagged LicenseExceptionId MD5
Pretty LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods pretty :: LicenseExceptionId -> Doc # prettyVersioned :: CabalSpecVersion -> LicenseExceptionId -> Doc #
Parsec LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods parsec :: CabalParsing m => m LicenseExceptionId #
type Rep LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId type Rep LicenseExceptionId = D1 ('MetaData "LicenseExceptionId" "Distribution.SPDX.LicenseExceptionId" "Cabal-3.2.0.0" '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_CC_1_0" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "I2p_gpl_java_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 "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 #

License SPDX identifier, e.g. `"BSD-3-Clause"`.

licenseExceptionName :: LicenseExceptionId -> String #

License name, e.g. `"GNU General Public License v2.0 only"`

mkLicenseExceptionId :: LicenseListVersion -> String -> Maybe LicenseExceptionId #

Create a `LicenseExceptionId` from a `String`.

licenseExceptionIdList :: LicenseListVersion -> [LicenseExceptionId] #