1-- This file is generated. See Makefile's spdx rule 2{-# LANGUAGE DeriveDataTypeable #-} 3{-# LANGUAGE DeriveGeneric #-} 4module Distribution.SPDX.LicenseId ( 5 LicenseId (..), 6 licenseId, 7 licenseName, 8 licenseIsOsiApproved, 9 mkLicenseId, 10 licenseIdList, 11 -- * Helpers 12 licenseIdMigrationMessage, 13 ) where 14 15import Distribution.Compat.Prelude 16import Prelude () 17 18import Distribution.Pretty 19import Distribution.Parsec 20import Distribution.Utils.Generic (isAsciiAlphaNum) 21import Distribution.SPDX.LicenseListVersion 22 23import qualified Data.Binary.Get as Binary 24import qualified Data.Binary.Put as Binary 25import qualified Data.Map.Strict as Map 26import qualified Distribution.Compat.CharParsing as P 27import qualified Text.PrettyPrint as Disp 28 29------------------------------------------------------------------------------- 30-- LicenseId 31------------------------------------------------------------------------------- 32 33-- | SPDX License identifier 34data LicenseId 35 = NullBSD -- ^ @0BSD@, BSD Zero Clause License 36 | AAL -- ^ @AAL@, Attribution Assurance License 37 | Abstyles -- ^ @Abstyles@, Abstyles License 38 | Adobe_2006 -- ^ @Adobe-2006@, Adobe Systems Incorporated Source Code License Agreement 39 | Adobe_Glyph -- ^ @Adobe-Glyph@, Adobe Glyph List License 40 | ADSL -- ^ @ADSL@, Amazon Digital Services License 41 | AFL_1_1 -- ^ @AFL-1.1@, Academic Free License v1.1 42 | AFL_1_2 -- ^ @AFL-1.2@, Academic Free License v1.2 43 | AFL_2_0 -- ^ @AFL-2.0@, Academic Free License v2.0 44 | AFL_2_1 -- ^ @AFL-2.1@, Academic Free License v2.1 45 | AFL_3_0 -- ^ @AFL-3.0@, Academic Free License v3.0 46 | Afmparse -- ^ @Afmparse@, Afmparse License 47 | AGPL_1_0 -- ^ @AGPL-1.0@, Affero General Public License v1.0, SPDX License List 3.0 48 | AGPL_1_0_only -- ^ @AGPL-1.0-only@, Affero General Public License v1.0 only, SPDX License List 3.2, SPDX License List 3.6 49 | AGPL_1_0_or_later -- ^ @AGPL-1.0-or-later@, Affero General Public License v1.0 or later, SPDX License List 3.2, SPDX License List 3.6 50 | AGPL_3_0_only -- ^ @AGPL-3.0-only@, GNU Affero General Public License v3.0 only 51 | AGPL_3_0_or_later -- ^ @AGPL-3.0-or-later@, GNU Affero General Public License v3.0 or later 52 | Aladdin -- ^ @Aladdin@, Aladdin Free Public License 53 | AMDPLPA -- ^ @AMDPLPA@, AMD's plpa_map.c License 54 | AML -- ^ @AML@, Apple MIT License 55 | AMPAS -- ^ @AMPAS@, Academy of Motion Picture Arts and Sciences BSD 56 | ANTLR_PD -- ^ @ANTLR-PD@, ANTLR Software Rights Notice 57 | Apache_1_0 -- ^ @Apache-1.0@, Apache License 1.0 58 | Apache_1_1 -- ^ @Apache-1.1@, Apache License 1.1 59 | Apache_2_0 -- ^ @Apache-2.0@, Apache License 2.0 60 | APAFML -- ^ @APAFML@, Adobe Postscript AFM License 61 | APL_1_0 -- ^ @APL-1.0@, Adaptive Public License 1.0 62 | APSL_1_0 -- ^ @APSL-1.0@, Apple Public Source License 1.0 63 | APSL_1_1 -- ^ @APSL-1.1@, Apple Public Source License 1.1 64 | APSL_1_2 -- ^ @APSL-1.2@, Apple Public Source License 1.2 65 | APSL_2_0 -- ^ @APSL-2.0@, Apple Public Source License 2.0 66 | Artistic_1_0_cl8 -- ^ @Artistic-1.0-cl8@, Artistic License 1.0 w/clause 8 67 | Artistic_1_0_Perl -- ^ @Artistic-1.0-Perl@, Artistic License 1.0 (Perl) 68 | Artistic_1_0 -- ^ @Artistic-1.0@, Artistic License 1.0 69 | Artistic_2_0 -- ^ @Artistic-2.0@, Artistic License 2.0 70 | Bahyph -- ^ @Bahyph@, Bahyph License 71 | Barr -- ^ @Barr@, Barr License 72 | Beerware -- ^ @Beerware@, Beerware License 73 | BitTorrent_1_0 -- ^ @BitTorrent-1.0@, BitTorrent Open Source License v1.0 74 | BitTorrent_1_1 -- ^ @BitTorrent-1.1@, BitTorrent Open Source License v1.1 75 | Blessing -- ^ @blessing@, SQLite Blessing, SPDX License List 3.6 76 | BlueOak_1_0_0 -- ^ @BlueOak-1.0.0@, Blue Oak Model License 1.0.0, SPDX License List 3.6 77 | Borceux -- ^ @Borceux@, Borceux license 78 | BSD_1_Clause -- ^ @BSD-1-Clause@, BSD 1-Clause License 79 | BSD_2_Clause_FreeBSD -- ^ @BSD-2-Clause-FreeBSD@, BSD 2-Clause FreeBSD License 80 | BSD_2_Clause_NetBSD -- ^ @BSD-2-Clause-NetBSD@, BSD 2-Clause NetBSD License 81 | BSD_2_Clause_Patent -- ^ @BSD-2-Clause-Patent@, BSD-2-Clause Plus Patent License 82 | BSD_2_Clause -- ^ @BSD-2-Clause@, BSD 2-Clause "Simplified" License 83 | BSD_3_Clause_Attribution -- ^ @BSD-3-Clause-Attribution@, BSD with attribution 84 | BSD_3_Clause_Clear -- ^ @BSD-3-Clause-Clear@, BSD 3-Clause Clear License 85 | BSD_3_Clause_LBNL -- ^ @BSD-3-Clause-LBNL@, Lawrence Berkeley National Labs BSD variant license 86 | BSD_3_Clause_No_Nuclear_License_2014 -- ^ @BSD-3-Clause-No-Nuclear-License-2014@, BSD 3-Clause No Nuclear License 2014 87 | BSD_3_Clause_No_Nuclear_License -- ^ @BSD-3-Clause-No-Nuclear-License@, BSD 3-Clause No Nuclear License 88 | BSD_3_Clause_No_Nuclear_Warranty -- ^ @BSD-3-Clause-No-Nuclear-Warranty@, BSD 3-Clause No Nuclear Warranty 89 | BSD_3_Clause_Open_MPI -- ^ @BSD-3-Clause-Open-MPI@, BSD 3-Clause Open MPI variant, SPDX License List 3.6 90 | BSD_3_Clause -- ^ @BSD-3-Clause@, BSD 3-Clause "New" or "Revised" License 91 | BSD_4_Clause_UC -- ^ @BSD-4-Clause-UC@, BSD-4-Clause (University of California-Specific) 92 | BSD_4_Clause -- ^ @BSD-4-Clause@, BSD 4-Clause "Original" or "Old" License 93 | BSD_Protection -- ^ @BSD-Protection@, BSD Protection License 94 | BSD_Source_Code -- ^ @BSD-Source-Code@, BSD Source Code Attribution 95 | BSL_1_0 -- ^ @BSL-1.0@, Boost Software License 1.0 96 | Bzip2_1_0_5 -- ^ @bzip2-1.0.5@, bzip2 and libbzip2 License v1.0.5 97 | Bzip2_1_0_6 -- ^ @bzip2-1.0.6@, bzip2 and libbzip2 License v1.0.6 98 | Caldera -- ^ @Caldera@, Caldera License 99 | CATOSL_1_1 -- ^ @CATOSL-1.1@, Computer Associates Trusted Open Source License 1.1 100 | CC_BY_1_0 -- ^ @CC-BY-1.0@, Creative Commons Attribution 1.0 Generic 101 | CC_BY_2_0 -- ^ @CC-BY-2.0@, Creative Commons Attribution 2.0 Generic 102 | CC_BY_2_5 -- ^ @CC-BY-2.5@, Creative Commons Attribution 2.5 Generic 103 | CC_BY_3_0 -- ^ @CC-BY-3.0@, Creative Commons Attribution 3.0 Unported 104 | CC_BY_4_0 -- ^ @CC-BY-4.0@, Creative Commons Attribution 4.0 International 105 | CC_BY_NC_1_0 -- ^ @CC-BY-NC-1.0@, Creative Commons Attribution Non Commercial 1.0 Generic 106 | CC_BY_NC_2_0 -- ^ @CC-BY-NC-2.0@, Creative Commons Attribution Non Commercial 2.0 Generic 107 | CC_BY_NC_2_5 -- ^ @CC-BY-NC-2.5@, Creative Commons Attribution Non Commercial 2.5 Generic 108 | CC_BY_NC_3_0 -- ^ @CC-BY-NC-3.0@, Creative Commons Attribution Non Commercial 3.0 Unported 109 | CC_BY_NC_4_0 -- ^ @CC-BY-NC-4.0@, Creative Commons Attribution Non Commercial 4.0 International 110 | CC_BY_NC_ND_1_0 -- ^ @CC-BY-NC-ND-1.0@, Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic 111 | CC_BY_NC_ND_2_0 -- ^ @CC-BY-NC-ND-2.0@, Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic 112 | CC_BY_NC_ND_2_5 -- ^ @CC-BY-NC-ND-2.5@, Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic 113 | CC_BY_NC_ND_3_0 -- ^ @CC-BY-NC-ND-3.0@, Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported 114 | CC_BY_NC_ND_4_0 -- ^ @CC-BY-NC-ND-4.0@, Creative Commons Attribution Non Commercial No Derivatives 4.0 International 115 | CC_BY_NC_SA_1_0 -- ^ @CC-BY-NC-SA-1.0@, Creative Commons Attribution Non Commercial Share Alike 1.0 Generic 116 | CC_BY_NC_SA_2_0 -- ^ @CC-BY-NC-SA-2.0@, Creative Commons Attribution Non Commercial Share Alike 2.0 Generic 117 | CC_BY_NC_SA_2_5 -- ^ @CC-BY-NC-SA-2.5@, Creative Commons Attribution Non Commercial Share Alike 2.5 Generic 118 | CC_BY_NC_SA_3_0 -- ^ @CC-BY-NC-SA-3.0@, Creative Commons Attribution Non Commercial Share Alike 3.0 Unported 119 | CC_BY_NC_SA_4_0 -- ^ @CC-BY-NC-SA-4.0@, Creative Commons Attribution Non Commercial Share Alike 4.0 International 120 | CC_BY_ND_1_0 -- ^ @CC-BY-ND-1.0@, Creative Commons Attribution No Derivatives 1.0 Generic 121 | CC_BY_ND_2_0 -- ^ @CC-BY-ND-2.0@, Creative Commons Attribution No Derivatives 2.0 Generic 122 | CC_BY_ND_2_5 -- ^ @CC-BY-ND-2.5@, Creative Commons Attribution No Derivatives 2.5 Generic 123 | CC_BY_ND_3_0 -- ^ @CC-BY-ND-3.0@, Creative Commons Attribution No Derivatives 3.0 Unported 124 | CC_BY_ND_4_0 -- ^ @CC-BY-ND-4.0@, Creative Commons Attribution No Derivatives 4.0 International 125 | CC_BY_SA_1_0 -- ^ @CC-BY-SA-1.0@, Creative Commons Attribution Share Alike 1.0 Generic 126 | CC_BY_SA_2_0 -- ^ @CC-BY-SA-2.0@, Creative Commons Attribution Share Alike 2.0 Generic 127 | CC_BY_SA_2_5 -- ^ @CC-BY-SA-2.5@, Creative Commons Attribution Share Alike 2.5 Generic 128 | CC_BY_SA_3_0 -- ^ @CC-BY-SA-3.0@, Creative Commons Attribution Share Alike 3.0 Unported 129 | CC_BY_SA_4_0 -- ^ @CC-BY-SA-4.0@, Creative Commons Attribution Share Alike 4.0 International 130 | CC_PDDC -- ^ @CC-PDDC@, Creative Commons Public Domain Dedication and Certification, SPDX License List 3.6 131 | CC0_1_0 -- ^ @CC0-1.0@, Creative Commons Zero v1.0 Universal 132 | CDDL_1_0 -- ^ @CDDL-1.0@, Common Development and Distribution License 1.0 133 | CDDL_1_1 -- ^ @CDDL-1.1@, Common Development and Distribution License 1.1 134 | CDLA_Permissive_1_0 -- ^ @CDLA-Permissive-1.0@, Community Data License Agreement Permissive 1.0 135 | CDLA_Sharing_1_0 -- ^ @CDLA-Sharing-1.0@, Community Data License Agreement Sharing 1.0 136 | CECILL_1_0 -- ^ @CECILL-1.0@, CeCILL Free Software License Agreement v1.0 137 | CECILL_1_1 -- ^ @CECILL-1.1@, CeCILL Free Software License Agreement v1.1 138 | CECILL_2_0 -- ^ @CECILL-2.0@, CeCILL Free Software License Agreement v2.0 139 | CECILL_2_1 -- ^ @CECILL-2.1@, CeCILL Free Software License Agreement v2.1 140 | CECILL_B -- ^ @CECILL-B@, CeCILL-B Free Software License Agreement 141 | CECILL_C -- ^ @CECILL-C@, CeCILL-C Free Software License Agreement 142 | CERN_OHL_1_1 -- ^ @CERN-OHL-1.1@, CERN Open Hardware License v1.1, SPDX License List 3.6 143 | CERN_OHL_1_2 -- ^ @CERN-OHL-1.2@, CERN Open Hardware Licence v1.2, SPDX License List 3.6 144 | ClArtistic -- ^ @ClArtistic@, Clarified Artistic License 145 | CNRI_Jython -- ^ @CNRI-Jython@, CNRI Jython License 146 | CNRI_Python_GPL_Compatible -- ^ @CNRI-Python-GPL-Compatible@, CNRI Python Open Source GPL Compatible License Agreement 147 | CNRI_Python -- ^ @CNRI-Python@, CNRI Python License 148 | Condor_1_1 -- ^ @Condor-1.1@, Condor Public License v1.1 149 | Copyleft_next_0_3_0 -- ^ @copyleft-next-0.3.0@, copyleft-next 0.3.0, SPDX License List 3.6 150 | Copyleft_next_0_3_1 -- ^ @copyleft-next-0.3.1@, copyleft-next 0.3.1, SPDX License List 3.6 151 | CPAL_1_0 -- ^ @CPAL-1.0@, Common Public Attribution License 1.0 152 | CPL_1_0 -- ^ @CPL-1.0@, Common Public License 1.0 153 | CPOL_1_02 -- ^ @CPOL-1.02@, Code Project Open License 1.02 154 | Crossword -- ^ @Crossword@, Crossword License 155 | CrystalStacker -- ^ @CrystalStacker@, CrystalStacker License 156 | CUA_OPL_1_0 -- ^ @CUA-OPL-1.0@, CUA Office Public License v1.0 157 | Cube -- ^ @Cube@, Cube License 158 | Curl -- ^ @curl@, curl License 159 | D_FSL_1_0 -- ^ @D-FSL-1.0@, Deutsche Freie Software Lizenz 160 | Diffmark -- ^ @diffmark@, diffmark license 161 | DOC -- ^ @DOC@, DOC License 162 | Dotseqn -- ^ @Dotseqn@, Dotseqn License 163 | DSDP -- ^ @DSDP@, DSDP License 164 | Dvipdfm -- ^ @dvipdfm@, dvipdfm License 165 | ECL_1_0 -- ^ @ECL-1.0@, Educational Community License v1.0 166 | ECL_2_0 -- ^ @ECL-2.0@, Educational Community License v2.0 167 | EFL_1_0 -- ^ @EFL-1.0@, Eiffel Forum License v1.0 168 | EFL_2_0 -- ^ @EFL-2.0@, Eiffel Forum License v2.0 169 | EGenix -- ^ @eGenix@, eGenix.com Public License 1.1.0 170 | Entessa -- ^ @Entessa@, Entessa Public License v1.0 171 | EPL_1_0 -- ^ @EPL-1.0@, Eclipse Public License 1.0 172 | EPL_2_0 -- ^ @EPL-2.0@, Eclipse Public License 2.0 173 | ErlPL_1_1 -- ^ @ErlPL-1.1@, Erlang Public License v1.1 174 | EUDatagrid -- ^ @EUDatagrid@, EU DataGrid Software License 175 | EUPL_1_0 -- ^ @EUPL-1.0@, European Union Public License 1.0 176 | EUPL_1_1 -- ^ @EUPL-1.1@, European Union Public License 1.1 177 | EUPL_1_2 -- ^ @EUPL-1.2@, European Union Public License 1.2 178 | Eurosym -- ^ @Eurosym@, Eurosym License 179 | Fair -- ^ @Fair@, Fair License 180 | Frameworx_1_0 -- ^ @Frameworx-1.0@, Frameworx Open License 1.0 181 | FreeImage -- ^ @FreeImage@, FreeImage Public License v1.0 182 | FSFAP -- ^ @FSFAP@, FSF All Permissive License 183 | FSFULLR -- ^ @FSFULLR@, FSF Unlimited License (with License Retention) 184 | FSFUL -- ^ @FSFUL@, FSF Unlimited License 185 | FTL -- ^ @FTL@, Freetype Project License 186 | GFDL_1_1_only -- ^ @GFDL-1.1-only@, GNU Free Documentation License v1.1 only 187 | GFDL_1_1_or_later -- ^ @GFDL-1.1-or-later@, GNU Free Documentation License v1.1 or later 188 | GFDL_1_2_only -- ^ @GFDL-1.2-only@, GNU Free Documentation License v1.2 only 189 | GFDL_1_2_or_later -- ^ @GFDL-1.2-or-later@, GNU Free Documentation License v1.2 or later 190 | GFDL_1_3_only -- ^ @GFDL-1.3-only@, GNU Free Documentation License v1.3 only 191 | GFDL_1_3_or_later -- ^ @GFDL-1.3-or-later@, GNU Free Documentation License v1.3 or later 192 | Giftware -- ^ @Giftware@, Giftware License 193 | GL2PS -- ^ @GL2PS@, GL2PS License 194 | Glide -- ^ @Glide@, 3dfx Glide License 195 | Glulxe -- ^ @Glulxe@, Glulxe License 196 | Gnuplot -- ^ @gnuplot@, gnuplot License 197 | GPL_1_0_only -- ^ @GPL-1.0-only@, GNU General Public License v1.0 only 198 | GPL_1_0_or_later -- ^ @GPL-1.0-or-later@, GNU General Public License v1.0 or later 199 | GPL_2_0_only -- ^ @GPL-2.0-only@, GNU General Public License v2.0 only 200 | GPL_2_0_or_later -- ^ @GPL-2.0-or-later@, GNU General Public License v2.0 or later 201 | GPL_3_0_only -- ^ @GPL-3.0-only@, GNU General Public License v3.0 only 202 | GPL_3_0_or_later -- ^ @GPL-3.0-or-later@, GNU General Public License v3.0 or later 203 | GSOAP_1_3b -- ^ @gSOAP-1.3b@, gSOAP Public License v1.3b 204 | HaskellReport -- ^ @HaskellReport@, Haskell Language Report License 205 | HPND_sell_variant -- ^ @HPND-sell-variant@, Historical Permission Notice and Disclaimer - sell variant, SPDX License List 3.6 206 | HPND -- ^ @HPND@, Historical Permission Notice and Disclaimer 207 | IBM_pibs -- ^ @IBM-pibs@, IBM PowerPC Initialization and Boot Software 208 | ICU -- ^ @ICU@, ICU License 209 | IJG -- ^ @IJG@, Independent JPEG Group License 210 | ImageMagick -- ^ @ImageMagick@, ImageMagick License 211 | IMatix -- ^ @iMatix@, iMatix Standard Function Library Agreement 212 | Imlib2 -- ^ @Imlib2@, Imlib2 License 213 | Info_ZIP -- ^ @Info-ZIP@, Info-ZIP License 214 | Intel_ACPI -- ^ @Intel-ACPI@, Intel ACPI Software License Agreement 215 | Intel -- ^ @Intel@, Intel Open Source License 216 | Interbase_1_0 -- ^ @Interbase-1.0@, Interbase Public License v1.0 217 | IPA -- ^ @IPA@, IPA Font License 218 | IPL_1_0 -- ^ @IPL-1.0@, IBM Public License v1.0 219 | ISC -- ^ @ISC@, ISC License 220 | JasPer_2_0 -- ^ @JasPer-2.0@, JasPer License 221 | JPNIC -- ^ @JPNIC@, Japan Network Information Center License, SPDX License List 3.6 222 | JSON -- ^ @JSON@, JSON License 223 | LAL_1_2 -- ^ @LAL-1.2@, Licence Art Libre 1.2 224 | LAL_1_3 -- ^ @LAL-1.3@, Licence Art Libre 1.3 225 | Latex2e -- ^ @Latex2e@, Latex2e License 226 | Leptonica -- ^ @Leptonica@, Leptonica License 227 | LGPL_2_0_only -- ^ @LGPL-2.0-only@, GNU Library General Public License v2 only 228 | LGPL_2_0_or_later -- ^ @LGPL-2.0-or-later@, GNU Library General Public License v2 or later 229 | LGPL_2_1_only -- ^ @LGPL-2.1-only@, GNU Lesser General Public License v2.1 only 230 | LGPL_2_1_or_later -- ^ @LGPL-2.1-or-later@, GNU Lesser General Public License v2.1 or later 231 | LGPL_3_0_only -- ^ @LGPL-3.0-only@, GNU Lesser General Public License v3.0 only 232 | LGPL_3_0_or_later -- ^ @LGPL-3.0-or-later@, GNU Lesser General Public License v3.0 or later 233 | LGPLLR -- ^ @LGPLLR@, Lesser General Public License For Linguistic Resources 234 | Libpng_2_0 -- ^ @libpng-2.0@, PNG Reference Library version 2, SPDX License List 3.6 235 | Libpng -- ^ @Libpng@, libpng License 236 | Libtiff -- ^ @libtiff@, libtiff License 237 | LiLiQ_P_1_1 -- ^ @LiLiQ-P-1.1@, Licence Libre du Québec – Permissive version 1.1 238 | LiLiQ_R_1_1 -- ^ @LiLiQ-R-1.1@, Licence Libre du Québec – Réciprocité version 1.1 239 | LiLiQ_Rplus_1_1 -- ^ @LiLiQ-Rplus-1.1@, Licence Libre du Québec – Réciprocité forte version 1.1 240 | Linux_OpenIB -- ^ @Linux-OpenIB@, Linux Kernel Variant of OpenIB.org license, SPDX License List 3.2, SPDX License List 3.6 241 | LPL_1_02 -- ^ @LPL-1.02@, Lucent Public License v1.02 242 | LPL_1_0 -- ^ @LPL-1.0@, Lucent Public License Version 1.0 243 | LPPL_1_0 -- ^ @LPPL-1.0@, LaTeX Project Public License v1.0 244 | LPPL_1_1 -- ^ @LPPL-1.1@, LaTeX Project Public License v1.1 245 | LPPL_1_2 -- ^ @LPPL-1.2@, LaTeX Project Public License v1.2 246 | LPPL_1_3a -- ^ @LPPL-1.3a@, LaTeX Project Public License v1.3a 247 | LPPL_1_3c -- ^ @LPPL-1.3c@, LaTeX Project Public License v1.3c 248 | MakeIndex -- ^ @MakeIndex@, MakeIndex License 249 | MirOS -- ^ @MirOS@, MirOS License 250 | MIT_0 -- ^ @MIT-0@, MIT No Attribution, SPDX License List 3.2, SPDX License List 3.6 251 | MIT_advertising -- ^ @MIT-advertising@, Enlightenment License (e16) 252 | MIT_CMU -- ^ @MIT-CMU@, CMU License 253 | MIT_enna -- ^ @MIT-enna@, enna License 254 | MIT_feh -- ^ @MIT-feh@, feh License 255 | MITNFA -- ^ @MITNFA@, MIT +no-false-attribs license 256 | MIT -- ^ @MIT@, MIT License 257 | Motosoto -- ^ @Motosoto@, Motosoto License 258 | Mpich2 -- ^ @mpich2@, mpich2 License 259 | MPL_1_0 -- ^ @MPL-1.0@, Mozilla Public License 1.0 260 | MPL_1_1 -- ^ @MPL-1.1@, Mozilla Public License 1.1 261 | MPL_2_0_no_copyleft_exception -- ^ @MPL-2.0-no-copyleft-exception@, Mozilla Public License 2.0 (no copyleft exception) 262 | MPL_2_0 -- ^ @MPL-2.0@, Mozilla Public License 2.0 263 | MS_PL -- ^ @MS-PL@, Microsoft Public License 264 | MS_RL -- ^ @MS-RL@, Microsoft Reciprocal License 265 | MTLL -- ^ @MTLL@, Matrix Template Library License 266 | Multics -- ^ @Multics@, Multics License 267 | Mup -- ^ @Mup@, Mup License 268 | NASA_1_3 -- ^ @NASA-1.3@, NASA Open Source Agreement 1.3 269 | Naumen -- ^ @Naumen@, Naumen Public License 270 | NBPL_1_0 -- ^ @NBPL-1.0@, Net Boolean Public License v1 271 | NCSA -- ^ @NCSA@, University of Illinois/NCSA Open Source License 272 | Net_SNMP -- ^ @Net-SNMP@, Net-SNMP License 273 | NetCDF -- ^ @NetCDF@, NetCDF license 274 | Newsletr -- ^ @Newsletr@, Newsletr License 275 | NGPL -- ^ @NGPL@, Nethack General Public License 276 | NLOD_1_0 -- ^ @NLOD-1.0@, Norwegian Licence for Open Government Data 277 | NLPL -- ^ @NLPL@, No Limit Public License 278 | Nokia -- ^ @Nokia@, Nokia Open Source License 279 | NOSL -- ^ @NOSL@, Netizen Open Source License 280 | Noweb -- ^ @Noweb@, Noweb License 281 | NPL_1_0 -- ^ @NPL-1.0@, Netscape Public License v1.0 282 | NPL_1_1 -- ^ @NPL-1.1@, Netscape Public License v1.1 283 | NPOSL_3_0 -- ^ @NPOSL-3.0@, Non-Profit Open Software License 3.0 284 | NRL -- ^ @NRL@, NRL License 285 | NTP -- ^ @NTP@, NTP License 286 | OCCT_PL -- ^ @OCCT-PL@, Open CASCADE Technology Public License 287 | OCLC_2_0 -- ^ @OCLC-2.0@, OCLC Research Public License 2.0 288 | ODbL_1_0 -- ^ @ODbL-1.0@, ODC Open Database License v1.0 289 | ODC_By_1_0 -- ^ @ODC-By-1.0@, Open Data Commons Attribution License v1.0, SPDX License List 3.2, SPDX License List 3.6 290 | OFL_1_0 -- ^ @OFL-1.0@, SIL Open Font License 1.0 291 | OFL_1_1 -- ^ @OFL-1.1@, SIL Open Font License 1.1 292 | OGL_UK_1_0 -- ^ @OGL-UK-1.0@, Open Government Licence v1.0, SPDX License List 3.6 293 | OGL_UK_2_0 -- ^ @OGL-UK-2.0@, Open Government Licence v2.0, SPDX License List 3.6 294 | OGL_UK_3_0 -- ^ @OGL-UK-3.0@, Open Government Licence v3.0, SPDX License List 3.6 295 | OGTSL -- ^ @OGTSL@, Open Group Test Suite License 296 | OLDAP_1_1 -- ^ @OLDAP-1.1@, Open LDAP Public License v1.1 297 | OLDAP_1_2 -- ^ @OLDAP-1.2@, Open LDAP Public License v1.2 298 | OLDAP_1_3 -- ^ @OLDAP-1.3@, Open LDAP Public License v1.3 299 | OLDAP_1_4 -- ^ @OLDAP-1.4@, Open LDAP Public License v1.4 300 | OLDAP_2_0_1 -- ^ @OLDAP-2.0.1@, Open LDAP Public License v2.0.1 301 | OLDAP_2_0 -- ^ @OLDAP-2.0@, Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B) 302 | OLDAP_2_1 -- ^ @OLDAP-2.1@, Open LDAP Public License v2.1 303 | OLDAP_2_2_1 -- ^ @OLDAP-2.2.1@, Open LDAP Public License v2.2.1 304 | OLDAP_2_2_2 -- ^ @OLDAP-2.2.2@, Open LDAP Public License 2.2.2 305 | OLDAP_2_2 -- ^ @OLDAP-2.2@, Open LDAP Public License v2.2 306 | OLDAP_2_3 -- ^ @OLDAP-2.3@, Open LDAP Public License v2.3 307 | OLDAP_2_4 -- ^ @OLDAP-2.4@, Open LDAP Public License v2.4 308 | OLDAP_2_5 -- ^ @OLDAP-2.5@, Open LDAP Public License v2.5 309 | OLDAP_2_6 -- ^ @OLDAP-2.6@, Open LDAP Public License v2.6 310 | OLDAP_2_7 -- ^ @OLDAP-2.7@, Open LDAP Public License v2.7 311 | OLDAP_2_8 -- ^ @OLDAP-2.8@, Open LDAP Public License v2.8 312 | OML -- ^ @OML@, Open Market License 313 | OpenSSL -- ^ @OpenSSL@, OpenSSL License 314 | OPL_1_0 -- ^ @OPL-1.0@, Open Public License v1.0 315 | OSET_PL_2_1 -- ^ @OSET-PL-2.1@, OSET Public License version 2.1 316 | OSL_1_0 -- ^ @OSL-1.0@, Open Software License 1.0 317 | OSL_1_1 -- ^ @OSL-1.1@, Open Software License 1.1 318 | OSL_2_0 -- ^ @OSL-2.0@, Open Software License 2.0 319 | OSL_2_1 -- ^ @OSL-2.1@, Open Software License 2.1 320 | OSL_3_0 -- ^ @OSL-3.0@, Open Software License 3.0 321 | Parity_6_0_0 -- ^ @Parity-6.0.0@, The Parity Public License 6.0.0, SPDX License List 3.6 322 | PDDL_1_0 -- ^ @PDDL-1.0@, ODC Public Domain Dedication & License 1.0 323 | PHP_3_01 -- ^ @PHP-3.01@, PHP License v3.01 324 | PHP_3_0 -- ^ @PHP-3.0@, PHP License v3.0 325 | Plexus -- ^ @Plexus@, Plexus Classworlds License 326 | PostgreSQL -- ^ @PostgreSQL@, PostgreSQL License 327 | Psfrag -- ^ @psfrag@, psfrag License 328 | Psutils -- ^ @psutils@, psutils License 329 | Python_2_0 -- ^ @Python-2.0@, Python License 2.0 330 | Qhull -- ^ @Qhull@, Qhull License 331 | QPL_1_0 -- ^ @QPL-1.0@, Q Public License 1.0 332 | Rdisc -- ^ @Rdisc@, Rdisc License 333 | RHeCos_1_1 -- ^ @RHeCos-1.1@, Red Hat eCos Public License v1.1 334 | RPL_1_1 -- ^ @RPL-1.1@, Reciprocal Public License 1.1 335 | RPL_1_5 -- ^ @RPL-1.5@, Reciprocal Public License 1.5 336 | RPSL_1_0 -- ^ @RPSL-1.0@, RealNetworks Public Source License v1.0 337 | RSA_MD -- ^ @RSA-MD@, RSA Message-Digest License 338 | RSCPL -- ^ @RSCPL@, Ricoh Source Code Public License 339 | Ruby -- ^ @Ruby@, Ruby License 340 | SAX_PD -- ^ @SAX-PD@, Sax Public Domain Notice 341 | Saxpath -- ^ @Saxpath@, Saxpath License 342 | SCEA -- ^ @SCEA@, SCEA Shared Source License 343 | Sendmail_8_23 -- ^ @Sendmail-8.23@, Sendmail License 8.23, SPDX License List 3.6 344 | Sendmail -- ^ @Sendmail@, Sendmail License 345 | SGI_B_1_0 -- ^ @SGI-B-1.0@, SGI Free Software License B v1.0 346 | SGI_B_1_1 -- ^ @SGI-B-1.1@, SGI Free Software License B v1.1 347 | SGI_B_2_0 -- ^ @SGI-B-2.0@, SGI Free Software License B v2.0 348 | SHL_0_51 -- ^ @SHL-0.51@, Solderpad Hardware License, Version 0.51, SPDX License List 3.6 349 | SHL_0_5 -- ^ @SHL-0.5@, Solderpad Hardware License v0.5, SPDX License List 3.6 350 | SimPL_2_0 -- ^ @SimPL-2.0@, Simple Public License 2.0 351 | SISSL_1_2 -- ^ @SISSL-1.2@, Sun Industry Standards Source License v1.2 352 | SISSL -- ^ @SISSL@, Sun Industry Standards Source License v1.1 353 | Sleepycat -- ^ @Sleepycat@, Sleepycat License 354 | SMLNJ -- ^ @SMLNJ@, Standard ML of New Jersey License 355 | SMPPL -- ^ @SMPPL@, Secure Messaging Protocol Public License 356 | SNIA -- ^ @SNIA@, SNIA Public License 1.1 357 | Spencer_86 -- ^ @Spencer-86@, Spencer License 86 358 | Spencer_94 -- ^ @Spencer-94@, Spencer License 94 359 | Spencer_99 -- ^ @Spencer-99@, Spencer License 99 360 | SPL_1_0 -- ^ @SPL-1.0@, Sun Public License v1.0 361 | SSPL_1_0 -- ^ @SSPL-1.0@, Server Side Public License, v 1, SPDX License List 3.6 362 | SugarCRM_1_1_3 -- ^ @SugarCRM-1.1.3@, SugarCRM Public License v1.1.3 363 | SWL -- ^ @SWL@, Scheme Widget Library (SWL) Software License Agreement 364 | TAPR_OHL_1_0 -- ^ @TAPR-OHL-1.0@, TAPR Open Hardware License v1.0, SPDX License List 3.6 365 | TCL -- ^ @TCL@, TCL/TK License 366 | TCP_wrappers -- ^ @TCP-wrappers@, TCP Wrappers License 367 | TMate -- ^ @TMate@, TMate Open Source License 368 | TORQUE_1_1 -- ^ @TORQUE-1.1@, TORQUE v2.5+ Software License v1.1 369 | TOSL -- ^ @TOSL@, Trusster Open Source License 370 | TU_Berlin_1_0 -- ^ @TU-Berlin-1.0@, Technische Universitaet Berlin License 1.0, SPDX License List 3.2, SPDX License List 3.6 371 | TU_Berlin_2_0 -- ^ @TU-Berlin-2.0@, Technische Universitaet Berlin License 2.0, SPDX License List 3.2, SPDX License List 3.6 372 | Unicode_DFS_2015 -- ^ @Unicode-DFS-2015@, Unicode License Agreement - Data Files and Software (2015) 373 | Unicode_DFS_2016 -- ^ @Unicode-DFS-2016@, Unicode License Agreement - Data Files and Software (2016) 374 | Unicode_TOU -- ^ @Unicode-TOU@, Unicode Terms of Use 375 | Unlicense -- ^ @Unlicense@, The Unlicense 376 | UPL_1_0 -- ^ @UPL-1.0@, Universal Permissive License v1.0 377 | Vim -- ^ @Vim@, Vim License 378 | VOSTROM -- ^ @VOSTROM@, VOSTROM Public License for Open Source 379 | VSL_1_0 -- ^ @VSL-1.0@, Vovida Software License v1.0 380 | W3C_19980720 -- ^ @W3C-19980720@, W3C Software Notice and License (1998-07-20) 381 | W3C_20150513 -- ^ @W3C-20150513@, W3C Software Notice and Document License (2015-05-13) 382 | W3C -- ^ @W3C@, W3C Software Notice and License (2002-12-31) 383 | Watcom_1_0 -- ^ @Watcom-1.0@, Sybase Open Watcom Public License 1.0 384 | Wsuipa -- ^ @Wsuipa@, Wsuipa License 385 | WTFPL -- ^ @WTFPL@, Do What The F*ck You Want To Public License 386 | X11 -- ^ @X11@, X11 License 387 | Xerox -- ^ @Xerox@, Xerox License 388 | XFree86_1_1 -- ^ @XFree86-1.1@, XFree86 License 1.1 389 | Xinetd -- ^ @xinetd@, xinetd License 390 | Xnet -- ^ @Xnet@, X.Net License 391 | Xpp -- ^ @xpp@, XPP License 392 | XSkat -- ^ @XSkat@, XSkat License 393 | YPL_1_0 -- ^ @YPL-1.0@, Yahoo! Public License v1.0 394 | YPL_1_1 -- ^ @YPL-1.1@, Yahoo! Public License v1.1 395 | Zed -- ^ @Zed@, Zed License 396 | Zend_2_0 -- ^ @Zend-2.0@, Zend License v2.0 397 | Zimbra_1_3 -- ^ @Zimbra-1.3@, Zimbra Public License v1.3 398 | Zimbra_1_4 -- ^ @Zimbra-1.4@, Zimbra Public License v1.4 399 | Zlib_acknowledgement -- ^ @zlib-acknowledgement@, zlib/libpng License with Acknowledgement 400 | Zlib -- ^ @Zlib@, zlib License 401 | ZPL_1_1 -- ^ @ZPL-1.1@, Zope Public License 1.1 402 | ZPL_2_0 -- ^ @ZPL-2.0@, Zope Public License 2.0 403 | ZPL_2_1 -- ^ @ZPL-2.1@, Zope Public License 2.1 404 deriving (Eq, Ord, Enum, Bounded, Show, Read, Typeable, Data, Generic) 405 406instance Binary LicenseId where 407 -- Word16 is encoded in big endianess 408 -- https://github.com/kolmodin/binary/blob/master/src/Data/Binary/Class.hs#L220-LL227 409 put = Binary.putWord16be . fromIntegral . fromEnum 410 get = do 411 i <- Binary.getWord16be 412 if i > fromIntegral (fromEnum (maxBound :: LicenseId)) 413 then fail "Too large LicenseId tag" 414 else return (toEnum (fromIntegral i)) 415 416instance Pretty LicenseId where 417 pretty = Disp.text . licenseId 418 419-- | 420-- >>> eitherParsec "BSD-3-Clause" :: Either String LicenseId 421-- Right BSD_3_Clause 422-- 423-- >>> eitherParsec "BSD3" :: Either String LicenseId 424-- Left "...Unknown SPDX license identifier: 'BSD3' Do you mean BSD-3-Clause?" 425-- 426instance Parsec LicenseId where 427 parsec = do 428 n <- some $ P.satisfy $ \c -> isAsciiAlphaNum c || c == '-' || c == '.' 429 v <- askCabalSpecVersion 430 maybe (fail $ "Unknown SPDX license identifier: '" ++ n ++ "' " ++ licenseIdMigrationMessage n) return $ 431 mkLicenseId (cabalSpecVersionToSPDXListVersion v) n 432 433instance NFData LicenseId where 434 rnf l = l `seq` () 435 436-- | Help message for migrating from non-SPDX license identifiers. 437-- 438-- Old 'License' is almost SPDX, except for 'BSD2', 'BSD3'. This function 439-- suggests SPDX variant: 440-- 441-- >>> licenseIdMigrationMessage "BSD3" 442-- "Do you mean BSD-3-Clause?" 443-- 444-- Also 'OtherLicense', 'AllRightsReserved', and 'PublicDomain' aren't 445-- valid SPDX identifiers 446-- 447-- >>> traverse_ (print . licenseIdMigrationMessage) [ "OtherLicense", "AllRightsReserved", "PublicDomain" ] 448-- "SPDX license list contains plenty of licenses. See https://spdx.org/licenses/. Also they can be combined into complex expressions with AND and OR." 449-- "You can use NONE as a value of license field." 450-- "Public Domain is a complex matter. See https://wiki.spdx.org/view/Legal_Team/Decisions/Dealing_with_Public_Domain_within_SPDX_Files. Consider using a proper license." 451-- 452-- SPDX License list version 3.0 introduced "-only" and "-or-later" variants for GNU family of licenses. 453-- See <https://spdx.org/news/news/2018/01/license-list-30-released> 454-- >>> licenseIdMigrationMessage "GPL-2.0" 455-- "SPDX license list 3.0 deprecated suffixless variants of GNU family of licenses. Use GPL-2.0-only or GPL-2.0-or-later." 456-- 457-- For other common licenses their old license format coincides with the SPDX identifiers: 458-- 459-- >>> traverse eitherParsec ["GPL-2.0-only", "GPL-3.0-only", "LGPL-2.1-only", "MIT", "ISC", "MPL-2.0", "Apache-2.0"] :: Either String [LicenseId] 460-- Right [GPL_2_0_only,GPL_3_0_only,LGPL_2_1_only,MIT,ISC,MPL_2_0,Apache_2_0] 461-- 462licenseIdMigrationMessage :: String -> String 463licenseIdMigrationMessage = go where 464 go l | gnuVariant l = "SPDX license list 3.0 deprecated suffixless variants of GNU family of licenses. Use " ++ l ++ "-only or " ++ l ++ "-or-later." 465 go "BSD3" = "Do you mean BSD-3-Clause?" 466 go "BSD2" = "Do you mean BSD-2-Clause?" 467 go "AllRightsReserved" = "You can use NONE as a value of license field." 468 go "OtherLicense" = "SPDX license list contains plenty of licenses. See https://spdx.org/licenses/. Also they can be combined into complex expressions with AND and OR." 469 go "PublicDomain" = "Public Domain is a complex matter. See https://wiki.spdx.org/view/Legal_Team/Decisions/Dealing_with_Public_Domain_within_SPDX_Files. Consider using a proper license." 470 471 -- otherwise, we don't know 472 go _ = "" 473 474 gnuVariant = flip elem ["GPL-2.0", "GPL-3.0", "LGPL-2.1", "LGPL-3.0", "AGPL-3.0" ] 475 476------------------------------------------------------------------------------- 477-- License Data 478------------------------------------------------------------------------------- 479 480-- | License SPDX identifier, e.g. @"BSD-3-Clause"@. 481licenseId :: LicenseId -> String 482licenseId NullBSD = "0BSD" 483licenseId AAL = "AAL" 484licenseId Abstyles = "Abstyles" 485licenseId Adobe_2006 = "Adobe-2006" 486licenseId Adobe_Glyph = "Adobe-Glyph" 487licenseId ADSL = "ADSL" 488licenseId AFL_1_1 = "AFL-1.1" 489licenseId AFL_1_2 = "AFL-1.2" 490licenseId AFL_2_0 = "AFL-2.0" 491licenseId AFL_2_1 = "AFL-2.1" 492licenseId AFL_3_0 = "AFL-3.0" 493licenseId Afmparse = "Afmparse" 494licenseId AGPL_1_0 = "AGPL-1.0" 495licenseId AGPL_1_0_only = "AGPL-1.0-only" 496licenseId AGPL_1_0_or_later = "AGPL-1.0-or-later" 497licenseId AGPL_3_0_only = "AGPL-3.0-only" 498licenseId AGPL_3_0_or_later = "AGPL-3.0-or-later" 499licenseId Aladdin = "Aladdin" 500licenseId AMDPLPA = "AMDPLPA" 501licenseId AML = "AML" 502licenseId AMPAS = "AMPAS" 503licenseId ANTLR_PD = "ANTLR-PD" 504licenseId Apache_1_0 = "Apache-1.0" 505licenseId Apache_1_1 = "Apache-1.1" 506licenseId Apache_2_0 = "Apache-2.0" 507licenseId APAFML = "APAFML" 508licenseId APL_1_0 = "APL-1.0" 509licenseId APSL_1_0 = "APSL-1.0" 510licenseId APSL_1_1 = "APSL-1.1" 511licenseId APSL_1_2 = "APSL-1.2" 512licenseId APSL_2_0 = "APSL-2.0" 513licenseId Artistic_1_0_cl8 = "Artistic-1.0-cl8" 514licenseId Artistic_1_0_Perl = "Artistic-1.0-Perl" 515licenseId Artistic_1_0 = "Artistic-1.0" 516licenseId Artistic_2_0 = "Artistic-2.0" 517licenseId Bahyph = "Bahyph" 518licenseId Barr = "Barr" 519licenseId Beerware = "Beerware" 520licenseId BitTorrent_1_0 = "BitTorrent-1.0" 521licenseId BitTorrent_1_1 = "BitTorrent-1.1" 522licenseId Blessing = "blessing" 523licenseId BlueOak_1_0_0 = "BlueOak-1.0.0" 524licenseId Borceux = "Borceux" 525licenseId BSD_1_Clause = "BSD-1-Clause" 526licenseId BSD_2_Clause_FreeBSD = "BSD-2-Clause-FreeBSD" 527licenseId BSD_2_Clause_NetBSD = "BSD-2-Clause-NetBSD" 528licenseId BSD_2_Clause_Patent = "BSD-2-Clause-Patent" 529licenseId BSD_2_Clause = "BSD-2-Clause" 530licenseId BSD_3_Clause_Attribution = "BSD-3-Clause-Attribution" 531licenseId BSD_3_Clause_Clear = "BSD-3-Clause-Clear" 532licenseId BSD_3_Clause_LBNL = "BSD-3-Clause-LBNL" 533licenseId BSD_3_Clause_No_Nuclear_License_2014 = "BSD-3-Clause-No-Nuclear-License-2014" 534licenseId BSD_3_Clause_No_Nuclear_License = "BSD-3-Clause-No-Nuclear-License" 535licenseId BSD_3_Clause_No_Nuclear_Warranty = "BSD-3-Clause-No-Nuclear-Warranty" 536licenseId BSD_3_Clause_Open_MPI = "BSD-3-Clause-Open-MPI" 537licenseId BSD_3_Clause = "BSD-3-Clause" 538licenseId BSD_4_Clause_UC = "BSD-4-Clause-UC" 539licenseId BSD_4_Clause = "BSD-4-Clause" 540licenseId BSD_Protection = "BSD-Protection" 541licenseId BSD_Source_Code = "BSD-Source-Code" 542licenseId BSL_1_0 = "BSL-1.0" 543licenseId Bzip2_1_0_5 = "bzip2-1.0.5" 544licenseId Bzip2_1_0_6 = "bzip2-1.0.6" 545licenseId Caldera = "Caldera" 546licenseId CATOSL_1_1 = "CATOSL-1.1" 547licenseId CC_BY_1_0 = "CC-BY-1.0" 548licenseId CC_BY_2_0 = "CC-BY-2.0" 549licenseId CC_BY_2_5 = "CC-BY-2.5" 550licenseId CC_BY_3_0 = "CC-BY-3.0" 551licenseId CC_BY_4_0 = "CC-BY-4.0" 552licenseId CC_BY_NC_1_0 = "CC-BY-NC-1.0" 553licenseId CC_BY_NC_2_0 = "CC-BY-NC-2.0" 554licenseId CC_BY_NC_2_5 = "CC-BY-NC-2.5" 555licenseId CC_BY_NC_3_0 = "CC-BY-NC-3.0" 556licenseId CC_BY_NC_4_0 = "CC-BY-NC-4.0" 557licenseId CC_BY_NC_ND_1_0 = "CC-BY-NC-ND-1.0" 558licenseId CC_BY_NC_ND_2_0 = "CC-BY-NC-ND-2.0" 559licenseId CC_BY_NC_ND_2_5 = "CC-BY-NC-ND-2.5" 560licenseId CC_BY_NC_ND_3_0 = "CC-BY-NC-ND-3.0" 561licenseId CC_BY_NC_ND_4_0 = "CC-BY-NC-ND-4.0" 562licenseId CC_BY_NC_SA_1_0 = "CC-BY-NC-SA-1.0" 563licenseId CC_BY_NC_SA_2_0 = "CC-BY-NC-SA-2.0" 564licenseId CC_BY_NC_SA_2_5 = "CC-BY-NC-SA-2.5" 565licenseId CC_BY_NC_SA_3_0 = "CC-BY-NC-SA-3.0" 566licenseId CC_BY_NC_SA_4_0 = "CC-BY-NC-SA-4.0" 567licenseId CC_BY_ND_1_0 = "CC-BY-ND-1.0" 568licenseId CC_BY_ND_2_0 = "CC-BY-ND-2.0" 569licenseId CC_BY_ND_2_5 = "CC-BY-ND-2.5" 570licenseId CC_BY_ND_3_0 = "CC-BY-ND-3.0" 571licenseId CC_BY_ND_4_0 = "CC-BY-ND-4.0" 572licenseId CC_BY_SA_1_0 = "CC-BY-SA-1.0" 573licenseId CC_BY_SA_2_0 = "CC-BY-SA-2.0" 574licenseId CC_BY_SA_2_5 = "CC-BY-SA-2.5" 575licenseId CC_BY_SA_3_0 = "CC-BY-SA-3.0" 576licenseId CC_BY_SA_4_0 = "CC-BY-SA-4.0" 577licenseId CC_PDDC = "CC-PDDC" 578licenseId CC0_1_0 = "CC0-1.0" 579licenseId CDDL_1_0 = "CDDL-1.0" 580licenseId CDDL_1_1 = "CDDL-1.1" 581licenseId CDLA_Permissive_1_0 = "CDLA-Permissive-1.0" 582licenseId CDLA_Sharing_1_0 = "CDLA-Sharing-1.0" 583licenseId CECILL_1_0 = "CECILL-1.0" 584licenseId CECILL_1_1 = "CECILL-1.1" 585licenseId CECILL_2_0 = "CECILL-2.0" 586licenseId CECILL_2_1 = "CECILL-2.1" 587licenseId CECILL_B = "CECILL-B" 588licenseId CECILL_C = "CECILL-C" 589licenseId CERN_OHL_1_1 = "CERN-OHL-1.1" 590licenseId CERN_OHL_1_2 = "CERN-OHL-1.2" 591licenseId ClArtistic = "ClArtistic" 592licenseId CNRI_Jython = "CNRI-Jython" 593licenseId CNRI_Python_GPL_Compatible = "CNRI-Python-GPL-Compatible" 594licenseId CNRI_Python = "CNRI-Python" 595licenseId Condor_1_1 = "Condor-1.1" 596licenseId Copyleft_next_0_3_0 = "copyleft-next-0.3.0" 597licenseId Copyleft_next_0_3_1 = "copyleft-next-0.3.1" 598licenseId CPAL_1_0 = "CPAL-1.0" 599licenseId CPL_1_0 = "CPL-1.0" 600licenseId CPOL_1_02 = "CPOL-1.02" 601licenseId Crossword = "Crossword" 602licenseId CrystalStacker = "CrystalStacker" 603licenseId CUA_OPL_1_0 = "CUA-OPL-1.0" 604licenseId Cube = "Cube" 605licenseId Curl = "curl" 606licenseId D_FSL_1_0 = "D-FSL-1.0" 607licenseId Diffmark = "diffmark" 608licenseId DOC = "DOC" 609licenseId Dotseqn = "Dotseqn" 610licenseId DSDP = "DSDP" 611licenseId Dvipdfm = "dvipdfm" 612licenseId ECL_1_0 = "ECL-1.0" 613licenseId ECL_2_0 = "ECL-2.0" 614licenseId EFL_1_0 = "EFL-1.0" 615licenseId EFL_2_0 = "EFL-2.0" 616licenseId EGenix = "eGenix" 617licenseId Entessa = "Entessa" 618licenseId EPL_1_0 = "EPL-1.0" 619licenseId EPL_2_0 = "EPL-2.0" 620licenseId ErlPL_1_1 = "ErlPL-1.1" 621licenseId EUDatagrid = "EUDatagrid" 622licenseId EUPL_1_0 = "EUPL-1.0" 623licenseId EUPL_1_1 = "EUPL-1.1" 624licenseId EUPL_1_2 = "EUPL-1.2" 625licenseId Eurosym = "Eurosym" 626licenseId Fair = "Fair" 627licenseId Frameworx_1_0 = "Frameworx-1.0" 628licenseId FreeImage = "FreeImage" 629licenseId FSFAP = "FSFAP" 630licenseId FSFULLR = "FSFULLR" 631licenseId FSFUL = "FSFUL" 632licenseId FTL = "FTL" 633licenseId GFDL_1_1_only = "GFDL-1.1-only" 634licenseId GFDL_1_1_or_later = "GFDL-1.1-or-later" 635licenseId GFDL_1_2_only = "GFDL-1.2-only" 636licenseId GFDL_1_2_or_later = "GFDL-1.2-or-later" 637licenseId GFDL_1_3_only = "GFDL-1.3-only" 638licenseId GFDL_1_3_or_later = "GFDL-1.3-or-later" 639licenseId Giftware = "Giftware" 640licenseId GL2PS = "GL2PS" 641licenseId Glide = "Glide" 642licenseId Glulxe = "Glulxe" 643licenseId Gnuplot = "gnuplot" 644licenseId GPL_1_0_only = "GPL-1.0-only" 645licenseId GPL_1_0_or_later = "GPL-1.0-or-later" 646licenseId GPL_2_0_only = "GPL-2.0-only" 647licenseId GPL_2_0_or_later = "GPL-2.0-or-later" 648licenseId GPL_3_0_only = "GPL-3.0-only" 649licenseId GPL_3_0_or_later = "GPL-3.0-or-later" 650licenseId GSOAP_1_3b = "gSOAP-1.3b" 651licenseId HaskellReport = "HaskellReport" 652licenseId HPND_sell_variant = "HPND-sell-variant" 653licenseId HPND = "HPND" 654licenseId IBM_pibs = "IBM-pibs" 655licenseId ICU = "ICU" 656licenseId IJG = "IJG" 657licenseId ImageMagick = "ImageMagick" 658licenseId IMatix = "iMatix" 659licenseId Imlib2 = "Imlib2" 660licenseId Info_ZIP = "Info-ZIP" 661licenseId Intel_ACPI = "Intel-ACPI" 662licenseId Intel = "Intel" 663licenseId Interbase_1_0 = "Interbase-1.0" 664licenseId IPA = "IPA" 665licenseId IPL_1_0 = "IPL-1.0" 666licenseId ISC = "ISC" 667licenseId JasPer_2_0 = "JasPer-2.0" 668licenseId JPNIC = "JPNIC" 669licenseId JSON = "JSON" 670licenseId LAL_1_2 = "LAL-1.2" 671licenseId LAL_1_3 = "LAL-1.3" 672licenseId Latex2e = "Latex2e" 673licenseId Leptonica = "Leptonica" 674licenseId LGPL_2_0_only = "LGPL-2.0-only" 675licenseId LGPL_2_0_or_later = "LGPL-2.0-or-later" 676licenseId LGPL_2_1_only = "LGPL-2.1-only" 677licenseId LGPL_2_1_or_later = "LGPL-2.1-or-later" 678licenseId LGPL_3_0_only = "LGPL-3.0-only" 679licenseId LGPL_3_0_or_later = "LGPL-3.0-or-later" 680licenseId LGPLLR = "LGPLLR" 681licenseId Libpng_2_0 = "libpng-2.0" 682licenseId Libpng = "Libpng" 683licenseId Libtiff = "libtiff" 684licenseId LiLiQ_P_1_1 = "LiLiQ-P-1.1" 685licenseId LiLiQ_R_1_1 = "LiLiQ-R-1.1" 686licenseId LiLiQ_Rplus_1_1 = "LiLiQ-Rplus-1.1" 687licenseId Linux_OpenIB = "Linux-OpenIB" 688licenseId LPL_1_02 = "LPL-1.02" 689licenseId LPL_1_0 = "LPL-1.0" 690licenseId LPPL_1_0 = "LPPL-1.0" 691licenseId LPPL_1_1 = "LPPL-1.1" 692licenseId LPPL_1_2 = "LPPL-1.2" 693licenseId LPPL_1_3a = "LPPL-1.3a" 694licenseId LPPL_1_3c = "LPPL-1.3c" 695licenseId MakeIndex = "MakeIndex" 696licenseId MirOS = "MirOS" 697licenseId MIT_0 = "MIT-0" 698licenseId MIT_advertising = "MIT-advertising" 699licenseId MIT_CMU = "MIT-CMU" 700licenseId MIT_enna = "MIT-enna" 701licenseId MIT_feh = "MIT-feh" 702licenseId MITNFA = "MITNFA" 703licenseId MIT = "MIT" 704licenseId Motosoto = "Motosoto" 705licenseId Mpich2 = "mpich2" 706licenseId MPL_1_0 = "MPL-1.0" 707licenseId MPL_1_1 = "MPL-1.1" 708licenseId MPL_2_0_no_copyleft_exception = "MPL-2.0-no-copyleft-exception" 709licenseId MPL_2_0 = "MPL-2.0" 710licenseId MS_PL = "MS-PL" 711licenseId MS_RL = "MS-RL" 712licenseId MTLL = "MTLL" 713licenseId Multics = "Multics" 714licenseId Mup = "Mup" 715licenseId NASA_1_3 = "NASA-1.3" 716licenseId Naumen = "Naumen" 717licenseId NBPL_1_0 = "NBPL-1.0" 718licenseId NCSA = "NCSA" 719licenseId Net_SNMP = "Net-SNMP" 720licenseId NetCDF = "NetCDF" 721licenseId Newsletr = "Newsletr" 722licenseId NGPL = "NGPL" 723licenseId NLOD_1_0 = "NLOD-1.0" 724licenseId NLPL = "NLPL" 725licenseId Nokia = "Nokia" 726licenseId NOSL = "NOSL" 727licenseId Noweb = "Noweb" 728licenseId NPL_1_0 = "NPL-1.0" 729licenseId NPL_1_1 = "NPL-1.1" 730licenseId NPOSL_3_0 = "NPOSL-3.0" 731licenseId NRL = "NRL" 732licenseId NTP = "NTP" 733licenseId OCCT_PL = "OCCT-PL" 734licenseId OCLC_2_0 = "OCLC-2.0" 735licenseId ODbL_1_0 = "ODbL-1.0" 736licenseId ODC_By_1_0 = "ODC-By-1.0" 737licenseId OFL_1_0 = "OFL-1.0" 738licenseId OFL_1_1 = "OFL-1.1" 739licenseId OGL_UK_1_0 = "OGL-UK-1.0" 740licenseId OGL_UK_2_0 = "OGL-UK-2.0" 741licenseId OGL_UK_3_0 = "OGL-UK-3.0" 742licenseId OGTSL = "OGTSL" 743licenseId OLDAP_1_1 = "OLDAP-1.1" 744licenseId OLDAP_1_2 = "OLDAP-1.2" 745licenseId OLDAP_1_3 = "OLDAP-1.3" 746licenseId OLDAP_1_4 = "OLDAP-1.4" 747licenseId OLDAP_2_0_1 = "OLDAP-2.0.1" 748licenseId OLDAP_2_0 = "OLDAP-2.0" 749licenseId OLDAP_2_1 = "OLDAP-2.1" 750licenseId OLDAP_2_2_1 = "OLDAP-2.2.1" 751licenseId OLDAP_2_2_2 = "OLDAP-2.2.2" 752licenseId OLDAP_2_2 = "OLDAP-2.2" 753licenseId OLDAP_2_3 = "OLDAP-2.3" 754licenseId OLDAP_2_4 = "OLDAP-2.4" 755licenseId OLDAP_2_5 = "OLDAP-2.5" 756licenseId OLDAP_2_6 = "OLDAP-2.6" 757licenseId OLDAP_2_7 = "OLDAP-2.7" 758licenseId OLDAP_2_8 = "OLDAP-2.8" 759licenseId OML = "OML" 760licenseId OpenSSL = "OpenSSL" 761licenseId OPL_1_0 = "OPL-1.0" 762licenseId OSET_PL_2_1 = "OSET-PL-2.1" 763licenseId OSL_1_0 = "OSL-1.0" 764licenseId OSL_1_1 = "OSL-1.1" 765licenseId OSL_2_0 = "OSL-2.0" 766licenseId OSL_2_1 = "OSL-2.1" 767licenseId OSL_3_0 = "OSL-3.0" 768licenseId Parity_6_0_0 = "Parity-6.0.0" 769licenseId PDDL_1_0 = "PDDL-1.0" 770licenseId PHP_3_01 = "PHP-3.01" 771licenseId PHP_3_0 = "PHP-3.0" 772licenseId Plexus = "Plexus" 773licenseId PostgreSQL = "PostgreSQL" 774licenseId Psfrag = "psfrag" 775licenseId Psutils = "psutils" 776licenseId Python_2_0 = "Python-2.0" 777licenseId Qhull = "Qhull" 778licenseId QPL_1_0 = "QPL-1.0" 779licenseId Rdisc = "Rdisc" 780licenseId RHeCos_1_1 = "RHeCos-1.1" 781licenseId RPL_1_1 = "RPL-1.1" 782licenseId RPL_1_5 = "RPL-1.5" 783licenseId RPSL_1_0 = "RPSL-1.0" 784licenseId RSA_MD = "RSA-MD" 785licenseId RSCPL = "RSCPL" 786licenseId Ruby = "Ruby" 787licenseId SAX_PD = "SAX-PD" 788licenseId Saxpath = "Saxpath" 789licenseId SCEA = "SCEA" 790licenseId Sendmail_8_23 = "Sendmail-8.23" 791licenseId Sendmail = "Sendmail" 792licenseId SGI_B_1_0 = "SGI-B-1.0" 793licenseId SGI_B_1_1 = "SGI-B-1.1" 794licenseId SGI_B_2_0 = "SGI-B-2.0" 795licenseId SHL_0_51 = "SHL-0.51" 796licenseId SHL_0_5 = "SHL-0.5" 797licenseId SimPL_2_0 = "SimPL-2.0" 798licenseId SISSL_1_2 = "SISSL-1.2" 799licenseId SISSL = "SISSL" 800licenseId Sleepycat = "Sleepycat" 801licenseId SMLNJ = "SMLNJ" 802licenseId SMPPL = "SMPPL" 803licenseId SNIA = "SNIA" 804licenseId Spencer_86 = "Spencer-86" 805licenseId Spencer_94 = "Spencer-94" 806licenseId Spencer_99 = "Spencer-99" 807licenseId SPL_1_0 = "SPL-1.0" 808licenseId SSPL_1_0 = "SSPL-1.0" 809licenseId SugarCRM_1_1_3 = "SugarCRM-1.1.3" 810licenseId SWL = "SWL" 811licenseId TAPR_OHL_1_0 = "TAPR-OHL-1.0" 812licenseId TCL = "TCL" 813licenseId TCP_wrappers = "TCP-wrappers" 814licenseId TMate = "TMate" 815licenseId TORQUE_1_1 = "TORQUE-1.1" 816licenseId TOSL = "TOSL" 817licenseId TU_Berlin_1_0 = "TU-Berlin-1.0" 818licenseId TU_Berlin_2_0 = "TU-Berlin-2.0" 819licenseId Unicode_DFS_2015 = "Unicode-DFS-2015" 820licenseId Unicode_DFS_2016 = "Unicode-DFS-2016" 821licenseId Unicode_TOU = "Unicode-TOU" 822licenseId Unlicense = "Unlicense" 823licenseId UPL_1_0 = "UPL-1.0" 824licenseId Vim = "Vim" 825licenseId VOSTROM = "VOSTROM" 826licenseId VSL_1_0 = "VSL-1.0" 827licenseId W3C_19980720 = "W3C-19980720" 828licenseId W3C_20150513 = "W3C-20150513" 829licenseId W3C = "W3C" 830licenseId Watcom_1_0 = "Watcom-1.0" 831licenseId Wsuipa = "Wsuipa" 832licenseId WTFPL = "WTFPL" 833licenseId X11 = "X11" 834licenseId Xerox = "Xerox" 835licenseId XFree86_1_1 = "XFree86-1.1" 836licenseId Xinetd = "xinetd" 837licenseId Xnet = "Xnet" 838licenseId Xpp = "xpp" 839licenseId XSkat = "XSkat" 840licenseId YPL_1_0 = "YPL-1.0" 841licenseId YPL_1_1 = "YPL-1.1" 842licenseId Zed = "Zed" 843licenseId Zend_2_0 = "Zend-2.0" 844licenseId Zimbra_1_3 = "Zimbra-1.3" 845licenseId Zimbra_1_4 = "Zimbra-1.4" 846licenseId Zlib_acknowledgement = "zlib-acknowledgement" 847licenseId Zlib = "Zlib" 848licenseId ZPL_1_1 = "ZPL-1.1" 849licenseId ZPL_2_0 = "ZPL-2.0" 850licenseId ZPL_2_1 = "ZPL-2.1" 851 852-- | License name, e.g. @"GNU General Public License v2.0 only"@ 853licenseName :: LicenseId -> String 854licenseName NullBSD = "BSD Zero Clause License" 855licenseName AAL = "Attribution Assurance License" 856licenseName Abstyles = "Abstyles License" 857licenseName Adobe_2006 = "Adobe Systems Incorporated Source Code License Agreement" 858licenseName Adobe_Glyph = "Adobe Glyph List License" 859licenseName ADSL = "Amazon Digital Services License" 860licenseName AFL_1_1 = "Academic Free License v1.1" 861licenseName AFL_1_2 = "Academic Free License v1.2" 862licenseName AFL_2_0 = "Academic Free License v2.0" 863licenseName AFL_2_1 = "Academic Free License v2.1" 864licenseName AFL_3_0 = "Academic Free License v3.0" 865licenseName Afmparse = "Afmparse License" 866licenseName AGPL_1_0 = "Affero General Public License v1.0" 867licenseName AGPL_1_0_only = "Affero General Public License v1.0 only" 868licenseName AGPL_1_0_or_later = "Affero General Public License v1.0 or later" 869licenseName AGPL_3_0_only = "GNU Affero General Public License v3.0 only" 870licenseName AGPL_3_0_or_later = "GNU Affero General Public License v3.0 or later" 871licenseName Aladdin = "Aladdin Free Public License" 872licenseName AMDPLPA = "AMD's plpa_map.c License" 873licenseName AML = "Apple MIT License" 874licenseName AMPAS = "Academy of Motion Picture Arts and Sciences BSD" 875licenseName ANTLR_PD = "ANTLR Software Rights Notice" 876licenseName Apache_1_0 = "Apache License 1.0" 877licenseName Apache_1_1 = "Apache License 1.1" 878licenseName Apache_2_0 = "Apache License 2.0" 879licenseName APAFML = "Adobe Postscript AFM License" 880licenseName APL_1_0 = "Adaptive Public License 1.0" 881licenseName APSL_1_0 = "Apple Public Source License 1.0" 882licenseName APSL_1_1 = "Apple Public Source License 1.1" 883licenseName APSL_1_2 = "Apple Public Source License 1.2" 884licenseName APSL_2_0 = "Apple Public Source License 2.0" 885licenseName Artistic_1_0_cl8 = "Artistic License 1.0 w/clause 8" 886licenseName Artistic_1_0_Perl = "Artistic License 1.0 (Perl)" 887licenseName Artistic_1_0 = "Artistic License 1.0" 888licenseName Artistic_2_0 = "Artistic License 2.0" 889licenseName Bahyph = "Bahyph License" 890licenseName Barr = "Barr License" 891licenseName Beerware = "Beerware License" 892licenseName BitTorrent_1_0 = "BitTorrent Open Source License v1.0" 893licenseName BitTorrent_1_1 = "BitTorrent Open Source License v1.1" 894licenseName Blessing = "SQLite Blessing" 895licenseName BlueOak_1_0_0 = "Blue Oak Model License 1.0.0" 896licenseName Borceux = "Borceux license" 897licenseName BSD_1_Clause = "BSD 1-Clause License" 898licenseName BSD_2_Clause_FreeBSD = "BSD 2-Clause FreeBSD License" 899licenseName BSD_2_Clause_NetBSD = "BSD 2-Clause NetBSD License" 900licenseName BSD_2_Clause_Patent = "BSD-2-Clause Plus Patent License" 901licenseName BSD_2_Clause = "BSD 2-Clause \"Simplified\" License" 902licenseName BSD_3_Clause_Attribution = "BSD with attribution" 903licenseName BSD_3_Clause_Clear = "BSD 3-Clause Clear License" 904licenseName BSD_3_Clause_LBNL = "Lawrence Berkeley National Labs BSD variant license" 905licenseName BSD_3_Clause_No_Nuclear_License_2014 = "BSD 3-Clause No Nuclear License 2014" 906licenseName BSD_3_Clause_No_Nuclear_License = "BSD 3-Clause No Nuclear License" 907licenseName BSD_3_Clause_No_Nuclear_Warranty = "BSD 3-Clause No Nuclear Warranty" 908licenseName BSD_3_Clause_Open_MPI = "BSD 3-Clause Open MPI variant" 909licenseName BSD_3_Clause = "BSD 3-Clause \"New\" or \"Revised\" License" 910licenseName BSD_4_Clause_UC = "BSD-4-Clause (University of California-Specific)" 911licenseName BSD_4_Clause = "BSD 4-Clause \"Original\" or \"Old\" License" 912licenseName BSD_Protection = "BSD Protection License" 913licenseName BSD_Source_Code = "BSD Source Code Attribution" 914licenseName BSL_1_0 = "Boost Software License 1.0" 915licenseName Bzip2_1_0_5 = "bzip2 and libbzip2 License v1.0.5" 916licenseName Bzip2_1_0_6 = "bzip2 and libbzip2 License v1.0.6" 917licenseName Caldera = "Caldera License" 918licenseName CATOSL_1_1 = "Computer Associates Trusted Open Source License 1.1" 919licenseName CC_BY_1_0 = "Creative Commons Attribution 1.0 Generic" 920licenseName CC_BY_2_0 = "Creative Commons Attribution 2.0 Generic" 921licenseName CC_BY_2_5 = "Creative Commons Attribution 2.5 Generic" 922licenseName CC_BY_3_0 = "Creative Commons Attribution 3.0 Unported" 923licenseName CC_BY_4_0 = "Creative Commons Attribution 4.0 International" 924licenseName CC_BY_NC_1_0 = "Creative Commons Attribution Non Commercial 1.0 Generic" 925licenseName CC_BY_NC_2_0 = "Creative Commons Attribution Non Commercial 2.0 Generic" 926licenseName CC_BY_NC_2_5 = "Creative Commons Attribution Non Commercial 2.5 Generic" 927licenseName CC_BY_NC_3_0 = "Creative Commons Attribution Non Commercial 3.0 Unported" 928licenseName CC_BY_NC_4_0 = "Creative Commons Attribution Non Commercial 4.0 International" 929licenseName CC_BY_NC_ND_1_0 = "Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic" 930licenseName CC_BY_NC_ND_2_0 = "Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic" 931licenseName CC_BY_NC_ND_2_5 = "Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic" 932licenseName CC_BY_NC_ND_3_0 = "Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported" 933licenseName CC_BY_NC_ND_4_0 = "Creative Commons Attribution Non Commercial No Derivatives 4.0 International" 934licenseName CC_BY_NC_SA_1_0 = "Creative Commons Attribution Non Commercial Share Alike 1.0 Generic" 935licenseName CC_BY_NC_SA_2_0 = "Creative Commons Attribution Non Commercial Share Alike 2.0 Generic" 936licenseName CC_BY_NC_SA_2_5 = "Creative Commons Attribution Non Commercial Share Alike 2.5 Generic" 937licenseName CC_BY_NC_SA_3_0 = "Creative Commons Attribution Non Commercial Share Alike 3.0 Unported" 938licenseName CC_BY_NC_SA_4_0 = "Creative Commons Attribution Non Commercial Share Alike 4.0 International" 939licenseName CC_BY_ND_1_0 = "Creative Commons Attribution No Derivatives 1.0 Generic" 940licenseName CC_BY_ND_2_0 = "Creative Commons Attribution No Derivatives 2.0 Generic" 941licenseName CC_BY_ND_2_5 = "Creative Commons Attribution No Derivatives 2.5 Generic" 942licenseName CC_BY_ND_3_0 = "Creative Commons Attribution No Derivatives 3.0 Unported" 943licenseName CC_BY_ND_4_0 = "Creative Commons Attribution No Derivatives 4.0 International" 944licenseName CC_BY_SA_1_0 = "Creative Commons Attribution Share Alike 1.0 Generic" 945licenseName CC_BY_SA_2_0 = "Creative Commons Attribution Share Alike 2.0 Generic" 946licenseName CC_BY_SA_2_5 = "Creative Commons Attribution Share Alike 2.5 Generic" 947licenseName CC_BY_SA_3_0 = "Creative Commons Attribution Share Alike 3.0 Unported" 948licenseName CC_BY_SA_4_0 = "Creative Commons Attribution Share Alike 4.0 International" 949licenseName CC_PDDC = "Creative Commons Public Domain Dedication and Certification" 950licenseName CC0_1_0 = "Creative Commons Zero v1.0 Universal" 951licenseName CDDL_1_0 = "Common Development and Distribution License 1.0" 952licenseName CDDL_1_1 = "Common Development and Distribution License 1.1" 953licenseName CDLA_Permissive_1_0 = "Community Data License Agreement Permissive 1.0" 954licenseName CDLA_Sharing_1_0 = "Community Data License Agreement Sharing 1.0" 955licenseName CECILL_1_0 = "CeCILL Free Software License Agreement v1.0" 956licenseName CECILL_1_1 = "CeCILL Free Software License Agreement v1.1" 957licenseName CECILL_2_0 = "CeCILL Free Software License Agreement v2.0" 958licenseName CECILL_2_1 = "CeCILL Free Software License Agreement v2.1" 959licenseName CECILL_B = "CeCILL-B Free Software License Agreement" 960licenseName CECILL_C = "CeCILL-C Free Software License Agreement" 961licenseName CERN_OHL_1_1 = "CERN Open Hardware License v1.1" 962licenseName CERN_OHL_1_2 = "CERN Open Hardware Licence v1.2" 963licenseName ClArtistic = "Clarified Artistic License" 964licenseName CNRI_Jython = "CNRI Jython License" 965licenseName CNRI_Python_GPL_Compatible = "CNRI Python Open Source GPL Compatible License Agreement" 966licenseName CNRI_Python = "CNRI Python License" 967licenseName Condor_1_1 = "Condor Public License v1.1" 968licenseName Copyleft_next_0_3_0 = "copyleft-next 0.3.0" 969licenseName Copyleft_next_0_3_1 = "copyleft-next 0.3.1" 970licenseName CPAL_1_0 = "Common Public Attribution License 1.0" 971licenseName CPL_1_0 = "Common Public License 1.0" 972licenseName CPOL_1_02 = "Code Project Open License 1.02" 973licenseName Crossword = "Crossword License" 974licenseName CrystalStacker = "CrystalStacker License" 975licenseName CUA_OPL_1_0 = "CUA Office Public License v1.0" 976licenseName Cube = "Cube License" 977licenseName Curl = "curl License" 978licenseName D_FSL_1_0 = "Deutsche Freie Software Lizenz" 979licenseName Diffmark = "diffmark license" 980licenseName DOC = "DOC License" 981licenseName Dotseqn = "Dotseqn License" 982licenseName DSDP = "DSDP License" 983licenseName Dvipdfm = "dvipdfm License" 984licenseName ECL_1_0 = "Educational Community License v1.0" 985licenseName ECL_2_0 = "Educational Community License v2.0" 986licenseName EFL_1_0 = "Eiffel Forum License v1.0" 987licenseName EFL_2_0 = "Eiffel Forum License v2.0" 988licenseName EGenix = "eGenix.com Public License 1.1.0" 989licenseName Entessa = "Entessa Public License v1.0" 990licenseName EPL_1_0 = "Eclipse Public License 1.0" 991licenseName EPL_2_0 = "Eclipse Public License 2.0" 992licenseName ErlPL_1_1 = "Erlang Public License v1.1" 993licenseName EUDatagrid = "EU DataGrid Software License" 994licenseName EUPL_1_0 = "European Union Public License 1.0" 995licenseName EUPL_1_1 = "European Union Public License 1.1" 996licenseName EUPL_1_2 = "European Union Public License 1.2" 997licenseName Eurosym = "Eurosym License" 998licenseName Fair = "Fair License" 999licenseName Frameworx_1_0 = "Frameworx Open License 1.0" 1000licenseName FreeImage = "FreeImage Public License v1.0" 1001licenseName FSFAP = "FSF All Permissive License" 1002licenseName FSFULLR = "FSF Unlimited License (with License Retention)" 1003licenseName FSFUL = "FSF Unlimited License" 1004licenseName FTL = "Freetype Project License" 1005licenseName GFDL_1_1_only = "GNU Free Documentation License v1.1 only" 1006licenseName GFDL_1_1_or_later = "GNU Free Documentation License v1.1 or later" 1007licenseName GFDL_1_2_only = "GNU Free Documentation License v1.2 only" 1008licenseName GFDL_1_2_or_later = "GNU Free Documentation License v1.2 or later" 1009licenseName GFDL_1_3_only = "GNU Free Documentation License v1.3 only" 1010licenseName GFDL_1_3_or_later = "GNU Free Documentation License v1.3 or later" 1011licenseName Giftware = "Giftware License" 1012licenseName GL2PS = "GL2PS License" 1013licenseName Glide = "3dfx Glide License" 1014licenseName Glulxe = "Glulxe License" 1015licenseName Gnuplot = "gnuplot License" 1016licenseName GPL_1_0_only = "GNU General Public License v1.0 only" 1017licenseName GPL_1_0_or_later = "GNU General Public License v1.0 or later" 1018licenseName GPL_2_0_only = "GNU General Public License v2.0 only" 1019licenseName GPL_2_0_or_later = "GNU General Public License v2.0 or later" 1020licenseName GPL_3_0_only = "GNU General Public License v3.0 only" 1021licenseName GPL_3_0_or_later = "GNU General Public License v3.0 or later" 1022licenseName GSOAP_1_3b = "gSOAP Public License v1.3b" 1023licenseName HaskellReport = "Haskell Language Report License" 1024licenseName HPND_sell_variant = "Historical Permission Notice and Disclaimer - sell variant" 1025licenseName HPND = "Historical Permission Notice and Disclaimer" 1026licenseName IBM_pibs = "IBM PowerPC Initialization and Boot Software" 1027licenseName ICU = "ICU License" 1028licenseName IJG = "Independent JPEG Group License" 1029licenseName ImageMagick = "ImageMagick License" 1030licenseName IMatix = "iMatix Standard Function Library Agreement" 1031licenseName Imlib2 = "Imlib2 License" 1032licenseName Info_ZIP = "Info-ZIP License" 1033licenseName Intel_ACPI = "Intel ACPI Software License Agreement" 1034licenseName Intel = "Intel Open Source License" 1035licenseName Interbase_1_0 = "Interbase Public License v1.0" 1036licenseName IPA = "IPA Font License" 1037licenseName IPL_1_0 = "IBM Public License v1.0" 1038licenseName ISC = "ISC License" 1039licenseName JasPer_2_0 = "JasPer License" 1040licenseName JPNIC = "Japan Network Information Center License" 1041licenseName JSON = "JSON License" 1042licenseName LAL_1_2 = "Licence Art Libre 1.2" 1043licenseName LAL_1_3 = "Licence Art Libre 1.3" 1044licenseName Latex2e = "Latex2e License" 1045licenseName Leptonica = "Leptonica License" 1046licenseName LGPL_2_0_only = "GNU Library General Public License v2 only" 1047licenseName LGPL_2_0_or_later = "GNU Library General Public License v2 or later" 1048licenseName LGPL_2_1_only = "GNU Lesser General Public License v2.1 only" 1049licenseName LGPL_2_1_or_later = "GNU Lesser General Public License v2.1 or later" 1050licenseName LGPL_3_0_only = "GNU Lesser General Public License v3.0 only" 1051licenseName LGPL_3_0_or_later = "GNU Lesser General Public License v3.0 or later" 1052licenseName LGPLLR = "Lesser General Public License For Linguistic Resources" 1053licenseName Libpng_2_0 = "PNG Reference Library version 2" 1054licenseName Libpng = "libpng License" 1055licenseName Libtiff = "libtiff License" 1056licenseName LiLiQ_P_1_1 = "Licence Libre du Qu\233bec \8211 Permissive version 1.1" 1057licenseName LiLiQ_R_1_1 = "Licence Libre du Qu\233bec \8211 R\233ciprocit\233 version 1.1" 1058licenseName LiLiQ_Rplus_1_1 = "Licence Libre du Qu\233bec \8211 R\233ciprocit\233 forte version 1.1" 1059licenseName Linux_OpenIB = "Linux Kernel Variant of OpenIB.org license" 1060licenseName LPL_1_02 = "Lucent Public License v1.02" 1061licenseName LPL_1_0 = "Lucent Public License Version 1.0" 1062licenseName LPPL_1_0 = "LaTeX Project Public License v1.0" 1063licenseName LPPL_1_1 = "LaTeX Project Public License v1.1" 1064licenseName LPPL_1_2 = "LaTeX Project Public License v1.2" 1065licenseName LPPL_1_3a = "LaTeX Project Public License v1.3a" 1066licenseName LPPL_1_3c = "LaTeX Project Public License v1.3c" 1067licenseName MakeIndex = "MakeIndex License" 1068licenseName MirOS = "MirOS License" 1069licenseName MIT_0 = "MIT No Attribution" 1070licenseName MIT_advertising = "Enlightenment License (e16)" 1071licenseName MIT_CMU = "CMU License" 1072licenseName MIT_enna = "enna License" 1073licenseName MIT_feh = "feh License" 1074licenseName MITNFA = "MIT +no-false-attribs license" 1075licenseName MIT = "MIT License" 1076licenseName Motosoto = "Motosoto License" 1077licenseName Mpich2 = "mpich2 License" 1078licenseName MPL_1_0 = "Mozilla Public License 1.0" 1079licenseName MPL_1_1 = "Mozilla Public License 1.1" 1080licenseName MPL_2_0_no_copyleft_exception = "Mozilla Public License 2.0 (no copyleft exception)" 1081licenseName MPL_2_0 = "Mozilla Public License 2.0" 1082licenseName MS_PL = "Microsoft Public License" 1083licenseName MS_RL = "Microsoft Reciprocal License" 1084licenseName MTLL = "Matrix Template Library License" 1085licenseName Multics = "Multics License" 1086licenseName Mup = "Mup License" 1087licenseName NASA_1_3 = "NASA Open Source Agreement 1.3" 1088licenseName Naumen = "Naumen Public License" 1089licenseName NBPL_1_0 = "Net Boolean Public License v1" 1090licenseName NCSA = "University of Illinois/NCSA Open Source License" 1091licenseName Net_SNMP = "Net-SNMP License" 1092licenseName NetCDF = "NetCDF license" 1093licenseName Newsletr = "Newsletr License" 1094licenseName NGPL = "Nethack General Public License" 1095licenseName NLOD_1_0 = "Norwegian Licence for Open Government Data" 1096licenseName NLPL = "No Limit Public License" 1097licenseName Nokia = "Nokia Open Source License" 1098licenseName NOSL = "Netizen Open Source License" 1099licenseName Noweb = "Noweb License" 1100licenseName NPL_1_0 = "Netscape Public License v1.0" 1101licenseName NPL_1_1 = "Netscape Public License v1.1" 1102licenseName NPOSL_3_0 = "Non-Profit Open Software License 3.0" 1103licenseName NRL = "NRL License" 1104licenseName NTP = "NTP License" 1105licenseName OCCT_PL = "Open CASCADE Technology Public License" 1106licenseName OCLC_2_0 = "OCLC Research Public License 2.0" 1107licenseName ODbL_1_0 = "ODC Open Database License v1.0" 1108licenseName ODC_By_1_0 = "Open Data Commons Attribution License v1.0" 1109licenseName OFL_1_0 = "SIL Open Font License 1.0" 1110licenseName OFL_1_1 = "SIL Open Font License 1.1" 1111licenseName OGL_UK_1_0 = "Open Government Licence v1.0" 1112licenseName OGL_UK_2_0 = "Open Government Licence v2.0" 1113licenseName OGL_UK_3_0 = "Open Government Licence v3.0" 1114licenseName OGTSL = "Open Group Test Suite License" 1115licenseName OLDAP_1_1 = "Open LDAP Public License v1.1" 1116licenseName OLDAP_1_2 = "Open LDAP Public License v1.2" 1117licenseName OLDAP_1_3 = "Open LDAP Public License v1.3" 1118licenseName OLDAP_1_4 = "Open LDAP Public License v1.4" 1119licenseName OLDAP_2_0_1 = "Open LDAP Public License v2.0.1" 1120licenseName OLDAP_2_0 = "Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)" 1121licenseName OLDAP_2_1 = "Open LDAP Public License v2.1" 1122licenseName OLDAP_2_2_1 = "Open LDAP Public License v2.2.1" 1123licenseName OLDAP_2_2_2 = "Open LDAP Public License 2.2.2" 1124licenseName OLDAP_2_2 = "Open LDAP Public License v2.2" 1125licenseName OLDAP_2_3 = "Open LDAP Public License v2.3" 1126licenseName OLDAP_2_4 = "Open LDAP Public License v2.4" 1127licenseName OLDAP_2_5 = "Open LDAP Public License v2.5" 1128licenseName OLDAP_2_6 = "Open LDAP Public License v2.6" 1129licenseName OLDAP_2_7 = "Open LDAP Public License v2.7" 1130licenseName OLDAP_2_8 = "Open LDAP Public License v2.8" 1131licenseName OML = "Open Market License" 1132licenseName OpenSSL = "OpenSSL License" 1133licenseName OPL_1_0 = "Open Public License v1.0" 1134licenseName OSET_PL_2_1 = "OSET Public License version 2.1" 1135licenseName OSL_1_0 = "Open Software License 1.0" 1136licenseName OSL_1_1 = "Open Software License 1.1" 1137licenseName OSL_2_0 = "Open Software License 2.0" 1138licenseName OSL_2_1 = "Open Software License 2.1" 1139licenseName OSL_3_0 = "Open Software License 3.0" 1140licenseName Parity_6_0_0 = "The Parity Public License 6.0.0" 1141licenseName PDDL_1_0 = "ODC Public Domain Dedication & License 1.0" 1142licenseName PHP_3_01 = "PHP License v3.01" 1143licenseName PHP_3_0 = "PHP License v3.0" 1144licenseName Plexus = "Plexus Classworlds License" 1145licenseName PostgreSQL = "PostgreSQL License" 1146licenseName Psfrag = "psfrag License" 1147licenseName Psutils = "psutils License" 1148licenseName Python_2_0 = "Python License 2.0" 1149licenseName Qhull = "Qhull License" 1150licenseName QPL_1_0 = "Q Public License 1.0" 1151licenseName Rdisc = "Rdisc License" 1152licenseName RHeCos_1_1 = "Red Hat eCos Public License v1.1" 1153licenseName RPL_1_1 = "Reciprocal Public License 1.1" 1154licenseName RPL_1_5 = "Reciprocal Public License 1.5" 1155licenseName RPSL_1_0 = "RealNetworks Public Source License v1.0" 1156licenseName RSA_MD = "RSA Message-Digest License " 1157licenseName RSCPL = "Ricoh Source Code Public License" 1158licenseName Ruby = "Ruby License" 1159licenseName SAX_PD = "Sax Public Domain Notice" 1160licenseName Saxpath = "Saxpath License" 1161licenseName SCEA = "SCEA Shared Source License" 1162licenseName Sendmail_8_23 = "Sendmail License 8.23" 1163licenseName Sendmail = "Sendmail License" 1164licenseName SGI_B_1_0 = "SGI Free Software License B v1.0" 1165licenseName SGI_B_1_1 = "SGI Free Software License B v1.1" 1166licenseName SGI_B_2_0 = "SGI Free Software License B v2.0" 1167licenseName SHL_0_51 = "Solderpad Hardware License, Version 0.51" 1168licenseName SHL_0_5 = "Solderpad Hardware License v0.5" 1169licenseName SimPL_2_0 = "Simple Public License 2.0" 1170licenseName SISSL_1_2 = "Sun Industry Standards Source License v1.2" 1171licenseName SISSL = "Sun Industry Standards Source License v1.1" 1172licenseName Sleepycat = "Sleepycat License" 1173licenseName SMLNJ = "Standard ML of New Jersey License" 1174licenseName SMPPL = "Secure Messaging Protocol Public License" 1175licenseName SNIA = "SNIA Public License 1.1" 1176licenseName Spencer_86 = "Spencer License 86" 1177licenseName Spencer_94 = "Spencer License 94" 1178licenseName Spencer_99 = "Spencer License 99" 1179licenseName SPL_1_0 = "Sun Public License v1.0" 1180licenseName SSPL_1_0 = "Server Side Public License, v 1" 1181licenseName SugarCRM_1_1_3 = "SugarCRM Public License v1.1.3" 1182licenseName SWL = "Scheme Widget Library (SWL) Software License Agreement" 1183licenseName TAPR_OHL_1_0 = "TAPR Open Hardware License v1.0" 1184licenseName TCL = "TCL/TK License" 1185licenseName TCP_wrappers = "TCP Wrappers License" 1186licenseName TMate = "TMate Open Source License" 1187licenseName TORQUE_1_1 = "TORQUE v2.5+ Software License v1.1" 1188licenseName TOSL = "Trusster Open Source License" 1189licenseName TU_Berlin_1_0 = "Technische Universitaet Berlin License 1.0" 1190licenseName TU_Berlin_2_0 = "Technische Universitaet Berlin License 2.0" 1191licenseName Unicode_DFS_2015 = "Unicode License Agreement - Data Files and Software (2015)" 1192licenseName Unicode_DFS_2016 = "Unicode License Agreement - Data Files and Software (2016)" 1193licenseName Unicode_TOU = "Unicode Terms of Use" 1194licenseName Unlicense = "The Unlicense" 1195licenseName UPL_1_0 = "Universal Permissive License v1.0" 1196licenseName Vim = "Vim License" 1197licenseName VOSTROM = "VOSTROM Public License for Open Source" 1198licenseName VSL_1_0 = "Vovida Software License v1.0" 1199licenseName W3C_19980720 = "W3C Software Notice and License (1998-07-20)" 1200licenseName W3C_20150513 = "W3C Software Notice and Document License (2015-05-13)" 1201licenseName W3C = "W3C Software Notice and License (2002-12-31)" 1202licenseName Watcom_1_0 = "Sybase Open Watcom Public License 1.0" 1203licenseName Wsuipa = "Wsuipa License" 1204licenseName WTFPL = "Do What The F*ck You Want To Public License" 1205licenseName X11 = "X11 License" 1206licenseName Xerox = "Xerox License" 1207licenseName XFree86_1_1 = "XFree86 License 1.1" 1208licenseName Xinetd = "xinetd License" 1209licenseName Xnet = "X.Net License" 1210licenseName Xpp = "XPP License" 1211licenseName XSkat = "XSkat License" 1212licenseName YPL_1_0 = "Yahoo! Public License v1.0" 1213licenseName YPL_1_1 = "Yahoo! Public License v1.1" 1214licenseName Zed = "Zed License" 1215licenseName Zend_2_0 = "Zend License v2.0" 1216licenseName Zimbra_1_3 = "Zimbra Public License v1.3" 1217licenseName Zimbra_1_4 = "Zimbra Public License v1.4" 1218licenseName Zlib_acknowledgement = "zlib/libpng License with Acknowledgement" 1219licenseName Zlib = "zlib License" 1220licenseName ZPL_1_1 = "Zope Public License 1.1" 1221licenseName ZPL_2_0 = "Zope Public License 2.0" 1222licenseName ZPL_2_1 = "Zope Public License 2.1" 1223 1224-- | Whether the license is approved by Open Source Initiative (OSI). 1225-- 1226-- See <https://opensource.org/licenses/alphabetical>. 1227licenseIsOsiApproved :: LicenseId -> Bool 1228licenseIsOsiApproved NullBSD = True 1229licenseIsOsiApproved AAL = True 1230licenseIsOsiApproved Abstyles = False 1231licenseIsOsiApproved Adobe_2006 = False 1232licenseIsOsiApproved Adobe_Glyph = False 1233licenseIsOsiApproved ADSL = False 1234licenseIsOsiApproved AFL_1_1 = True 1235licenseIsOsiApproved AFL_1_2 = True 1236licenseIsOsiApproved AFL_2_0 = True 1237licenseIsOsiApproved AFL_2_1 = True 1238licenseIsOsiApproved AFL_3_0 = True 1239licenseIsOsiApproved Afmparse = False 1240licenseIsOsiApproved AGPL_1_0 = False 1241licenseIsOsiApproved AGPL_1_0_only = False 1242licenseIsOsiApproved AGPL_1_0_or_later = False 1243licenseIsOsiApproved AGPL_3_0_only = True 1244licenseIsOsiApproved AGPL_3_0_or_later = True 1245licenseIsOsiApproved Aladdin = False 1246licenseIsOsiApproved AMDPLPA = False 1247licenseIsOsiApproved AML = False 1248licenseIsOsiApproved AMPAS = False 1249licenseIsOsiApproved ANTLR_PD = False 1250licenseIsOsiApproved Apache_1_0 = False 1251licenseIsOsiApproved Apache_1_1 = True 1252licenseIsOsiApproved Apache_2_0 = True 1253licenseIsOsiApproved APAFML = False 1254licenseIsOsiApproved APL_1_0 = True 1255licenseIsOsiApproved APSL_1_0 = True 1256licenseIsOsiApproved APSL_1_1 = True 1257licenseIsOsiApproved APSL_1_2 = True 1258licenseIsOsiApproved APSL_2_0 = True 1259licenseIsOsiApproved Artistic_1_0_cl8 = True 1260licenseIsOsiApproved Artistic_1_0_Perl = True 1261licenseIsOsiApproved Artistic_1_0 = True 1262licenseIsOsiApproved Artistic_2_0 = True 1263licenseIsOsiApproved Bahyph = False 1264licenseIsOsiApproved Barr = False 1265licenseIsOsiApproved Beerware = False 1266licenseIsOsiApproved BitTorrent_1_0 = False 1267licenseIsOsiApproved BitTorrent_1_1 = False 1268licenseIsOsiApproved Blessing = False 1269licenseIsOsiApproved BlueOak_1_0_0 = False 1270licenseIsOsiApproved Borceux = False 1271licenseIsOsiApproved BSD_1_Clause = False 1272licenseIsOsiApproved BSD_2_Clause_FreeBSD = False 1273licenseIsOsiApproved BSD_2_Clause_NetBSD = False 1274licenseIsOsiApproved BSD_2_Clause_Patent = True 1275licenseIsOsiApproved BSD_2_Clause = True 1276licenseIsOsiApproved BSD_3_Clause_Attribution = False 1277licenseIsOsiApproved BSD_3_Clause_Clear = False 1278licenseIsOsiApproved BSD_3_Clause_LBNL = True 1279licenseIsOsiApproved BSD_3_Clause_No_Nuclear_License_2014 = False 1280licenseIsOsiApproved BSD_3_Clause_No_Nuclear_License = False 1281licenseIsOsiApproved BSD_3_Clause_No_Nuclear_Warranty = False 1282licenseIsOsiApproved BSD_3_Clause_Open_MPI = False 1283licenseIsOsiApproved BSD_3_Clause = True 1284licenseIsOsiApproved BSD_4_Clause_UC = False 1285licenseIsOsiApproved BSD_4_Clause = False 1286licenseIsOsiApproved BSD_Protection = False 1287licenseIsOsiApproved BSD_Source_Code = False 1288licenseIsOsiApproved BSL_1_0 = True 1289licenseIsOsiApproved Bzip2_1_0_5 = False 1290licenseIsOsiApproved Bzip2_1_0_6 = False 1291licenseIsOsiApproved Caldera = False 1292licenseIsOsiApproved CATOSL_1_1 = True 1293licenseIsOsiApproved CC_BY_1_0 = False 1294licenseIsOsiApproved CC_BY_2_0 = False 1295licenseIsOsiApproved CC_BY_2_5 = False 1296licenseIsOsiApproved CC_BY_3_0 = False 1297licenseIsOsiApproved CC_BY_4_0 = False 1298licenseIsOsiApproved CC_BY_NC_1_0 = False 1299licenseIsOsiApproved CC_BY_NC_2_0 = False 1300licenseIsOsiApproved CC_BY_NC_2_5 = False 1301licenseIsOsiApproved CC_BY_NC_3_0 = False 1302licenseIsOsiApproved CC_BY_NC_4_0 = False 1303licenseIsOsiApproved CC_BY_NC_ND_1_0 = False 1304licenseIsOsiApproved CC_BY_NC_ND_2_0 = False 1305licenseIsOsiApproved CC_BY_NC_ND_2_5 = False 1306licenseIsOsiApproved CC_BY_NC_ND_3_0 = False 1307licenseIsOsiApproved CC_BY_NC_ND_4_0 = False 1308licenseIsOsiApproved CC_BY_NC_SA_1_0 = False 1309licenseIsOsiApproved CC_BY_NC_SA_2_0 = False 1310licenseIsOsiApproved CC_BY_NC_SA_2_5 = False 1311licenseIsOsiApproved CC_BY_NC_SA_3_0 = False 1312licenseIsOsiApproved CC_BY_NC_SA_4_0 = False 1313licenseIsOsiApproved CC_BY_ND_1_0 = False 1314licenseIsOsiApproved CC_BY_ND_2_0 = False 1315licenseIsOsiApproved CC_BY_ND_2_5 = False 1316licenseIsOsiApproved CC_BY_ND_3_0 = False 1317licenseIsOsiApproved CC_BY_ND_4_0 = False 1318licenseIsOsiApproved CC_BY_SA_1_0 = False 1319licenseIsOsiApproved CC_BY_SA_2_0 = False 1320licenseIsOsiApproved CC_BY_SA_2_5 = False 1321licenseIsOsiApproved CC_BY_SA_3_0 = False 1322licenseIsOsiApproved CC_BY_SA_4_0 = False 1323licenseIsOsiApproved CC_PDDC = False 1324licenseIsOsiApproved CC0_1_0 = False 1325licenseIsOsiApproved CDDL_1_0 = True 1326licenseIsOsiApproved CDDL_1_1 = False 1327licenseIsOsiApproved CDLA_Permissive_1_0 = False 1328licenseIsOsiApproved CDLA_Sharing_1_0 = False 1329licenseIsOsiApproved CECILL_1_0 = False 1330licenseIsOsiApproved CECILL_1_1 = False 1331licenseIsOsiApproved CECILL_2_0 = False 1332licenseIsOsiApproved CECILL_2_1 = True 1333licenseIsOsiApproved CECILL_B = False 1334licenseIsOsiApproved CECILL_C = False 1335licenseIsOsiApproved CERN_OHL_1_1 = False 1336licenseIsOsiApproved CERN_OHL_1_2 = False 1337licenseIsOsiApproved ClArtistic = False 1338licenseIsOsiApproved CNRI_Jython = False 1339licenseIsOsiApproved CNRI_Python_GPL_Compatible = False 1340licenseIsOsiApproved CNRI_Python = True 1341licenseIsOsiApproved Condor_1_1 = False 1342licenseIsOsiApproved Copyleft_next_0_3_0 = False 1343licenseIsOsiApproved Copyleft_next_0_3_1 = False 1344licenseIsOsiApproved CPAL_1_0 = True 1345licenseIsOsiApproved CPL_1_0 = True 1346licenseIsOsiApproved CPOL_1_02 = False 1347licenseIsOsiApproved Crossword = False 1348licenseIsOsiApproved CrystalStacker = False 1349licenseIsOsiApproved CUA_OPL_1_0 = True 1350licenseIsOsiApproved Cube = False 1351licenseIsOsiApproved Curl = False 1352licenseIsOsiApproved D_FSL_1_0 = False 1353licenseIsOsiApproved Diffmark = False 1354licenseIsOsiApproved DOC = False 1355licenseIsOsiApproved Dotseqn = False 1356licenseIsOsiApproved DSDP = False 1357licenseIsOsiApproved Dvipdfm = False 1358licenseIsOsiApproved ECL_1_0 = True 1359licenseIsOsiApproved ECL_2_0 = True 1360licenseIsOsiApproved EFL_1_0 = True 1361licenseIsOsiApproved EFL_2_0 = True 1362licenseIsOsiApproved EGenix = False 1363licenseIsOsiApproved Entessa = True 1364licenseIsOsiApproved EPL_1_0 = True 1365licenseIsOsiApproved EPL_2_0 = True 1366licenseIsOsiApproved ErlPL_1_1 = False 1367licenseIsOsiApproved EUDatagrid = True 1368licenseIsOsiApproved EUPL_1_0 = False 1369licenseIsOsiApproved EUPL_1_1 = True 1370licenseIsOsiApproved EUPL_1_2 = True 1371licenseIsOsiApproved Eurosym = False 1372licenseIsOsiApproved Fair = True 1373licenseIsOsiApproved Frameworx_1_0 = True 1374licenseIsOsiApproved FreeImage = False 1375licenseIsOsiApproved FSFAP = False 1376licenseIsOsiApproved FSFULLR = False 1377licenseIsOsiApproved FSFUL = False 1378licenseIsOsiApproved FTL = False 1379licenseIsOsiApproved GFDL_1_1_only = False 1380licenseIsOsiApproved GFDL_1_1_or_later = False 1381licenseIsOsiApproved GFDL_1_2_only = False 1382licenseIsOsiApproved GFDL_1_2_or_later = False 1383licenseIsOsiApproved GFDL_1_3_only = False 1384licenseIsOsiApproved GFDL_1_3_or_later = False 1385licenseIsOsiApproved Giftware = False 1386licenseIsOsiApproved GL2PS = False 1387licenseIsOsiApproved Glide = False 1388licenseIsOsiApproved Glulxe = False 1389licenseIsOsiApproved Gnuplot = False 1390licenseIsOsiApproved GPL_1_0_only = False 1391licenseIsOsiApproved GPL_1_0_or_later = False 1392licenseIsOsiApproved GPL_2_0_only = True 1393licenseIsOsiApproved GPL_2_0_or_later = True 1394licenseIsOsiApproved GPL_3_0_only = True 1395licenseIsOsiApproved GPL_3_0_or_later = True 1396licenseIsOsiApproved GSOAP_1_3b = False 1397licenseIsOsiApproved HaskellReport = False 1398licenseIsOsiApproved HPND_sell_variant = False 1399licenseIsOsiApproved HPND = True 1400licenseIsOsiApproved IBM_pibs = False 1401licenseIsOsiApproved ICU = False 1402licenseIsOsiApproved IJG = False 1403licenseIsOsiApproved ImageMagick = False 1404licenseIsOsiApproved IMatix = False 1405licenseIsOsiApproved Imlib2 = False 1406licenseIsOsiApproved Info_ZIP = False 1407licenseIsOsiApproved Intel_ACPI = False 1408licenseIsOsiApproved Intel = True 1409licenseIsOsiApproved Interbase_1_0 = False 1410licenseIsOsiApproved IPA = True 1411licenseIsOsiApproved IPL_1_0 = True 1412licenseIsOsiApproved ISC = True 1413licenseIsOsiApproved JasPer_2_0 = False 1414licenseIsOsiApproved JPNIC = False 1415licenseIsOsiApproved JSON = False 1416licenseIsOsiApproved LAL_1_2 = False 1417licenseIsOsiApproved LAL_1_3 = False 1418licenseIsOsiApproved Latex2e = False 1419licenseIsOsiApproved Leptonica = False 1420licenseIsOsiApproved LGPL_2_0_only = True 1421licenseIsOsiApproved LGPL_2_0_or_later = True 1422licenseIsOsiApproved LGPL_2_1_only = True 1423licenseIsOsiApproved LGPL_2_1_or_later = True 1424licenseIsOsiApproved LGPL_3_0_only = True 1425licenseIsOsiApproved LGPL_3_0_or_later = True 1426licenseIsOsiApproved LGPLLR = False 1427licenseIsOsiApproved Libpng_2_0 = False 1428licenseIsOsiApproved Libpng = False 1429licenseIsOsiApproved Libtiff = False 1430licenseIsOsiApproved LiLiQ_P_1_1 = True 1431licenseIsOsiApproved LiLiQ_R_1_1 = True 1432licenseIsOsiApproved LiLiQ_Rplus_1_1 = True 1433licenseIsOsiApproved Linux_OpenIB = False 1434licenseIsOsiApproved LPL_1_02 = True 1435licenseIsOsiApproved LPL_1_0 = True 1436licenseIsOsiApproved LPPL_1_0 = False 1437licenseIsOsiApproved LPPL_1_1 = False 1438licenseIsOsiApproved LPPL_1_2 = False 1439licenseIsOsiApproved LPPL_1_3a = False 1440licenseIsOsiApproved LPPL_1_3c = True 1441licenseIsOsiApproved MakeIndex = False 1442licenseIsOsiApproved MirOS = True 1443licenseIsOsiApproved MIT_0 = True 1444licenseIsOsiApproved MIT_advertising = False 1445licenseIsOsiApproved MIT_CMU = False 1446licenseIsOsiApproved MIT_enna = False 1447licenseIsOsiApproved MIT_feh = False 1448licenseIsOsiApproved MITNFA = False 1449licenseIsOsiApproved MIT = True 1450licenseIsOsiApproved Motosoto = True 1451licenseIsOsiApproved Mpich2 = False 1452licenseIsOsiApproved MPL_1_0 = True 1453licenseIsOsiApproved MPL_1_1 = True 1454licenseIsOsiApproved MPL_2_0_no_copyleft_exception = True 1455licenseIsOsiApproved MPL_2_0 = True 1456licenseIsOsiApproved MS_PL = True 1457licenseIsOsiApproved MS_RL = True 1458licenseIsOsiApproved MTLL = False 1459licenseIsOsiApproved Multics = True 1460licenseIsOsiApproved Mup = False 1461licenseIsOsiApproved NASA_1_3 = True 1462licenseIsOsiApproved Naumen = True 1463licenseIsOsiApproved NBPL_1_0 = False 1464licenseIsOsiApproved NCSA = True 1465licenseIsOsiApproved Net_SNMP = False 1466licenseIsOsiApproved NetCDF = False 1467licenseIsOsiApproved Newsletr = False 1468licenseIsOsiApproved NGPL = True 1469licenseIsOsiApproved NLOD_1_0 = False 1470licenseIsOsiApproved NLPL = False 1471licenseIsOsiApproved Nokia = True 1472licenseIsOsiApproved NOSL = False 1473licenseIsOsiApproved Noweb = False 1474licenseIsOsiApproved NPL_1_0 = False 1475licenseIsOsiApproved NPL_1_1 = False 1476licenseIsOsiApproved NPOSL_3_0 = True 1477licenseIsOsiApproved NRL = False 1478licenseIsOsiApproved NTP = True 1479licenseIsOsiApproved OCCT_PL = False 1480licenseIsOsiApproved OCLC_2_0 = True 1481licenseIsOsiApproved ODbL_1_0 = False 1482licenseIsOsiApproved ODC_By_1_0 = False 1483licenseIsOsiApproved OFL_1_0 = False 1484licenseIsOsiApproved OFL_1_1 = True 1485licenseIsOsiApproved OGL_UK_1_0 = False 1486licenseIsOsiApproved OGL_UK_2_0 = False 1487licenseIsOsiApproved OGL_UK_3_0 = False 1488licenseIsOsiApproved OGTSL = True 1489licenseIsOsiApproved OLDAP_1_1 = False 1490licenseIsOsiApproved OLDAP_1_2 = False 1491licenseIsOsiApproved OLDAP_1_3 = False 1492licenseIsOsiApproved OLDAP_1_4 = False 1493licenseIsOsiApproved OLDAP_2_0_1 = False 1494licenseIsOsiApproved OLDAP_2_0 = False 1495licenseIsOsiApproved OLDAP_2_1 = False 1496licenseIsOsiApproved OLDAP_2_2_1 = False 1497licenseIsOsiApproved OLDAP_2_2_2 = False 1498licenseIsOsiApproved OLDAP_2_2 = False 1499licenseIsOsiApproved OLDAP_2_3 = False 1500licenseIsOsiApproved OLDAP_2_4 = False 1501licenseIsOsiApproved OLDAP_2_5 = False 1502licenseIsOsiApproved OLDAP_2_6 = False 1503licenseIsOsiApproved OLDAP_2_7 = False 1504licenseIsOsiApproved OLDAP_2_8 = False 1505licenseIsOsiApproved OML = False 1506licenseIsOsiApproved OpenSSL = False 1507licenseIsOsiApproved OPL_1_0 = False 1508licenseIsOsiApproved OSET_PL_2_1 = True 1509licenseIsOsiApproved OSL_1_0 = True 1510licenseIsOsiApproved OSL_1_1 = False 1511licenseIsOsiApproved OSL_2_0 = True 1512licenseIsOsiApproved OSL_2_1 = True 1513licenseIsOsiApproved OSL_3_0 = True 1514licenseIsOsiApproved Parity_6_0_0 = False 1515licenseIsOsiApproved PDDL_1_0 = False 1516licenseIsOsiApproved PHP_3_01 = False 1517licenseIsOsiApproved PHP_3_0 = True 1518licenseIsOsiApproved Plexus = False 1519licenseIsOsiApproved PostgreSQL = True 1520licenseIsOsiApproved Psfrag = False 1521licenseIsOsiApproved Psutils = False 1522licenseIsOsiApproved Python_2_0 = True 1523licenseIsOsiApproved Qhull = False 1524licenseIsOsiApproved QPL_1_0 = True 1525licenseIsOsiApproved Rdisc = False 1526licenseIsOsiApproved RHeCos_1_1 = False 1527licenseIsOsiApproved RPL_1_1 = True 1528licenseIsOsiApproved RPL_1_5 = True 1529licenseIsOsiApproved RPSL_1_0 = True 1530licenseIsOsiApproved RSA_MD = False 1531licenseIsOsiApproved RSCPL = True 1532licenseIsOsiApproved Ruby = False 1533licenseIsOsiApproved SAX_PD = False 1534licenseIsOsiApproved Saxpath = False 1535licenseIsOsiApproved SCEA = False 1536licenseIsOsiApproved Sendmail_8_23 = False 1537licenseIsOsiApproved Sendmail = False 1538licenseIsOsiApproved SGI_B_1_0 = False 1539licenseIsOsiApproved SGI_B_1_1 = False 1540licenseIsOsiApproved SGI_B_2_0 = False 1541licenseIsOsiApproved SHL_0_51 = False 1542licenseIsOsiApproved SHL_0_5 = False 1543licenseIsOsiApproved SimPL_2_0 = True 1544licenseIsOsiApproved SISSL_1_2 = False 1545licenseIsOsiApproved SISSL = True 1546licenseIsOsiApproved Sleepycat = True 1547licenseIsOsiApproved SMLNJ = False 1548licenseIsOsiApproved SMPPL = False 1549licenseIsOsiApproved SNIA = False 1550licenseIsOsiApproved Spencer_86 = False 1551licenseIsOsiApproved Spencer_94 = False 1552licenseIsOsiApproved Spencer_99 = False 1553licenseIsOsiApproved SPL_1_0 = True 1554licenseIsOsiApproved SSPL_1_0 = False 1555licenseIsOsiApproved SugarCRM_1_1_3 = False 1556licenseIsOsiApproved SWL = False 1557licenseIsOsiApproved TAPR_OHL_1_0 = False 1558licenseIsOsiApproved TCL = False 1559licenseIsOsiApproved TCP_wrappers = False 1560licenseIsOsiApproved TMate = False 1561licenseIsOsiApproved TORQUE_1_1 = False 1562licenseIsOsiApproved TOSL = False 1563licenseIsOsiApproved TU_Berlin_1_0 = False 1564licenseIsOsiApproved TU_Berlin_2_0 = False 1565licenseIsOsiApproved Unicode_DFS_2015 = False 1566licenseIsOsiApproved Unicode_DFS_2016 = False 1567licenseIsOsiApproved Unicode_TOU = False 1568licenseIsOsiApproved Unlicense = False 1569licenseIsOsiApproved UPL_1_0 = True 1570licenseIsOsiApproved Vim = False 1571licenseIsOsiApproved VOSTROM = False 1572licenseIsOsiApproved VSL_1_0 = True 1573licenseIsOsiApproved W3C_19980720 = False 1574licenseIsOsiApproved W3C_20150513 = False 1575licenseIsOsiApproved W3C = True 1576licenseIsOsiApproved Watcom_1_0 = True 1577licenseIsOsiApproved Wsuipa = False 1578licenseIsOsiApproved WTFPL = False 1579licenseIsOsiApproved X11 = False 1580licenseIsOsiApproved Xerox = False 1581licenseIsOsiApproved XFree86_1_1 = False 1582licenseIsOsiApproved Xinetd = False 1583licenseIsOsiApproved Xnet = True 1584licenseIsOsiApproved Xpp = False 1585licenseIsOsiApproved XSkat = False 1586licenseIsOsiApproved YPL_1_0 = False 1587licenseIsOsiApproved YPL_1_1 = False 1588licenseIsOsiApproved Zed = False 1589licenseIsOsiApproved Zend_2_0 = False 1590licenseIsOsiApproved Zimbra_1_3 = False 1591licenseIsOsiApproved Zimbra_1_4 = False 1592licenseIsOsiApproved Zlib_acknowledgement = False 1593licenseIsOsiApproved Zlib = True 1594licenseIsOsiApproved ZPL_1_1 = False 1595licenseIsOsiApproved ZPL_2_0 = True 1596licenseIsOsiApproved ZPL_2_1 = False 1597 1598------------------------------------------------------------------------------- 1599-- Creation 1600------------------------------------------------------------------------------- 1601 1602licenseIdList :: LicenseListVersion -> [LicenseId] 1603licenseIdList LicenseListVersion_3_0 = 1604 [ AGPL_1_0 1605 ] 1606 ++ bulkOfLicenses 1607licenseIdList LicenseListVersion_3_2 = 1608 [ AGPL_1_0_only 1609 , AGPL_1_0_or_later 1610 , Linux_OpenIB 1611 , MIT_0 1612 , ODC_By_1_0 1613 , TU_Berlin_1_0 1614 , TU_Berlin_2_0 1615 ] 1616 ++ bulkOfLicenses 1617licenseIdList LicenseListVersion_3_6 = 1618 [ AGPL_1_0_only 1619 , AGPL_1_0_or_later 1620 , Blessing 1621 , BlueOak_1_0_0 1622 , BSD_3_Clause_Open_MPI 1623 , CC_PDDC 1624 , CERN_OHL_1_1 1625 , CERN_OHL_1_2 1626 , Copyleft_next_0_3_0 1627 , Copyleft_next_0_3_1 1628 , HPND_sell_variant 1629 , JPNIC 1630 , Libpng_2_0 1631 , Linux_OpenIB 1632 , MIT_0 1633 , ODC_By_1_0 1634 , OGL_UK_1_0 1635 , OGL_UK_2_0 1636 , OGL_UK_3_0 1637 , Parity_6_0_0 1638 , Sendmail_8_23 1639 , SHL_0_51 1640 , SHL_0_5 1641 , SSPL_1_0 1642 , TAPR_OHL_1_0 1643 , TU_Berlin_1_0 1644 , TU_Berlin_2_0 1645 ] 1646 ++ bulkOfLicenses 1647 1648-- | Create a 'LicenseId' from a 'String'. 1649mkLicenseId :: LicenseListVersion -> String -> Maybe LicenseId 1650mkLicenseId LicenseListVersion_3_0 s = Map.lookup s stringLookup_3_0 1651mkLicenseId LicenseListVersion_3_2 s = Map.lookup s stringLookup_3_2 1652mkLicenseId LicenseListVersion_3_6 s = Map.lookup s stringLookup_3_6 1653 1654stringLookup_3_0 :: Map String LicenseId 1655stringLookup_3_0 = Map.fromList $ map (\i -> (licenseId i, i)) $ 1656 licenseIdList LicenseListVersion_3_0 1657 1658stringLookup_3_2 :: Map String LicenseId 1659stringLookup_3_2 = Map.fromList $ map (\i -> (licenseId i, i)) $ 1660 licenseIdList LicenseListVersion_3_2 1661 1662stringLookup_3_6 :: Map String LicenseId 1663stringLookup_3_6 = Map.fromList $ map (\i -> (licenseId i, i)) $ 1664 licenseIdList LicenseListVersion_3_6 1665 1666-- | Licenses in all SPDX License lists 1667bulkOfLicenses :: [LicenseId] 1668bulkOfLicenses = 1669 [ NullBSD 1670 , AAL 1671 , Abstyles 1672 , Adobe_2006 1673 , Adobe_Glyph 1674 , ADSL 1675 , AFL_1_1 1676 , AFL_1_2 1677 , AFL_2_0 1678 , AFL_2_1 1679 , AFL_3_0 1680 , Afmparse 1681 , AGPL_3_0_only 1682 , AGPL_3_0_or_later 1683 , Aladdin 1684 , AMDPLPA 1685 , AML 1686 , AMPAS 1687 , ANTLR_PD 1688 , Apache_1_0 1689 , Apache_1_1 1690 , Apache_2_0 1691 , APAFML 1692 , APL_1_0 1693 , APSL_1_0 1694 , APSL_1_1 1695 , APSL_1_2 1696 , APSL_2_0 1697 , Artistic_1_0_cl8 1698 , Artistic_1_0_Perl 1699 , Artistic_1_0 1700 , Artistic_2_0 1701 , Bahyph 1702 , Barr 1703 , Beerware 1704 , BitTorrent_1_0 1705 , BitTorrent_1_1 1706 , Borceux 1707 , BSD_1_Clause 1708 , BSD_2_Clause_FreeBSD 1709 , BSD_2_Clause_NetBSD 1710 , BSD_2_Clause_Patent 1711 , BSD_2_Clause 1712 , BSD_3_Clause_Attribution 1713 , BSD_3_Clause_Clear 1714 , BSD_3_Clause_LBNL 1715 , BSD_3_Clause_No_Nuclear_License_2014 1716 , BSD_3_Clause_No_Nuclear_License 1717 , BSD_3_Clause_No_Nuclear_Warranty 1718 , BSD_3_Clause 1719 , BSD_4_Clause_UC 1720 , BSD_4_Clause 1721 , BSD_Protection 1722 , BSD_Source_Code 1723 , BSL_1_0 1724 , Bzip2_1_0_5 1725 , Bzip2_1_0_6 1726 , Caldera 1727 , CATOSL_1_1 1728 , CC_BY_1_0 1729 , CC_BY_2_0 1730 , CC_BY_2_5 1731 , CC_BY_3_0 1732 , CC_BY_4_0 1733 , CC_BY_NC_1_0 1734 , CC_BY_NC_2_0 1735 , CC_BY_NC_2_5 1736 , CC_BY_NC_3_0 1737 , CC_BY_NC_4_0 1738 , CC_BY_NC_ND_1_0 1739 , CC_BY_NC_ND_2_0 1740 , CC_BY_NC_ND_2_5 1741 , CC_BY_NC_ND_3_0 1742 , CC_BY_NC_ND_4_0 1743 , CC_BY_NC_SA_1_0 1744 , CC_BY_NC_SA_2_0 1745 , CC_BY_NC_SA_2_5 1746 , CC_BY_NC_SA_3_0 1747 , CC_BY_NC_SA_4_0 1748 , CC_BY_ND_1_0 1749 , CC_BY_ND_2_0 1750 , CC_BY_ND_2_5 1751 , CC_BY_ND_3_0 1752 , CC_BY_ND_4_0 1753 , CC_BY_SA_1_0 1754 , CC_BY_SA_2_0 1755 , CC_BY_SA_2_5 1756 , CC_BY_SA_3_0 1757 , CC_BY_SA_4_0 1758 , CC0_1_0 1759 , CDDL_1_0 1760 , CDDL_1_1 1761 , CDLA_Permissive_1_0 1762 , CDLA_Sharing_1_0 1763 , CECILL_1_0 1764 , CECILL_1_1 1765 , CECILL_2_0 1766 , CECILL_2_1 1767 , CECILL_B 1768 , CECILL_C 1769 , ClArtistic 1770 , CNRI_Jython 1771 , CNRI_Python_GPL_Compatible 1772 , CNRI_Python 1773 , Condor_1_1 1774 , CPAL_1_0 1775 , CPL_1_0 1776 , CPOL_1_02 1777 , Crossword 1778 , CrystalStacker 1779 , CUA_OPL_1_0 1780 , Cube 1781 , Curl 1782 , D_FSL_1_0 1783 , Diffmark 1784 , DOC 1785 , Dotseqn 1786 , DSDP 1787 , Dvipdfm 1788 , ECL_1_0 1789 , ECL_2_0 1790 , EFL_1_0 1791 , EFL_2_0 1792 , EGenix 1793 , Entessa 1794 , EPL_1_0 1795 , EPL_2_0 1796 , ErlPL_1_1 1797 , EUDatagrid 1798 , EUPL_1_0 1799 , EUPL_1_1 1800 , EUPL_1_2 1801 , Eurosym 1802 , Fair 1803 , Frameworx_1_0 1804 , FreeImage 1805 , FSFAP 1806 , FSFULLR 1807 , FSFUL 1808 , FTL 1809 , GFDL_1_1_only 1810 , GFDL_1_1_or_later 1811 , GFDL_1_2_only 1812 , GFDL_1_2_or_later 1813 , GFDL_1_3_only 1814 , GFDL_1_3_or_later 1815 , Giftware 1816 , GL2PS 1817 , Glide 1818 , Glulxe 1819 , Gnuplot 1820 , GPL_1_0_only 1821 , GPL_1_0_or_later 1822 , GPL_2_0_only 1823 , GPL_2_0_or_later 1824 , GPL_3_0_only 1825 , GPL_3_0_or_later 1826 , GSOAP_1_3b 1827 , HaskellReport 1828 , HPND 1829 , IBM_pibs 1830 , ICU 1831 , IJG 1832 , ImageMagick 1833 , IMatix 1834 , Imlib2 1835 , Info_ZIP 1836 , Intel_ACPI 1837 , Intel 1838 , Interbase_1_0 1839 , IPA 1840 , IPL_1_0 1841 , ISC 1842 , JasPer_2_0 1843 , JSON 1844 , LAL_1_2 1845 , LAL_1_3 1846 , Latex2e 1847 , Leptonica 1848 , LGPL_2_0_only 1849 , LGPL_2_0_or_later 1850 , LGPL_2_1_only 1851 , LGPL_2_1_or_later 1852 , LGPL_3_0_only 1853 , LGPL_3_0_or_later 1854 , LGPLLR 1855 , Libpng 1856 , Libtiff 1857 , LiLiQ_P_1_1 1858 , LiLiQ_R_1_1 1859 , LiLiQ_Rplus_1_1 1860 , LPL_1_02 1861 , LPL_1_0 1862 , LPPL_1_0 1863 , LPPL_1_1 1864 , LPPL_1_2 1865 , LPPL_1_3a 1866 , LPPL_1_3c 1867 , MakeIndex 1868 , MirOS 1869 , MIT_advertising 1870 , MIT_CMU 1871 , MIT_enna 1872 , MIT_feh 1873 , MITNFA 1874 , MIT 1875 , Motosoto 1876 , Mpich2 1877 , MPL_1_0 1878 , MPL_1_1 1879 , MPL_2_0_no_copyleft_exception 1880 , MPL_2_0 1881 , MS_PL 1882 , MS_RL 1883 , MTLL 1884 , Multics 1885 , Mup 1886 , NASA_1_3 1887 , Naumen 1888 , NBPL_1_0 1889 , NCSA 1890 , Net_SNMP 1891 , NetCDF 1892 , Newsletr 1893 , NGPL 1894 , NLOD_1_0 1895 , NLPL 1896 , Nokia 1897 , NOSL 1898 , Noweb 1899 , NPL_1_0 1900 , NPL_1_1 1901 , NPOSL_3_0 1902 , NRL 1903 , NTP 1904 , OCCT_PL 1905 , OCLC_2_0 1906 , ODbL_1_0 1907 , OFL_1_0 1908 , OFL_1_1 1909 , OGTSL 1910 , OLDAP_1_1 1911 , OLDAP_1_2 1912 , OLDAP_1_3 1913 , OLDAP_1_4 1914 , OLDAP_2_0_1 1915 , OLDAP_2_0 1916 , OLDAP_2_1 1917 , OLDAP_2_2_1 1918 , OLDAP_2_2_2 1919 , OLDAP_2_2 1920 , OLDAP_2_3 1921 , OLDAP_2_4 1922 , OLDAP_2_5 1923 , OLDAP_2_6 1924 , OLDAP_2_7 1925 , OLDAP_2_8 1926 , OML 1927 , OpenSSL 1928 , OPL_1_0 1929 , OSET_PL_2_1 1930 , OSL_1_0 1931 , OSL_1_1 1932 , OSL_2_0 1933 , OSL_2_1 1934 , OSL_3_0 1935 , PDDL_1_0 1936 , PHP_3_01 1937 , PHP_3_0 1938 , Plexus 1939 , PostgreSQL 1940 , Psfrag 1941 , Psutils 1942 , Python_2_0 1943 , Qhull 1944 , QPL_1_0 1945 , Rdisc 1946 , RHeCos_1_1 1947 , RPL_1_1 1948 , RPL_1_5 1949 , RPSL_1_0 1950 , RSA_MD 1951 , RSCPL 1952 , Ruby 1953 , SAX_PD 1954 , Saxpath 1955 , SCEA 1956 , Sendmail 1957 , SGI_B_1_0 1958 , SGI_B_1_1 1959 , SGI_B_2_0 1960 , SimPL_2_0 1961 , SISSL_1_2 1962 , SISSL 1963 , Sleepycat 1964 , SMLNJ 1965 , SMPPL 1966 , SNIA 1967 , Spencer_86 1968 , Spencer_94 1969 , Spencer_99 1970 , SPL_1_0 1971 , SugarCRM_1_1_3 1972 , SWL 1973 , TCL 1974 , TCP_wrappers 1975 , TMate 1976 , TORQUE_1_1 1977 , TOSL 1978 , Unicode_DFS_2015 1979 , Unicode_DFS_2016 1980 , Unicode_TOU 1981 , Unlicense 1982 , UPL_1_0 1983 , Vim 1984 , VOSTROM 1985 , VSL_1_0 1986 , W3C_19980720 1987 , W3C_20150513 1988 , W3C 1989 , Watcom_1_0 1990 , Wsuipa 1991 , WTFPL 1992 , X11 1993 , Xerox 1994 , XFree86_1_1 1995 , Xinetd 1996 , Xnet 1997 , Xpp 1998 , XSkat 1999 , YPL_1_0 2000 , YPL_1_1 2001 , Zed 2002 , Zend_2_0 2003 , Zimbra_1_3 2004 , Zimbra_1_4 2005 , Zlib_acknowledgement 2006 , Zlib 2007 , ZPL_1_1 2008 , ZPL_2_0 2009 , ZPL_2_1 2010 ] 2011