Distribution.SPDX.LicenseExceptionId

Cabal-2.2.0.1: 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
  - | I2p_gpl_java_exception
  - | Libtool_exception
  - | Linux_syscall_note
  - | LZMA_exception
  - | Mif_exception
  - | Nokia_Qt_exception_1_1
  - | OCCT_exception_1_0
  - | Openvpn_openssl_exception
  - | Qwt_exception_1_0
  - | U_boot_exception_2_0
  - | WxWindows_exception_3_1
- licenseExceptionId :: LicenseExceptionId -> String
- licenseExceptionName :: LicenseExceptionId -> String
- mkLicenseExceptionId :: String -> Maybe 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
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
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
OCCT_exception_1_0 | `OCCT-exception-1.0`, Open CASCADE Exception 1.0
Openvpn_openssl_exception | `openvpn-openssl-exception`, OpenVPN OpenSSL Exception
Qwt_exception_1_0 | `Qwt-exception-1.0`, Qwt exception 1.0
U_boot_exception_2_0 | `u-boot-exception-2.0`, U-Boot exception 2.0
WxWindows_exception_3_1 | `WxWindows-exception-3.1`, WxWindows Library Exception 3.1

Instances

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 :: (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 :: * -> * Source # Methods from :: LicenseExceptionId -> Rep LicenseExceptionId x Source # to :: Rep LicenseExceptionId x -> LicenseExceptionId Source #
NFData LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods rnf :: LicenseExceptionId -> () Source #
Binary LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods put :: LicenseExceptionId -> Put Source # get :: Get LicenseExceptionId Source # putList :: [LicenseExceptionId] -> Put Source #
Pretty LicenseExceptionId # |
Instance details Defined in Distribution.SPDX.LicenseExceptionId Methods pretty :: 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-2.2.0.1" False) ((((C1 (MetaCons "DS389_exception" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "Autoconf_exception_2_0" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Autoconf_exception_3_0" PrefixI False) (U1 :: * -> *))) :+: (C1 (MetaCons "Bison_exception_2_2" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "Bootloader_exception" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Classpath_exception_2_0" PrefixI False) (U1 :: * -> *)))) :+: ((C1 (MetaCons "CLISP_exception_2_0" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "DigiRule_FOSS_exception" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "ECos_exception_2_0" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "Fawkes_Runtime_exception" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "FLTK_exception" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "Font_exception_2_0" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Freertos_exception_2_0" PrefixI False) (U1 :: * -> *))))) :+: (((C1 (MetaCons "GCC_exception_2_0" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "GCC_exception_3_1" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Gnu_javamail_exception" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "I2p_gpl_java_exception" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Libtool_exception" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "Linux_syscall_note" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "LZMA_exception" PrefixI False) (U1 :: * -> *)))) :+: ((C1 (MetaCons "Mif_exception" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "Nokia_Qt_exception_1_1" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "OCCT_exception_1_0" PrefixI False) (U1 :: * -> *))) :+: ((C1 (MetaCons "Openvpn_openssl_exception" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Qwt_exception_1_0" PrefixI False) (U1 :: * -> *)) :+: (C1 (MetaCons "U_boot_exception_2_0" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "WxWindows_exception_3_1" PrefixI False) (U1 :: * -> *))))))

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 :: String -> Maybe LicenseExceptionId #

Create a `LicenseExceptionId` from a `String`.