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