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
- | X3D_Slicer_1_0
- | AAL
- | Abstyles
- | AdaCore_doc
- | Adobe_2006
- | Adobe_Display_PostScript
- | Adobe_Glyph
- | Adobe_Utopia
- | 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
- | AMD_newlib
- | AMDPLPA
- | AML_glslang
- | AML
- | AMPAS
- | ANTLR_PD_fallback
- | ANTLR_PD
- | Any_OSI
- | 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
- | Arphic_1999
- | Artistic_1_0_cl8
- | Artistic_1_0_Perl
- | Artistic_1_0
- | Artistic_2_0
- | ASWF_Digital_Assets_1_0
- | ASWF_Digital_Assets_1_1
- | Baekmuk
- | Bahyph
- | Barr
- | Bcrypt_Solar_Designer
- | Beerware
- | Bitstream_Charter
- | Bitstream_Vera
- | BitTorrent_1_0
- | BitTorrent_1_1
- | Blessing
- | BlueOak_1_0_0
- | Boehm_GC
- | Borceux
- | Brian_Gladman_2_Clause
- | Brian_Gladman_3_Clause
- | BSD_1_Clause
- | BSD_2_Clause_FreeBSD
- | BSD_2_Clause_NetBSD
- | BSD_2_Clause_Darwin
- | BSD_2_Clause_first_lines
- | BSD_2_Clause_Patent
- | BSD_2_Clause_Views
- | BSD_2_Clause
- | BSD_3_Clause_acpica
- | BSD_3_Clause_Attribution
- | BSD_3_Clause_Clear
- | BSD_3_Clause_flex
- | BSD_3_Clause_HP
- | 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_Sun
- | BSD_3_Clause
- | BSD_4_Clause_Shortened
- | BSD_4_Clause_UC
- | BSD_4_Clause
- | BSD_4_3RENO
- | BSD_4_3TAHOE
- | BSD_Advertising_Acknowledgement
- | BSD_Attribution_HPND_disclaimer
- | BSD_Inferno_Nettverk
- | BSD_Protection
- | BSD_Source_beginning_file
- | BSD_Source_Code
- | BSD_Systemics_W3Works
- | BSD_Systemics
- | 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_no_preamble
- | Caldera
- | Catharon
- | 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_AU
- | CC_BY_3_0_DE
- | CC_BY_3_0_IGO
- | 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_DE
- | 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_IGO
- | 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
- | CFITSIO
- | Check_cvs
- | Checkmk
- | ClArtistic
- | Clips
- | CMU_Mach_nodoc
- | CMU_Mach
- | 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
- | Cornell_Lossless_JPEG
- | CPAL_1_0
- | CPL_1_0
- | CPOL_1_02
- | Cronyx
- | Crossword
- | CrystalStacker
- | CUA_OPL_1_0
- | Cube
- | Curl
- | Cve_tou
- | D_FSL_1_0
- | DEC_3_Clause
- | Diffmark
- | DL_DE_BY_2_0
- | DL_DE_ZERO_2_0
- | DocBook_Schema
- | DocBook_XML
- | DOC
- | Dotseqn
- | DRL_1_0
- | DRL_1_1
- | DSDP
- | Dtoa
- | 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
- | FBM
- | FDK_AAC
- | Ferguson_Twofish
- | Frameworx_1_0
- | FreeBSD_DOC
- | FreeImage
- | FSFAP_no_warranty_disclaimer
- | FSFAP
- | FSFULLRWD
- | FSFULLR
- | FSFUL
- | FTL
- | Furuseth
- | Fwlw
- | GCR_docs
- | 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
- | Graphics_Gems
- | GSOAP_1_3b
- | Gtkbook
- | Gutmann
- | HaskellReport
- | Hdparm
- | HIDAPI
- | Hippocratic_2_1
- | HP_1986
- | HP_1989
- | HPND_DEC
- | HPND_doc_sell
- | HPND_doc
- | HPND_export_US_acknowledgement
- | HPND_export_US_modify
- | HPND_export_US
- | HPND_export2_US
- | HPND_Fenneberg_Livingston
- | HPND_INRIA_IMAG
- | HPND_Intel
- | HPND_Kevlin_Henney
- | HPND_Markus_Kuhn
- | HPND_merchantability_variant
- | HPND_MIT_disclaimer
- | HPND_Netrek
- | HPND_Pbmplus
- | HPND_sell_MIT_disclaimer_xserver
- | HPND_sell_regexpr
- | HPND_sell_variant_MIT_disclaimer_rev
- | HPND_sell_variant_MIT_disclaimer
- | HPND_sell_variant
- | HPND_UC_export_US
- | HPND_UC
- | HPND
- | HTMLTIDY
- | IBM_pibs
- | ICU
- | IEC_Code_Components_EULA
- | IJG_short
- | IJG
- | ImageMagick
- | IMatix
- | Imlib2
- | Info_ZIP
- | Inner_Net_2_0
- | Intel_ACPI
- | Intel
- | Interbase_1_0
- | IPA
- | IPL_1_0
- | ISC_Veillard
- | ISC
- | Jam
- | JasPer_2_0
- | JPL_image
- | JPNIC
- | JSON
- | Kastrup
- | Kazlib
- | Knuth_CTAN
- | LAL_1_2
- | LAL_1_3
- | Latex2e_translated_notice
- | 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
- | Libutil_David_Nugent
- | LiLiQ_P_1_1
- | LiLiQ_R_1_1
- | LiLiQ_Rplus_1_1
- | Linux_man_pages_1_para
- | Linux_man_pages_copyleft_2_para
- | Linux_man_pages_copyleft_var
- | Linux_man_pages_copyleft
- | Linux_OpenIB
- | LOOP
- | LPD_document
- | LPL_1_02
- | LPL_1_0
- | LPPL_1_0
- | LPPL_1_1
- | LPPL_1_2
- | LPPL_1_3a
- | LPPL_1_3c
- | Lsof
- | Lucida_Bitmap_Fonts
- | LZMA_SDK_9_11_to_9_20
- | LZMA_SDK_9_22
- | Mackerras_3_Clause_acknowledgment
- | Mackerras_3_Clause
- | Magaz
- | Mailprio
- | MakeIndex
- | Martin_Birgmeier
- | McPhee_slideshow
- | Metamail
- | Minpack
- | MirOS
- | MIT_0
- | MIT_advertising
- | MIT_CMU
- | MIT_enna
- | MIT_feh
- | MIT_Festival
- | MIT_Khronos_old
- | MIT_Modern_Variant
- | MIT_open_group
- | MIT_testregex
- | MIT_Wu
- | MITNFA
- | MIT
- | MMIXware
- | Motosoto
- | MPEG_SSG
- | Mpi_permissive
- | Mpich2
- | MPL_1_0
- | MPL_1_1
- | MPL_2_0_no_copyleft_exception
- | MPL_2_0
- | Mplus
- | MS_LPL
- | MS_PL
- | MS_RL
- | MTLL
- | MulanPSL_1_0
- | MulanPSL_2_0
- | Multics
- | Mup
- | NAIST_2003
- | NASA_1_3
- | Naumen
- | NBPL_1_0
- | NCBI_PD
- | NCGL_UK_2_0
- | NCL
- | NCSA
- | Net_SNMP
- | NetCDF
- | Newsletr
- | NGPL
- | NICTA_1_0
- | NIST_PD_fallback
- | NIST_PD
- | NIST_Software
- | 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
- | OAR
- | OCCT_PL
- | OCLC_2_0
- | ODbL_1_0
- | ODC_By_1_0
- | OFFIS
- | 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
- | OLFL_1_3
- | OML
- | OpenPBS_2_3
- | OpenSSL_standalone
- | OpenSSL
- | OpenVision
- | OPL_1_0
- | OPL_UK_3_0
- | OPUBL_1_0
- | OSET_PL_2_1
- | OSL_1_0
- | OSL_1_1
- | OSL_2_0
- | OSL_2_1
- | OSL_3_0
- | PADL
- | Parity_6_0_0
- | Parity_7_0_0
- | PDDL_1_0
- | PHP_3_01
- | PHP_3_0
- | Pixar
- | Pkgconf
- | Plexus
- | Pnmstitch
- | PolyForm_Noncommercial_1_0_0
- | PolyForm_Small_Business_1_0_0
- | PostgreSQL
- | PPL
- | PSF_2_0
- | Psfrag
- | Psutils
- | Python_2_0_1
- | Python_2_0
- | Python_ldap
- | Qhull
- | QPL_1_0_INRIA_2004
- | QPL_1_0
- | Radvd
- | Rdisc
- | RHeCos_1_1
- | RPL_1_1
- | RPL_1_5
- | RPSL_1_0
- | RSA_MD
- | RSCPL
- | Ruby_pty
- | Ruby
- | SAX_PD_2_0
- | SAX_PD
- | Saxpath
- | SCEA
- | SchemeReport
- | Sendmail_8_23
- | Sendmail
- | SGI_B_1_0
- | SGI_B_1_1
- | SGI_B_2_0
- | SGI_OpenGL
- | SGP4
- | SHL_0_51
- | SHL_0_5
- | SimPL_2_0
- | SISSL_1_2
- | SISSL
- | Sleepycat
- | SL
- | SMLNJ
- | SMPPL
- | SNIA
- | Snprintf
- | SoftSurfer
- | Soundex
- | Spencer_86
- | Spencer_94
- | Spencer_99
- | SPL_1_0
- | Ssh_keyscan
- | SSH_OpenSSH
- | SSH_short
- | SSLeay_standalone
- | SSPL_1_0
- | SugarCRM_1_1_3
- | Sun_PPP_2000
- | Sun_PPP
- | SunPro
- | SWL
- | Swrule
- | Symlinks
- | TAPR_OHL_1_0
- | TCL
- | TCP_wrappers
- | TermReadKey
- | TGPPL_1_0
- | Threeparttable
- | TMate
- | TORQUE_1_1
- | TOSL
- | TPDL
- | TPL_1_0
- | TTWL
- | TTYP0
- | TU_Berlin_1_0
- | TU_Berlin_2_0
- | Ubuntu_font_1_0
- | UCAR
- | UCL_1_0
- | Ulem
- | UMich_Merit
- | Unicode_3_0
- | Unicode_DFS_2015
- | Unicode_DFS_2016
- | Unicode_TOU
- | UnixCrypt
- | Unlicense
- | UPL_1_0
- | URT_RLE
- | Vim
- | VOSTROM
- | VSL_1_0
- | W3C_19980720
- | W3C_20150513
- | W3C
- | W3m
- | Watcom_1_0
- | Widget_Workshop
- | Wsuipa
- | WTFPL
- | X11_distribute_modifications_variant
- | X11_swapped
- | X11
- | Xdebug_1_03
- | Xerox
- | Xfig
- | XFree86_1_1
- | Xinetd
- | Xkeyboard_config_Zinoviev
- | Xlock
- | Xnet
- | Xpp
- | XSkat
- | Xzoom
- | YPL_1_0
- | YPL_1_1
- | Zed
- | Zeeff
- | 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
- | Asterisk_exception
- | Asterisk_linking_protocols_exception
- | Autoconf_exception_2_0
- | Autoconf_exception_3_0
- | Autoconf_exception_generic_3_0
- | Autoconf_exception_generic
- | Autoconf_exception_macro
- | Bison_exception_1_24
- | Bison_exception_2_2
- | Bootloader_exception
- | Classpath_exception_2_0
- | CLISP_exception_2_0
- | Cryptsetup_OpenSSL_exception
- | DigiRule_FOSS_exception
- | ECos_exception_2_0
- | Erlang_otp_linking_exception
- | Fawkes_Runtime_exception
- | FLTK_exception
- | Fmt_exception
- | Font_exception_2_0
- | Freertos_exception_2_0
- | GCC_exception_2_0_note
- | GCC_exception_2_0
- | GCC_exception_3_1
- | Gmsh_exception
- | GNAT_exception
- | GNOME_examples_exception
- | GNU_compiler_exception
- | Gnu_javamail_exception
- | GPL_3_0_interface_exception
- | GPL_3_0_linking_exception
- | GPL_3_0_linking_source_exception
- | GPL_CC_1_0
- | GStreamer_exception_2005
- | GStreamer_exception_2008
- | I2p_gpl_java_exception
- | KiCad_libraries_exception
- | LGPL_3_0_linking_exception
- | Libpri_OpenH323_exception
- | Libtool_exception
- | Linux_syscall_note
- | LLGPL
- | 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
- | PCRE2_exception
- | PS_or_PDF_font_exception_20170817
- | QPL_1_0_INRIA_2004_exception
- | Qt_GPL_exception_1_0
- | Qt_LGPL_exception_1_1
- | Qwt_exception_1_0
- | Romic_exception
- | RRDtool_FLOSS_exception_2_0
- | SANE_exception
- | SHL_2_0
- | SHL_2_1
- | Stunnel_exception
- | SWI_exception
- | Swift_exception
- | Texinfo_exception
- | U_boot_exception_2_0
- | UBDL_exception
- | Universal_FOSS_exception_1_0
- | Vsftpd_openssl_exception
- | WxWindows_exception_3_1
- | X11vnc_openssl_exception
- 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.14.0.0-e3f5" '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.14.0.0-e3f5" '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.25
NullBSD |
|
X3D_Slicer_1_0 |
|
AAL |
|
Abstyles |
|
AdaCore_doc |
|
Adobe_2006 |
|
Adobe_Display_PostScript |
|
Adobe_Glyph |
|
Adobe_Utopia |
|
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 |
|
AMD_newlib |
|
AMDPLPA |
|
AML_glslang |
|
AML |
|
AMPAS |
|
ANTLR_PD_fallback |
|
ANTLR_PD |
|
Any_OSI |
|
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 |
|
Arphic_1999 |
|
Artistic_1_0_cl8 |
|
Artistic_1_0_Perl |
|
Artistic_1_0 |
|
Artistic_2_0 |
|
ASWF_Digital_Assets_1_0 |
|
ASWF_Digital_Assets_1_1 |
|
Baekmuk |
|
Bahyph |
|
Barr |
|
Bcrypt_Solar_Designer |
|
Beerware |
|
Bitstream_Charter |
|
Bitstream_Vera |
|
BitTorrent_1_0 |
|
BitTorrent_1_1 |
|
Blessing |
|
BlueOak_1_0_0 |
|
Boehm_GC |
|
Borceux |
|
Brian_Gladman_2_Clause |
|
Brian_Gladman_3_Clause |
|
BSD_1_Clause |
|
BSD_2_Clause_FreeBSD |
|
BSD_2_Clause_NetBSD |
|
BSD_2_Clause_Darwin |
|
BSD_2_Clause_first_lines |
|
BSD_2_Clause_Patent |
|
BSD_2_Clause_Views |
|
BSD_2_Clause |
|
BSD_3_Clause_acpica |
|
BSD_3_Clause_Attribution |
|
BSD_3_Clause_Clear |
|
BSD_3_Clause_flex |
|
BSD_3_Clause_HP |
|
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_Sun |
|
BSD_3_Clause | |
BSD_4_Clause_Shortened |
|
BSD_4_Clause_UC |
|
BSD_4_Clause | |
BSD_4_3RENO |
|
BSD_4_3TAHOE |
|
BSD_Advertising_Acknowledgement |
|
BSD_Attribution_HPND_disclaimer |
|
BSD_Inferno_Nettverk |
|
BSD_Protection |
|
BSD_Source_beginning_file |
|
BSD_Source_Code |
|
BSD_Systemics_W3Works |
|
BSD_Systemics |
|
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_no_preamble |
|
Caldera |
|
Catharon |
|
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_AU |
|
CC_BY_3_0_DE |
|
CC_BY_3_0_IGO |
|
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_DE |
|
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_IGO |
|
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 |
|
CFITSIO |
|
Check_cvs |
|
Checkmk |
|
ClArtistic |
|
Clips |
|
CMU_Mach_nodoc |
|
CMU_Mach |
|
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 |
|
Cornell_Lossless_JPEG |
|
CPAL_1_0 |
|
CPL_1_0 |
|
CPOL_1_02 |
|
Cronyx |
|
Crossword |
|
CrystalStacker |
|
CUA_OPL_1_0 |
|
Cube |
|
Curl |
|
Cve_tou |
|
D_FSL_1_0 |
|
DEC_3_Clause |
|
Diffmark |
|
DL_DE_BY_2_0 |
|
DL_DE_ZERO_2_0 |
|
DocBook_Schema |
|
DocBook_XML |
|
DOC |
|
Dotseqn |
|
DRL_1_0 |
|
DRL_1_1 |
|
DSDP |
|
Dtoa |
|
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 |
|
FBM |
|
FDK_AAC |
|
Ferguson_Twofish |
|
Frameworx_1_0 |
|
FreeBSD_DOC |
|
FreeImage |
|
FSFAP_no_warranty_disclaimer |
|
FSFAP |
|
FSFULLRWD |
|
FSFULLR |
|
FSFUL |
|
FTL |
|
Furuseth |
|
Fwlw |
|
GCR_docs |
|
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 |
|
Graphics_Gems |
|
GSOAP_1_3b |
|
Gtkbook |
|
Gutmann |
|
HaskellReport |
|
Hdparm |
|
HIDAPI |
|
Hippocratic_2_1 |
|
HP_1986 |
|
HP_1989 |
|
HPND_DEC |
|
HPND_doc_sell |
|
HPND_doc |
|
HPND_export_US_acknowledgement |
|
HPND_export_US_modify |
|
HPND_export_US |
|
HPND_export2_US |
|
HPND_Fenneberg_Livingston |
|
HPND_INRIA_IMAG |
|
HPND_Intel |
|
HPND_Kevlin_Henney |
|
HPND_Markus_Kuhn |
|
HPND_merchantability_variant |
|
HPND_MIT_disclaimer |
|
HPND_Netrek |
|
HPND_Pbmplus |
|
HPND_sell_MIT_disclaimer_xserver |
|
HPND_sell_regexpr |
|
HPND_sell_variant_MIT_disclaimer_rev |
|
HPND_sell_variant_MIT_disclaimer |
|
HPND_sell_variant |
|
HPND_UC_export_US |
|
HPND_UC |
|
HPND |
|
HTMLTIDY |
|
IBM_pibs |
|
ICU |
|
IEC_Code_Components_EULA |
|
IJG_short |
|
IJG |
|
ImageMagick |
|
IMatix |
|
Imlib2 |
|
Info_ZIP |
|
Inner_Net_2_0 |
|
Intel_ACPI |
|
Intel |
|
Interbase_1_0 |
|
IPA |
|
IPL_1_0 |
|
ISC_Veillard |
|
ISC |
|
Jam |
|
JasPer_2_0 |
|
JPL_image |
|
JPNIC |
|
JSON |
|
Kastrup |
|
Kazlib |
|
Knuth_CTAN |
|
LAL_1_2 |
|
LAL_1_3 |
|
Latex2e_translated_notice |
|
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 |
|
Libutil_David_Nugent |
|
LiLiQ_P_1_1 |
|
LiLiQ_R_1_1 |
|
LiLiQ_Rplus_1_1 |
|
Linux_man_pages_1_para |
|
Linux_man_pages_copyleft_2_para |
|
Linux_man_pages_copyleft_var |
|
Linux_man_pages_copyleft |
|
Linux_OpenIB |
|
LOOP |
|
LPD_document |
|
LPL_1_02 |
|
LPL_1_0 |
|
LPPL_1_0 |
|
LPPL_1_1 |
|
LPPL_1_2 |
|
LPPL_1_3a |
|
LPPL_1_3c |
|
Lsof |
|
Lucida_Bitmap_Fonts |
|
LZMA_SDK_9_11_to_9_20 |
|
LZMA_SDK_9_22 |
|
Mackerras_3_Clause_acknowledgment |
|
Mackerras_3_Clause |
|
Magaz |
|
Mailprio |
|
MakeIndex |
|
Martin_Birgmeier |
|
McPhee_slideshow |
|
Metamail |
|
Minpack |
|
MirOS |
|
MIT_0 |
|
MIT_advertising |
|
MIT_CMU |
|
MIT_enna |
|
MIT_feh |
|
MIT_Festival |
|
MIT_Khronos_old |
|
MIT_Modern_Variant |
|
MIT_open_group |
|
MIT_testregex |
|
MIT_Wu |
|
MITNFA |
|
MIT |
|
MMIXware |
|
Motosoto |
|
MPEG_SSG |
|
Mpi_permissive |
|
Mpich2 |
|
MPL_1_0 |
|
MPL_1_1 |
|
MPL_2_0_no_copyleft_exception |
|
MPL_2_0 |
|
Mplus |
|
MS_LPL |
|
MS_PL |
|
MS_RL |
|
MTLL |
|
MulanPSL_1_0 |
|
MulanPSL_2_0 |
|
Multics |
|
Mup |
|
NAIST_2003 |
|
NASA_1_3 |
|
Naumen |
|
NBPL_1_0 |
|
NCBI_PD |
|
NCGL_UK_2_0 |
|
NCL |
|
NCSA |
|
Net_SNMP |
|
NetCDF |
|
Newsletr |
|
NGPL |
|
NICTA_1_0 |
|
NIST_PD_fallback |
|
NIST_PD |
|
NIST_Software |
|
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 |
|
OAR |
|
OCCT_PL |
|
OCLC_2_0 |
|
ODbL_1_0 |
|
ODC_By_1_0 |
|
OFFIS |
|
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 |
|
OLFL_1_3 |
|
OML |
|
OpenPBS_2_3 |
|
OpenSSL_standalone |
|
OpenSSL |
|
OpenVision |
|
OPL_1_0 |
|
OPL_UK_3_0 |
|
OPUBL_1_0 |
|
OSET_PL_2_1 |
|
OSL_1_0 |
|
OSL_1_1 |
|
OSL_2_0 |
|
OSL_2_1 |
|
OSL_3_0 |
|
PADL |
|
Parity_6_0_0 |
|
Parity_7_0_0 |
|
PDDL_1_0 |
|
PHP_3_01 |
|
PHP_3_0 |
|
Pixar |
|
Pkgconf |
|
Plexus |
|
Pnmstitch |
|
PolyForm_Noncommercial_1_0_0 |
|
PolyForm_Small_Business_1_0_0 |
|
PostgreSQL |
|
PPL |
|
PSF_2_0 |
|
Psfrag |
|
Psutils |
|
Python_2_0_1 |
|
Python_2_0 |
|
Python_ldap |
|
Qhull |
|
QPL_1_0_INRIA_2004 |
|
QPL_1_0 |
|
Radvd |
|
Rdisc |
|
RHeCos_1_1 |
|
RPL_1_1 |
|
RPL_1_5 |
|
RPSL_1_0 |
|
RSA_MD |
|
RSCPL |
|
Ruby_pty |
|
Ruby |
|
SAX_PD_2_0 |
|
SAX_PD |
|
Saxpath |
|
SCEA |
|
SchemeReport |
|
Sendmail_8_23 |
|
Sendmail |
|
SGI_B_1_0 |
|
SGI_B_1_1 |
|
SGI_B_2_0 |
|
SGI_OpenGL |
|
SGP4 |
|
SHL_0_51 |
|
SHL_0_5 |
|
SimPL_2_0 |
|
SISSL_1_2 |
|
SISSL |
|
Sleepycat |
|
SL |
|
SMLNJ |
|
SMPPL |
|
SNIA |
|
Snprintf |
|
SoftSurfer |
|
Soundex |
|
Spencer_86 |
|
Spencer_94 |
|
Spencer_99 |
|
SPL_1_0 |
|
Ssh_keyscan |
|
SSH_OpenSSH |
|
SSH_short |
|
SSLeay_standalone |
|
SSPL_1_0 |
|
SugarCRM_1_1_3 |
|
Sun_PPP_2000 |
|
Sun_PPP |
|
SunPro |
|
SWL |
|
Swrule |
|
Symlinks |
|
TAPR_OHL_1_0 |
|
TCL |
|
TCP_wrappers |
|
TermReadKey |
|
TGPPL_1_0 |
|
Threeparttable |
|
TMate |
|
TORQUE_1_1 |
|
TOSL |
|
TPDL |
|
TPL_1_0 |
|
TTWL |
|
TTYP0 |
|
TU_Berlin_1_0 |
|
TU_Berlin_2_0 |
|
Ubuntu_font_1_0 |
|
UCAR |
|
UCL_1_0 |
|
Ulem |
|
UMich_Merit |
|
Unicode_3_0 |
|
Unicode_DFS_2015 |
|
Unicode_DFS_2016 |
|
Unicode_TOU |
|
UnixCrypt |
|
Unlicense |
|
UPL_1_0 |
|
URT_RLE |
|
Vim |
|
VOSTROM |
|
VSL_1_0 |
|
W3C_19980720 |
|
W3C_20150513 |
|
W3C |
|
W3m |
|
Watcom_1_0 |
|
Widget_Workshop |
|
Wsuipa |
|
WTFPL |
|
X11_distribute_modifications_variant |
|
X11_swapped |
|
X11 |
|
Xdebug_1_03 |
|
Xerox |
|
Xfig |
|
XFree86_1_1 |
|
Xinetd |
|
Xkeyboard_config_Zinoviev |
|
Xlock |
|
Xnet |
|
Xpp |
|
XSkat |
|
Xzoom |
|
YPL_1_0 |
|
YPL_1_1 |
|
Zed |
|
Zeeff |
|
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.25
DS389_exception |
|
Asterisk_exception |
|
Asterisk_linking_protocols_exception |
|
Autoconf_exception_2_0 |
|
Autoconf_exception_3_0 |
|
Autoconf_exception_generic_3_0 |
|
Autoconf_exception_generic |
|
Autoconf_exception_macro |
|
Bison_exception_1_24 |
|
Bison_exception_2_2 |
|
Bootloader_exception |
|
Classpath_exception_2_0 |
|
CLISP_exception_2_0 |
|
Cryptsetup_OpenSSL_exception |
|
DigiRule_FOSS_exception |
|
ECos_exception_2_0 |
|
Erlang_otp_linking_exception |
|
Fawkes_Runtime_exception |
|
FLTK_exception |
|
Fmt_exception |
|
Font_exception_2_0 |
|
Freertos_exception_2_0 |
|
GCC_exception_2_0_note |
|
GCC_exception_2_0 |
|
GCC_exception_3_1 |
|
Gmsh_exception |
|
GNAT_exception |
|
GNOME_examples_exception |
|
GNU_compiler_exception |
|
Gnu_javamail_exception |
|
GPL_3_0_interface_exception |
|
GPL_3_0_linking_exception |
|
GPL_3_0_linking_source_exception |
|
GPL_CC_1_0 |
|
GStreamer_exception_2005 |
|
GStreamer_exception_2008 |
|
I2p_gpl_java_exception |
|
KiCad_libraries_exception |
|
LGPL_3_0_linking_exception |
|
Libpri_OpenH323_exception |
|
Libtool_exception |
|
Linux_syscall_note |
|
LLGPL |
|
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 |
|
PCRE2_exception |
|
PS_or_PDF_font_exception_20170817 |
|
QPL_1_0_INRIA_2004_exception |
|
Qt_GPL_exception_1_0 |
|
Qt_LGPL_exception_1_1 |
|
Qwt_exception_1_0 |
|
Romic_exception |
|
RRDtool_FLOSS_exception_2_0 |
|
SANE_exception |
|
SHL_2_0 |
|
SHL_2_1 |
|
Stunnel_exception |
|
SWI_exception |
|
Swift_exception |
|
Texinfo_exception |
|
U_boot_exception_2_0 |
|
UBDL_exception |
|
Universal_FOSS_exception_1_0 |
|
Vsftpd_openssl_exception |
|
WxWindows_exception_3_1 |
|
X11vnc_openssl_exception |
|
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.14.0.0-e3f5" 'False) ((((((C1 ('MetaCons "DS389_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Asterisk_exception" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Asterisk_linking_protocols_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 "Autoconf_exception_generic_3_0" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Autoconf_exception_generic" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Autoconf_exception_macro" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Bison_exception_1_24" '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 "Cryptsetup_OpenSSL_exception" '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 "Erlang_otp_linking_exception" '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 "Fmt_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_note" '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 "Gmsh_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GNAT_exception" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "GNOME_examples_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GNU_compiler_exception" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Gnu_javamail_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GPL_3_0_interface_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 "GStreamer_exception_2005" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "GStreamer_exception_2008" 'PrefixI 'False) (U1 :: Type -> Type))))))) :+: (((((C1 ('MetaCons "I2p_gpl_java_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "KiCad_libraries_exception" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "LGPL_3_0_linking_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Libpri_OpenH323_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 "LLGPL" '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 "PCRE2_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "PS_or_PDF_font_exception_20170817" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "QPL_1_0_INRIA_2004_exception" '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 "Romic_exception" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "RRDtool_FLOSS_exception_2_0" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "SANE_exception" '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 "Stunnel_exception" 'PrefixI 'False) (U1 :: Type -> Type))))) :+: (((C1 ('MetaCons "SWI_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Swift_exception" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Texinfo_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "U_boot_exception_2_0" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "UBDL_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Universal_FOSS_exception_1_0" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Vsftpd_openssl_exception" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "WxWindows_exception_3_1" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "X11vnc_openssl_exception" '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.14.0.0-e3f5" '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 | |
LicenseListVersion_3_23 | |
LicenseListVersion_3_25 |
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 # |