-- This file is generated. See Makefile's spdx rule
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric      #-}
module Distribution.SPDX.LicenseId (
    LicenseId (..),
    licenseId,
    licenseName,
    licenseIsOsiApproved,
    licenseIsFsfLibre,
    mkLicenseId,
    licenseIdList,
    -- * Helpers
    licenseIdMigrationMessage,
    ) where

import Distribution.Compat.Prelude
import Prelude ()

import Distribution.Compat.Lens (set)
import Distribution.Pretty
import Distribution.Parsec
import Distribution.Utils.Generic (isAsciiAlphaNum)
import Distribution.Utils.Structured (Structured (..), nominalStructure, typeVersion)
import Distribution.SPDX.LicenseListVersion

import qualified Data.Binary.Get as Binary
import qualified Data.Binary.Put as Binary
import qualified Data.Map.Strict as Map
import qualified Distribution.Compat.CharParsing as P
import qualified Text.PrettyPrint as Disp

-------------------------------------------------------------------------------
-- LicenseId
-------------------------------------------------------------------------------

-- | SPDX License identifier
data LicenseId
    = NullBSD -- ^ @0BSD@, BSD Zero Clause License
    | AAL -- ^ @AAL@, Attribution Assurance License
    | Abstyles -- ^ @Abstyles@, Abstyles License
    | Adobe_2006 -- ^ @Adobe-2006@, Adobe Systems Incorporated Source Code License Agreement
    | Adobe_Glyph -- ^ @Adobe-Glyph@, Adobe Glyph List License
    | ADSL -- ^ @ADSL@, Amazon Digital Services License
    | AFL_1_1 -- ^ @AFL-1.1@, Academic Free License v1.1
    | AFL_1_2 -- ^ @AFL-1.2@, Academic Free License v1.2
    | AFL_2_0 -- ^ @AFL-2.0@, Academic Free License v2.0
    | AFL_2_1 -- ^ @AFL-2.1@, Academic Free License v2.1
    | AFL_3_0 -- ^ @AFL-3.0@, Academic Free License v3.0
    | Afmparse -- ^ @Afmparse@, Afmparse License
    | AGPL_1_0 -- ^ @AGPL-1.0@, Affero General Public License v1.0, SPDX License List 3.0
    | 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
    | 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
    | AGPL_3_0_only -- ^ @AGPL-3.0-only@, GNU Affero General Public License v3.0 only
    | AGPL_3_0_or_later -- ^ @AGPL-3.0-or-later@, GNU Affero General Public License v3.0 or later
    | Aladdin -- ^ @Aladdin@, Aladdin Free Public License
    | AMDPLPA -- ^ @AMDPLPA@, AMD's plpa_map.c License
    | AML -- ^ @AML@, Apple MIT License
    | AMPAS -- ^ @AMPAS@, Academy of Motion Picture Arts and Sciences BSD
    | ANTLR_PD -- ^ @ANTLR-PD@, ANTLR Software Rights Notice
    | Apache_1_0 -- ^ @Apache-1.0@, Apache License 1.0
    | Apache_1_1 -- ^ @Apache-1.1@, Apache License 1.1
    | Apache_2_0 -- ^ @Apache-2.0@, Apache License 2.0
    | APAFML -- ^ @APAFML@, Adobe Postscript AFM License
    | APL_1_0 -- ^ @APL-1.0@, Adaptive Public License 1.0
    | APSL_1_0 -- ^ @APSL-1.0@, Apple Public Source License 1.0
    | APSL_1_1 -- ^ @APSL-1.1@, Apple Public Source License 1.1
    | APSL_1_2 -- ^ @APSL-1.2@, Apple Public Source License 1.2
    | APSL_2_0 -- ^ @APSL-2.0@, Apple Public Source License 2.0
    | Artistic_1_0_cl8 -- ^ @Artistic-1.0-cl8@, Artistic License 1.0 w/clause 8
    | Artistic_1_0_Perl -- ^ @Artistic-1.0-Perl@, Artistic License 1.0 (Perl)
    | Artistic_1_0 -- ^ @Artistic-1.0@, Artistic License 1.0
    | Artistic_2_0 -- ^ @Artistic-2.0@, Artistic License 2.0
    | Bahyph -- ^ @Bahyph@, Bahyph License
    | Barr -- ^ @Barr@, Barr License
    | Beerware -- ^ @Beerware@, Beerware License
    | BitTorrent_1_0 -- ^ @BitTorrent-1.0@, BitTorrent Open Source License v1.0
    | BitTorrent_1_1 -- ^ @BitTorrent-1.1@, BitTorrent Open Source License v1.1
    | Blessing -- ^ @blessing@, SQLite Blessing, SPDX License List 3.6, SPDX License List 3.9, SPDX License List 3.10
    | 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
    | Borceux -- ^ @Borceux@, Borceux license
    | BSD_1_Clause -- ^ @BSD-1-Clause@, BSD 1-Clause License
    | 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
    | 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
    | BSD_2_Clause_Patent -- ^ @BSD-2-Clause-Patent@, BSD-2-Clause Plus Patent License
    | BSD_2_Clause_Views -- ^ @BSD-2-Clause-Views@, BSD 2-Clause with views sentence, SPDX License List 3.10
    | BSD_2_Clause -- ^ @BSD-2-Clause@, BSD 2-Clause "Simplified" License
    | BSD_3_Clause_Attribution -- ^ @BSD-3-Clause-Attribution@, BSD with attribution
    | BSD_3_Clause_Clear -- ^ @BSD-3-Clause-Clear@, BSD 3-Clause Clear License
    | BSD_3_Clause_LBNL -- ^ @BSD-3-Clause-LBNL@, Lawrence Berkeley National Labs BSD variant license
    | BSD_3_Clause_No_Nuclear_License_2014 -- ^ @BSD-3-Clause-No-Nuclear-License-2014@, BSD 3-Clause No Nuclear License 2014
    | BSD_3_Clause_No_Nuclear_License -- ^ @BSD-3-Clause-No-Nuclear-License@, BSD 3-Clause No Nuclear License
    | BSD_3_Clause_No_Nuclear_Warranty -- ^ @BSD-3-Clause-No-Nuclear-Warranty@, BSD 3-Clause No Nuclear Warranty
    | 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
    | BSD_3_Clause -- ^ @BSD-3-Clause@, BSD 3-Clause "New" or "Revised" License
    | BSD_4_Clause_UC -- ^ @BSD-4-Clause-UC@, BSD-4-Clause (University of California-Specific)
    | BSD_4_Clause -- ^ @BSD-4-Clause@, BSD 4-Clause "Original" or "Old" License
    | BSD_Protection -- ^ @BSD-Protection@, BSD Protection License
    | BSD_Source_Code -- ^ @BSD-Source-Code@, BSD Source Code Attribution
    | BSL_1_0 -- ^ @BSL-1.0@, Boost Software License 1.0
    | Bzip2_1_0_5 -- ^ @bzip2-1.0.5@, bzip2 and libbzip2 License v1.0.5
    | Bzip2_1_0_6 -- ^ @bzip2-1.0.6@, bzip2 and libbzip2 License v1.0.6
    | 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
    | CAL_1_0 -- ^ @CAL-1.0@, Cryptographic Autonomy License 1.0, SPDX License List 3.9, SPDX License List 3.10
    | Caldera -- ^ @Caldera@, Caldera License
    | CATOSL_1_1 -- ^ @CATOSL-1.1@, Computer Associates Trusted Open Source License 1.1
    | CC_BY_1_0 -- ^ @CC-BY-1.0@, Creative Commons Attribution 1.0 Generic
    | CC_BY_2_0 -- ^ @CC-BY-2.0@, Creative Commons Attribution 2.0 Generic
    | CC_BY_2_5 -- ^ @CC-BY-2.5@, Creative Commons Attribution 2.5 Generic
    | CC_BY_3_0_AT -- ^ @CC-BY-3.0-AT@, Creative Commons Attribution 3.0 Austria, SPDX License List 3.10
    | CC_BY_3_0 -- ^ @CC-BY-3.0@, Creative Commons Attribution 3.0 Unported
    | CC_BY_4_0 -- ^ @CC-BY-4.0@, Creative Commons Attribution 4.0 International
    | CC_BY_NC_1_0 -- ^ @CC-BY-NC-1.0@, Creative Commons Attribution Non Commercial 1.0 Generic
    | CC_BY_NC_2_0 -- ^ @CC-BY-NC-2.0@, Creative Commons Attribution Non Commercial 2.0 Generic
    | CC_BY_NC_2_5 -- ^ @CC-BY-NC-2.5@, Creative Commons Attribution Non Commercial 2.5 Generic
    | CC_BY_NC_3_0 -- ^ @CC-BY-NC-3.0@, Creative Commons Attribution Non Commercial 3.0 Unported
    | CC_BY_NC_4_0 -- ^ @CC-BY-NC-4.0@, Creative Commons Attribution Non Commercial 4.0 International
    | CC_BY_NC_ND_1_0 -- ^ @CC-BY-NC-ND-1.0@, Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic
    | CC_BY_NC_ND_2_0 -- ^ @CC-BY-NC-ND-2.0@, Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic
    | CC_BY_NC_ND_2_5 -- ^ @CC-BY-NC-ND-2.5@, Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic
    | 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
    | CC_BY_NC_ND_3_0 -- ^ @CC-BY-NC-ND-3.0@, Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported
    | CC_BY_NC_ND_4_0 -- ^ @CC-BY-NC-ND-4.0@, Creative Commons Attribution Non Commercial No Derivatives 4.0 International
    | CC_BY_NC_SA_1_0 -- ^ @CC-BY-NC-SA-1.0@, Creative Commons Attribution Non Commercial Share Alike 1.0 Generic
    | CC_BY_NC_SA_2_0 -- ^ @CC-BY-NC-SA-2.0@, Creative Commons Attribution Non Commercial Share Alike 2.0 Generic
    | CC_BY_NC_SA_2_5 -- ^ @CC-BY-NC-SA-2.5@, Creative Commons Attribution Non Commercial Share Alike 2.5 Generic
    | CC_BY_NC_SA_3_0 -- ^ @CC-BY-NC-SA-3.0@, Creative Commons Attribution Non Commercial Share Alike 3.0 Unported
    | CC_BY_NC_SA_4_0 -- ^ @CC-BY-NC-SA-4.0@, Creative Commons Attribution Non Commercial Share Alike 4.0 International
    | CC_BY_ND_1_0 -- ^ @CC-BY-ND-1.0@, Creative Commons Attribution No Derivatives 1.0 Generic
    | CC_BY_ND_2_0 -- ^ @CC-BY-ND-2.0@, Creative Commons Attribution No Derivatives 2.0 Generic
    | CC_BY_ND_2_5 -- ^ @CC-BY-ND-2.5@, Creative Commons Attribution No Derivatives 2.5 Generic
    | CC_BY_ND_3_0 -- ^ @CC-BY-ND-3.0@, Creative Commons Attribution No Derivatives 3.0 Unported
    | CC_BY_ND_4_0 -- ^ @CC-BY-ND-4.0@, Creative Commons Attribution No Derivatives 4.0 International
    | CC_BY_SA_1_0 -- ^ @CC-BY-SA-1.0@, Creative Commons Attribution Share Alike 1.0 Generic
    | CC_BY_SA_2_0 -- ^ @CC-BY-SA-2.0@, Creative Commons Attribution Share Alike 2.0 Generic
    | CC_BY_SA_2_5 -- ^ @CC-BY-SA-2.5@, Creative Commons Attribution Share Alike 2.5 Generic
    | 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
    | CC_BY_SA_3_0 -- ^ @CC-BY-SA-3.0@, Creative Commons Attribution Share Alike 3.0 Unported
    | CC_BY_SA_4_0 -- ^ @CC-BY-SA-4.0@, Creative Commons Attribution Share Alike 4.0 International
    | 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
    | CC0_1_0 -- ^ @CC0-1.0@, Creative Commons Zero v1.0 Universal
    | CDDL_1_0 -- ^ @CDDL-1.0@, Common Development and Distribution License 1.0
    | CDDL_1_1 -- ^ @CDDL-1.1@, Common Development and Distribution License 1.1
    | CDLA_Permissive_1_0 -- ^ @CDLA-Permissive-1.0@, Community Data License Agreement Permissive 1.0
    | CDLA_Sharing_1_0 -- ^ @CDLA-Sharing-1.0@, Community Data License Agreement Sharing 1.0
    | CECILL_1_0 -- ^ @CECILL-1.0@, CeCILL Free Software License Agreement v1.0
    | CECILL_1_1 -- ^ @CECILL-1.1@, CeCILL Free Software License Agreement v1.1
    | CECILL_2_0 -- ^ @CECILL-2.0@, CeCILL Free Software License Agreement v2.0
    | CECILL_2_1 -- ^ @CECILL-2.1@, CeCILL Free Software License Agreement v2.1
    | CECILL_B -- ^ @CECILL-B@, CeCILL-B Free Software License Agreement
    | CECILL_C -- ^ @CECILL-C@, CeCILL-C Free Software License Agreement
    | 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
    | 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
    | 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
    | 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
    | 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
    | ClArtistic -- ^ @ClArtistic@, Clarified Artistic License
    | CNRI_Jython -- ^ @CNRI-Jython@, CNRI Jython License
    | CNRI_Python_GPL_Compatible -- ^ @CNRI-Python-GPL-Compatible@, CNRI Python Open Source GPL Compatible License Agreement
    | CNRI_Python -- ^ @CNRI-Python@, CNRI Python License
    | Condor_1_1 -- ^ @Condor-1.1@, Condor Public License v1.1
    | 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
    | 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
    | CPAL_1_0 -- ^ @CPAL-1.0@, Common Public Attribution License 1.0
    | CPL_1_0 -- ^ @CPL-1.0@, Common Public License 1.0
    | CPOL_1_02 -- ^ @CPOL-1.02@, Code Project Open License 1.02
    | Crossword -- ^ @Crossword@, Crossword License
    | CrystalStacker -- ^ @CrystalStacker@, CrystalStacker License
    | CUA_OPL_1_0 -- ^ @CUA-OPL-1.0@, CUA Office Public License v1.0
    | Cube -- ^ @Cube@, Cube License
    | Curl -- ^ @curl@, curl License
    | D_FSL_1_0 -- ^ @D-FSL-1.0@, Deutsche Freie Software Lizenz
    | Diffmark -- ^ @diffmark@, diffmark license
    | DOC -- ^ @DOC@, DOC License
    | Dotseqn -- ^ @Dotseqn@, Dotseqn License
    | DSDP -- ^ @DSDP@, DSDP License
    | Dvipdfm -- ^ @dvipdfm@, dvipdfm License
    | ECL_1_0 -- ^ @ECL-1.0@, Educational Community License v1.0
    | ECL_2_0 -- ^ @ECL-2.0@, Educational Community License v2.0
    | EFL_1_0 -- ^ @EFL-1.0@, Eiffel Forum License v1.0
    | EFL_2_0 -- ^ @EFL-2.0@, Eiffel Forum License v2.0
    | EGenix -- ^ @eGenix@, eGenix.com Public License 1.1.0
    | Entessa -- ^ @Entessa@, Entessa Public License v1.0
    | EPICS -- ^ @EPICS@, EPICS Open License, SPDX License List 3.10
    | EPL_1_0 -- ^ @EPL-1.0@, Eclipse Public License 1.0
    | EPL_2_0 -- ^ @EPL-2.0@, Eclipse Public License 2.0
    | ErlPL_1_1 -- ^ @ErlPL-1.1@, Erlang Public License v1.1
    | Etalab_2_0 -- ^ @etalab-2.0@, Etalab Open License 2.0, SPDX License List 3.9, SPDX License List 3.10
    | EUDatagrid -- ^ @EUDatagrid@, EU DataGrid Software License
    | EUPL_1_0 -- ^ @EUPL-1.0@, European Union Public License 1.0
    | EUPL_1_1 -- ^ @EUPL-1.1@, European Union Public License 1.1
    | EUPL_1_2 -- ^ @EUPL-1.2@, European Union Public License 1.2
    | Eurosym -- ^ @Eurosym@, Eurosym License
    | Fair -- ^ @Fair@, Fair License
    | Frameworx_1_0 -- ^ @Frameworx-1.0@, Frameworx Open License 1.0
    | FreeImage -- ^ @FreeImage@, FreeImage Public License v1.0
    | FSFAP -- ^ @FSFAP@, FSF All Permissive License
    | FSFULLR -- ^ @FSFULLR@, FSF Unlimited License (with License Retention)
    | FSFUL -- ^ @FSFUL@, FSF Unlimited License
    | FTL -- ^ @FTL@, Freetype Project License
    | GFDL_1_1_invariants_only -- ^ @GFDL-1.1-invariants-only@, GNU Free Documentation License v1.1 only - invariants, SPDX License List 3.10
    | 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
    | 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
    | 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
    | GFDL_1_1_only -- ^ @GFDL-1.1-only@, GNU Free Documentation License v1.1 only
    | GFDL_1_1_or_later -- ^ @GFDL-1.1-or-later@, GNU Free Documentation License v1.1 or later
    | GFDL_1_2_invariants_only -- ^ @GFDL-1.2-invariants-only@, GNU Free Documentation License v1.2 only - invariants, SPDX License List 3.10
    | 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
    | 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
    | 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
    | GFDL_1_2_only -- ^ @GFDL-1.2-only@, GNU Free Documentation License v1.2 only
    | GFDL_1_2_or_later -- ^ @GFDL-1.2-or-later@, GNU Free Documentation License v1.2 or later
    | GFDL_1_3_invariants_only -- ^ @GFDL-1.3-invariants-only@, GNU Free Documentation License v1.3 only - invariants, SPDX License List 3.10
    | 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
    | 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
    | 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
    | GFDL_1_3_only -- ^ @GFDL-1.3-only@, GNU Free Documentation License v1.3 only
    | GFDL_1_3_or_later -- ^ @GFDL-1.3-or-later@, GNU Free Documentation License v1.3 or later
    | Giftware -- ^ @Giftware@, Giftware License
    | GL2PS -- ^ @GL2PS@, GL2PS License
    | Glide -- ^ @Glide@, 3dfx Glide License
    | Glulxe -- ^ @Glulxe@, Glulxe License
    | GLWTPL -- ^ @GLWTPL@, Good Luck With That Public License, SPDX License List 3.10
    | Gnuplot -- ^ @gnuplot@, gnuplot License
    | GPL_1_0_only -- ^ @GPL-1.0-only@, GNU General Public License v1.0 only
    | GPL_1_0_or_later -- ^ @GPL-1.0-or-later@, GNU General Public License v1.0 or later
    | GPL_2_0_only -- ^ @GPL-2.0-only@, GNU General Public License v2.0 only
    | GPL_2_0_or_later -- ^ @GPL-2.0-or-later@, GNU General Public License v2.0 or later
    | GPL_3_0_only -- ^ @GPL-3.0-only@, GNU General Public License v3.0 only
    | GPL_3_0_or_later -- ^ @GPL-3.0-or-later@, GNU General Public License v3.0 or later
    | GSOAP_1_3b -- ^ @gSOAP-1.3b@, gSOAP Public License v1.3b
    | HaskellReport -- ^ @HaskellReport@, Haskell Language Report License
    | Hippocratic_2_1 -- ^ @Hippocratic-2.1@, Hippocratic License 2.1, SPDX License List 3.9, SPDX License List 3.10
    | 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
    | HPND -- ^ @HPND@, Historical Permission Notice and Disclaimer
    | IBM_pibs -- ^ @IBM-pibs@, IBM PowerPC Initialization and Boot Software
    | ICU -- ^ @ICU@, ICU License
    | IJG -- ^ @IJG@, Independent JPEG Group License
    | ImageMagick -- ^ @ImageMagick@, ImageMagick License
    | IMatix -- ^ @iMatix@, iMatix Standard Function Library Agreement
    | Imlib2 -- ^ @Imlib2@, Imlib2 License
    | Info_ZIP -- ^ @Info-ZIP@, Info-ZIP License
    | Intel_ACPI -- ^ @Intel-ACPI@, Intel ACPI Software License Agreement
    | Intel -- ^ @Intel@, Intel Open Source License
    | Interbase_1_0 -- ^ @Interbase-1.0@, Interbase Public License v1.0
    | IPA -- ^ @IPA@, IPA Font License
    | IPL_1_0 -- ^ @IPL-1.0@, IBM Public License v1.0
    | ISC -- ^ @ISC@, ISC License
    | JasPer_2_0 -- ^ @JasPer-2.0@, JasPer License
    | JPNIC -- ^ @JPNIC@, Japan Network Information Center License, SPDX License List 3.6, SPDX License List 3.9, SPDX License List 3.10
    | JSON -- ^ @JSON@, JSON License
    | LAL_1_2 -- ^ @LAL-1.2@, Licence Art Libre 1.2
    | LAL_1_3 -- ^ @LAL-1.3@, Licence Art Libre 1.3
    | Latex2e -- ^ @Latex2e@, Latex2e License
    | Leptonica -- ^ @Leptonica@, Leptonica License
    | LGPL_2_0_only -- ^ @LGPL-2.0-only@, GNU Library General Public License v2 only
    | LGPL_2_0_or_later -- ^ @LGPL-2.0-or-later@, GNU Library General Public License v2 or later
    | LGPL_2_1_only -- ^ @LGPL-2.1-only@, GNU Lesser General Public License v2.1 only
    | LGPL_2_1_or_later -- ^ @LGPL-2.1-or-later@, GNU Lesser General Public License v2.1 or later
    | LGPL_3_0_only -- ^ @LGPL-3.0-only@, GNU Lesser General Public License v3.0 only
    | LGPL_3_0_or_later -- ^ @LGPL-3.0-or-later@, GNU Lesser General Public License v3.0 or later
    | LGPLLR -- ^ @LGPLLR@, Lesser General Public License For Linguistic Resources
    | 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
    | Libpng -- ^ @Libpng@, libpng License
    | Libselinux_1_0 -- ^ @libselinux-1.0@, libselinux public domain notice, SPDX License List 3.9, SPDX License List 3.10
    | Libtiff -- ^ @libtiff@, libtiff License
    | LiLiQ_P_1_1 -- ^ @LiLiQ-P-1.1@, Licence Libre du Québec – Permissive version 1.1
    | LiLiQ_R_1_1 -- ^ @LiLiQ-R-1.1@, Licence Libre du Québec – Réciprocité version 1.1
    | LiLiQ_Rplus_1_1 -- ^ @LiLiQ-Rplus-1.1@, Licence Libre du Québec – Réciprocité forte version 1.1
    | 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
    | LPL_1_02 -- ^ @LPL-1.02@, Lucent Public License v1.02
    | LPL_1_0 -- ^ @LPL-1.0@, Lucent Public License Version 1.0
    | LPPL_1_0 -- ^ @LPPL-1.0@, LaTeX Project Public License v1.0
    | LPPL_1_1 -- ^ @LPPL-1.1@, LaTeX Project Public License v1.1
    | LPPL_1_2 -- ^ @LPPL-1.2@, LaTeX Project Public License v1.2
    | LPPL_1_3a -- ^ @LPPL-1.3a@, LaTeX Project Public License v1.3a
    | LPPL_1_3c -- ^ @LPPL-1.3c@, LaTeX Project Public License v1.3c
    | MakeIndex -- ^ @MakeIndex@, MakeIndex License
    | MirOS -- ^ @MirOS@, The MirOS Licence
    | 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
    | MIT_advertising -- ^ @MIT-advertising@, Enlightenment License (e16)
    | MIT_CMU -- ^ @MIT-CMU@, CMU License
    | MIT_enna -- ^ @MIT-enna@, enna License
    | MIT_feh -- ^ @MIT-feh@, feh License
    | MITNFA -- ^ @MITNFA@, MIT +no-false-attribs license
    | MIT -- ^ @MIT@, MIT License
    | Motosoto -- ^ @Motosoto@, Motosoto License
    | Mpich2 -- ^ @mpich2@, mpich2 License
    | MPL_1_0 -- ^ @MPL-1.0@, Mozilla Public License 1.0
    | MPL_1_1 -- ^ @MPL-1.1@, Mozilla Public License 1.1
    | MPL_2_0_no_copyleft_exception -- ^ @MPL-2.0-no-copyleft-exception@, Mozilla Public License 2.0 (no copyleft exception)
    | MPL_2_0 -- ^ @MPL-2.0@, Mozilla Public License 2.0
    | MS_PL -- ^ @MS-PL@, Microsoft Public License
    | MS_RL -- ^ @MS-RL@, Microsoft Reciprocal License
    | MTLL -- ^ @MTLL@, Matrix Template Library License
    | MulanPSL_1_0 -- ^ @MulanPSL-1.0@, Mulan Permissive Software License, Version 1, SPDX License List 3.9, SPDX License List 3.10
    | MulanPSL_2_0 -- ^ @MulanPSL-2.0@, Mulan Permissive Software License, Version 2, SPDX License List 3.9, SPDX License List 3.10
    | Multics -- ^ @Multics@, Multics License
    | Mup -- ^ @Mup@, Mup License
    | NASA_1_3 -- ^ @NASA-1.3@, NASA Open Source Agreement 1.3
    | Naumen -- ^ @Naumen@, Naumen Public License
    | NBPL_1_0 -- ^ @NBPL-1.0@, Net Boolean Public License v1
    | NCGL_UK_2_0 -- ^ @NCGL-UK-2.0@, Non-Commercial Government Licence, SPDX License List 3.9, SPDX License List 3.10
    | NCSA -- ^ @NCSA@, University of Illinois/NCSA Open Source License
    | Net_SNMP -- ^ @Net-SNMP@, Net-SNMP License
    | NetCDF -- ^ @NetCDF@, NetCDF license
    | Newsletr -- ^ @Newsletr@, Newsletr License
    | NGPL -- ^ @NGPL@, Nethack General Public License
    | NIST_PD_fallback -- ^ @NIST-PD-fallback@, NIST Public Domain Notice with license fallback, SPDX License List 3.10
    | NIST_PD -- ^ @NIST-PD@, NIST Public Domain Notice, SPDX License List 3.10
    | NLOD_1_0 -- ^ @NLOD-1.0@, Norwegian Licence for Open Government Data
    | NLPL -- ^ @NLPL@, No Limit Public License
    | Nokia -- ^ @Nokia@, Nokia Open Source License
    | NOSL -- ^ @NOSL@, Netizen Open Source License
    | Noweb -- ^ @Noweb@, Noweb License
    | NPL_1_0 -- ^ @NPL-1.0@, Netscape Public License v1.0
    | NPL_1_1 -- ^ @NPL-1.1@, Netscape Public License v1.1
    | NPOSL_3_0 -- ^ @NPOSL-3.0@, Non-Profit Open Software License 3.0
    | NRL -- ^ @NRL@, NRL License
    | NTP_0 -- ^ @NTP-0@, NTP No Attribution, SPDX License List 3.9, SPDX License List 3.10
    | NTP -- ^ @NTP@, NTP License
    | 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
    | OCCT_PL -- ^ @OCCT-PL@, Open CASCADE Technology Public License
    | OCLC_2_0 -- ^ @OCLC-2.0@, OCLC Research Public License 2.0
    | ODbL_1_0 -- ^ @ODbL-1.0@, ODC Open Database License v1.0
    | 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
    | 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
    | 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
    | OFL_1_0 -- ^ @OFL-1.0@, SIL Open Font License 1.0
    | 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
    | 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
    | OFL_1_1 -- ^ @OFL-1.1@, SIL Open Font License 1.1
    | OGC_1_0 -- ^ @OGC-1.0@, OGC Software License, Version 1.0, SPDX License List 3.9, SPDX License List 3.10
    | OGL_Canada_2_0 -- ^ @OGL-Canada-2.0@, Open Government Licence - Canada, SPDX License List 3.9, SPDX License List 3.10
    | 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
    | 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
    | 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
    | OGTSL -- ^ @OGTSL@, Open Group Test Suite License
    | OLDAP_1_1 -- ^ @OLDAP-1.1@, Open LDAP Public License v1.1
    | OLDAP_1_2 -- ^ @OLDAP-1.2@, Open LDAP Public License v1.2
    | OLDAP_1_3 -- ^ @OLDAP-1.3@, Open LDAP Public License v1.3
    | OLDAP_1_4 -- ^ @OLDAP-1.4@, Open LDAP Public License v1.4
    | OLDAP_2_0_1 -- ^ @OLDAP-2.0.1@, Open LDAP Public License v2.0.1
    | OLDAP_2_0 -- ^ @OLDAP-2.0@, Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)
    | OLDAP_2_1 -- ^ @OLDAP-2.1@, Open LDAP Public License v2.1
    | OLDAP_2_2_1 -- ^ @OLDAP-2.2.1@, Open LDAP Public License v2.2.1
    | OLDAP_2_2_2 -- ^ @OLDAP-2.2.2@, Open LDAP Public License 2.2.2
    | OLDAP_2_2 -- ^ @OLDAP-2.2@, Open LDAP Public License v2.2
    | OLDAP_2_3 -- ^ @OLDAP-2.3@, Open LDAP Public License v2.3
    | OLDAP_2_4 -- ^ @OLDAP-2.4@, Open LDAP Public License v2.4
    | OLDAP_2_5 -- ^ @OLDAP-2.5@, Open LDAP Public License v2.5
    | OLDAP_2_6 -- ^ @OLDAP-2.6@, Open LDAP Public License v2.6
    | OLDAP_2_7 -- ^ @OLDAP-2.7@, Open LDAP Public License v2.7
    | OLDAP_2_8 -- ^ @OLDAP-2.8@, Open LDAP Public License v2.8
    | OML -- ^ @OML@, Open Market License
    | OpenSSL -- ^ @OpenSSL@, OpenSSL License
    | OPL_1_0 -- ^ @OPL-1.0@, Open Public License v1.0
    | OSET_PL_2_1 -- ^ @OSET-PL-2.1@, OSET Public License version 2.1
    | OSL_1_0 -- ^ @OSL-1.0@, Open Software License 1.0
    | OSL_1_1 -- ^ @OSL-1.1@, Open Software License 1.1
    | OSL_2_0 -- ^ @OSL-2.0@, Open Software License 2.0
    | OSL_2_1 -- ^ @OSL-2.1@, Open Software License 2.1
    | OSL_3_0 -- ^ @OSL-3.0@, Open Software License 3.0
    | 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
    | 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
    | PDDL_1_0 -- ^ @PDDL-1.0@, ODC Public Domain Dedication & License 1.0
    | PHP_3_01 -- ^ @PHP-3.01@, PHP License v3.01
    | PHP_3_0 -- ^ @PHP-3.0@, PHP License v3.0
    | Plexus -- ^ @Plexus@, Plexus Classworlds License
    | 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
    | 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
    | PostgreSQL -- ^ @PostgreSQL@, PostgreSQL License
    | PSF_2_0 -- ^ @PSF-2.0@, Python Software Foundation License 2.0, SPDX License List 3.9, SPDX License List 3.10
    | Psfrag -- ^ @psfrag@, psfrag License
    | Psutils -- ^ @psutils@, psutils License
    | Python_2_0 -- ^ @Python-2.0@, Python License 2.0
    | Qhull -- ^ @Qhull@, Qhull License
    | QPL_1_0 -- ^ @QPL-1.0@, Q Public License 1.0
    | Rdisc -- ^ @Rdisc@, Rdisc License
    | RHeCos_1_1 -- ^ @RHeCos-1.1@, Red Hat eCos Public License v1.1
    | RPL_1_1 -- ^ @RPL-1.1@, Reciprocal Public License 1.1
    | RPL_1_5 -- ^ @RPL-1.5@, Reciprocal Public License 1.5
    | RPSL_1_0 -- ^ @RPSL-1.0@, RealNetworks Public Source License v1.0
    | RSA_MD -- ^ @RSA-MD@, RSA Message-Digest License
    | RSCPL -- ^ @RSCPL@, Ricoh Source Code Public License
    | Ruby -- ^ @Ruby@, Ruby License
    | SAX_PD -- ^ @SAX-PD@, Sax Public Domain Notice
    | Saxpath -- ^ @Saxpath@, Saxpath License
    | SCEA -- ^ @SCEA@, SCEA Shared Source License
    | 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
    | Sendmail -- ^ @Sendmail@, Sendmail License
    | SGI_B_1_0 -- ^ @SGI-B-1.0@, SGI Free Software License B v1.0
    | SGI_B_1_1 -- ^ @SGI-B-1.1@, SGI Free Software License B v1.1
    | SGI_B_2_0 -- ^ @SGI-B-2.0@, SGI Free Software License B v2.0
    | 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
    | 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
    | SimPL_2_0 -- ^ @SimPL-2.0@, Simple Public License 2.0
    | SISSL_1_2 -- ^ @SISSL-1.2@, Sun Industry Standards Source License v1.2
    | SISSL -- ^ @SISSL@, Sun Industry Standards Source License v1.1
    | Sleepycat -- ^ @Sleepycat@, Sleepycat License
    | SMLNJ -- ^ @SMLNJ@, Standard ML of New Jersey License
    | SMPPL -- ^ @SMPPL@, Secure Messaging Protocol Public License
    | SNIA -- ^ @SNIA@, SNIA Public License 1.1
    | Spencer_86 -- ^ @Spencer-86@, Spencer License 86
    | Spencer_94 -- ^ @Spencer-94@, Spencer License 94
    | Spencer_99 -- ^ @Spencer-99@, Spencer License 99
    | SPL_1_0 -- ^ @SPL-1.0@, Sun Public License v1.0
    | SSH_OpenSSH -- ^ @SSH-OpenSSH@, SSH OpenSSH license, SPDX License List 3.9, SPDX License List 3.10
    | SSH_short -- ^ @SSH-short@, SSH short notice, SPDX License List 3.9, SPDX License List 3.10
    | 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
    | SugarCRM_1_1_3 -- ^ @SugarCRM-1.1.3@, SugarCRM Public License v1.1.3
    | SWL -- ^ @SWL@, Scheme Widget Library (SWL) Software License Agreement
    | 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
    | TCL -- ^ @TCL@, TCL/TK License
    | TCP_wrappers -- ^ @TCP-wrappers@, TCP Wrappers License
    | TMate -- ^ @TMate@, TMate Open Source License
    | TORQUE_1_1 -- ^ @TORQUE-1.1@, TORQUE v2.5+ Software License v1.1
    | TOSL -- ^ @TOSL@, Trusster Open Source License
    | 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
    | 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
    | UCL_1_0 -- ^ @UCL-1.0@, Upstream Compatibility License v1.0, SPDX License List 3.9, SPDX License List 3.10
    | Unicode_DFS_2015 -- ^ @Unicode-DFS-2015@, Unicode License Agreement - Data Files and Software (2015)
    | Unicode_DFS_2016 -- ^ @Unicode-DFS-2016@, Unicode License Agreement - Data Files and Software (2016)
    | Unicode_TOU -- ^ @Unicode-TOU@, Unicode Terms of Use
    | Unlicense -- ^ @Unlicense@, The Unlicense
    | UPL_1_0 -- ^ @UPL-1.0@, Universal Permissive License v1.0
    | Vim -- ^ @Vim@, Vim License
    | VOSTROM -- ^ @VOSTROM@, VOSTROM Public License for Open Source
    | VSL_1_0 -- ^ @VSL-1.0@, Vovida Software License v1.0
    | W3C_19980720 -- ^ @W3C-19980720@, W3C Software Notice and License (1998-07-20)
    | W3C_20150513 -- ^ @W3C-20150513@, W3C Software Notice and Document License (2015-05-13)
    | W3C -- ^ @W3C@, W3C Software Notice and License (2002-12-31)
    | Watcom_1_0 -- ^ @Watcom-1.0@, Sybase Open Watcom Public License 1.0
    | Wsuipa -- ^ @Wsuipa@, Wsuipa License
    | WTFPL -- ^ @WTFPL@, Do What The F*ck You Want To Public License
    | X11 -- ^ @X11@, X11 License
    | Xerox -- ^ @Xerox@, Xerox License
    | XFree86_1_1 -- ^ @XFree86-1.1@, XFree86 License 1.1
    | Xinetd -- ^ @xinetd@, xinetd License
    | Xnet -- ^ @Xnet@, X.Net License
    | Xpp -- ^ @xpp@, XPP License
    | XSkat -- ^ @XSkat@, XSkat License
    | YPL_1_0 -- ^ @YPL-1.0@, Yahoo! Public License v1.0
    | YPL_1_1 -- ^ @YPL-1.1@, Yahoo! Public License v1.1
    | Zed -- ^ @Zed@, Zed License
    | Zend_2_0 -- ^ @Zend-2.0@, Zend License v2.0
    | Zimbra_1_3 -- ^ @Zimbra-1.3@, Zimbra Public License v1.3
    | Zimbra_1_4 -- ^ @Zimbra-1.4@, Zimbra Public License v1.4
    | Zlib_acknowledgement -- ^ @zlib-acknowledgement@, zlib/libpng License with Acknowledgement
    | Zlib -- ^ @Zlib@, zlib License
    | ZPL_1_1 -- ^ @ZPL-1.1@, Zope Public License 1.1
    | ZPL_2_0 -- ^ @ZPL-2.0@, Zope Public License 2.0
    | ZPL_2_1 -- ^ @ZPL-2.1@, Zope Public License 2.1
  deriving (LicenseId -> LicenseId -> Bool
(LicenseId -> LicenseId -> Bool)
-> (LicenseId -> LicenseId -> Bool) -> Eq LicenseId
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: LicenseId -> LicenseId -> Bool
== :: LicenseId -> LicenseId -> Bool
$c/= :: LicenseId -> LicenseId -> Bool
/= :: LicenseId -> LicenseId -> Bool
Eq, Eq LicenseId
Eq LicenseId
-> (LicenseId -> LicenseId -> Ordering)
-> (LicenseId -> LicenseId -> Bool)
-> (LicenseId -> LicenseId -> Bool)
-> (LicenseId -> LicenseId -> Bool)
-> (LicenseId -> LicenseId -> Bool)
-> (LicenseId -> LicenseId -> LicenseId)
-> (LicenseId -> LicenseId -> LicenseId)
-> Ord LicenseId
LicenseId -> LicenseId -> Bool
LicenseId -> LicenseId -> Ordering
LicenseId -> LicenseId -> LicenseId
forall a.
Eq a
-> (a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
$ccompare :: LicenseId -> LicenseId -> Ordering
compare :: LicenseId -> LicenseId -> Ordering
$c< :: LicenseId -> LicenseId -> Bool
< :: LicenseId -> LicenseId -> Bool
$c<= :: LicenseId -> LicenseId -> Bool
<= :: LicenseId -> LicenseId -> Bool
$c> :: LicenseId -> LicenseId -> Bool
> :: LicenseId -> LicenseId -> Bool
$c>= :: LicenseId -> LicenseId -> Bool
>= :: LicenseId -> LicenseId -> Bool
$cmax :: LicenseId -> LicenseId -> LicenseId
max :: LicenseId -> LicenseId -> LicenseId
$cmin :: LicenseId -> LicenseId -> LicenseId
min :: LicenseId -> LicenseId -> LicenseId
Ord, Int -> LicenseId
LicenseId -> Int
LicenseId -> [LicenseId]
LicenseId -> LicenseId
LicenseId -> LicenseId -> [LicenseId]
LicenseId -> LicenseId -> LicenseId -> [LicenseId]
(LicenseId -> LicenseId)
-> (LicenseId -> LicenseId)
-> (Int -> LicenseId)
-> (LicenseId -> Int)
-> (LicenseId -> [LicenseId])
-> (LicenseId -> LicenseId -> [LicenseId])
-> (LicenseId -> LicenseId -> [LicenseId])
-> (LicenseId -> LicenseId -> LicenseId -> [LicenseId])
-> Enum LicenseId
forall a.
(a -> a)
-> (a -> a)
-> (Int -> a)
-> (a -> Int)
-> (a -> [a])
-> (a -> a -> [a])
-> (a -> a -> [a])
-> (a -> a -> a -> [a])
-> Enum a
$csucc :: LicenseId -> LicenseId
succ :: LicenseId -> LicenseId
$cpred :: LicenseId -> LicenseId
pred :: LicenseId -> LicenseId
$ctoEnum :: Int -> LicenseId
toEnum :: Int -> LicenseId
$cfromEnum :: LicenseId -> Int
fromEnum :: LicenseId -> Int
$cenumFrom :: LicenseId -> [LicenseId]
enumFrom :: LicenseId -> [LicenseId]
$cenumFromThen :: LicenseId -> LicenseId -> [LicenseId]
enumFromThen :: LicenseId -> LicenseId -> [LicenseId]
$cenumFromTo :: LicenseId -> LicenseId -> [LicenseId]
enumFromTo :: LicenseId -> LicenseId -> [LicenseId]
$cenumFromThenTo :: LicenseId -> LicenseId -> LicenseId -> [LicenseId]
enumFromThenTo :: LicenseId -> LicenseId -> LicenseId -> [LicenseId]
Enum, LicenseId
LicenseId -> LicenseId -> Bounded LicenseId
forall a. a -> a -> Bounded a
$cminBound :: LicenseId
minBound :: LicenseId
$cmaxBound :: LicenseId
maxBound :: LicenseId
Bounded, Int -> LicenseId -> ShowS
[LicenseId] -> ShowS
LicenseId -> String
(Int -> LicenseId -> ShowS)
-> (LicenseId -> String)
-> ([LicenseId] -> ShowS)
-> Show LicenseId
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> LicenseId -> ShowS
showsPrec :: Int -> LicenseId -> ShowS
$cshow :: LicenseId -> String
show :: LicenseId -> String
$cshowList :: [LicenseId] -> ShowS
showList :: [LicenseId] -> ShowS
Show, ReadPrec [LicenseId]
ReadPrec LicenseId
Int -> ReadS LicenseId
ReadS [LicenseId]
(Int -> ReadS LicenseId)
-> ReadS [LicenseId]
-> ReadPrec LicenseId
-> ReadPrec [LicenseId]
-> Read LicenseId
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
$creadsPrec :: Int -> ReadS LicenseId
readsPrec :: Int -> ReadS LicenseId
$creadList :: ReadS [LicenseId]
readList :: ReadS [LicenseId]
$creadPrec :: ReadPrec LicenseId
readPrec :: ReadPrec LicenseId
$creadListPrec :: ReadPrec [LicenseId]
readListPrec :: ReadPrec [LicenseId]
Read, Typeable, Typeable LicenseId
Typeable LicenseId
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> LicenseId -> c LicenseId)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c LicenseId)
-> (LicenseId -> Constr)
-> (LicenseId -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c LicenseId))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LicenseId))
-> ((forall b. Data b => b -> b) -> LicenseId -> LicenseId)
-> (forall r r'.
    (r -> r' -> r)
    -> r -> (forall d. Data d => d -> r') -> LicenseId -> r)
-> (forall r r'.
    (r' -> r -> r)
    -> r -> (forall d. Data d => d -> r') -> LicenseId -> r)
-> (forall u. (forall d. Data d => d -> u) -> LicenseId -> [u])
-> (forall u.
    Int -> (forall d. Data d => d -> u) -> LicenseId -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> LicenseId -> m LicenseId)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> LicenseId -> m LicenseId)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> LicenseId -> m LicenseId)
-> Data LicenseId
LicenseId -> Constr
LicenseId -> DataType
(forall b. Data b => b -> b) -> LicenseId -> LicenseId
forall a.
Typeable a
-> (forall (c :: * -> *).
    (forall d b. Data d => c (d -> b) -> d -> c b)
    -> (forall g. g -> c g) -> a -> c a)
-> (forall (c :: * -> *).
    (forall b r. Data b => c (b -> r) -> c r)
    -> (forall r. r -> c r) -> Constr -> c a)
-> (a -> Constr)
-> (a -> DataType)
-> (forall (t :: * -> *) (c :: * -> *).
    Typeable t =>
    (forall d. Data d => c (t d)) -> Maybe (c a))
-> (forall (t :: * -> * -> *) (c :: * -> *).
    Typeable t =>
    (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c a))
-> ((forall b. Data b => b -> b) -> a -> a)
-> (forall r r'.
    (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall r r'.
    (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> a -> r)
-> (forall u. (forall d. Data d => d -> u) -> a -> [u])
-> (forall u. Int -> (forall d. Data d => d -> u) -> a -> u)
-> (forall (m :: * -> *).
    Monad m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> (forall (m :: * -> *).
    MonadPlus m =>
    (forall d. Data d => d -> m d) -> a -> m a)
-> Data a
forall u. Int -> (forall d. Data d => d -> u) -> LicenseId -> u
forall u. (forall d. Data d => d -> u) -> LicenseId -> [u]
forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> LicenseId -> r
forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> LicenseId -> r
forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> LicenseId -> m LicenseId
forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> LicenseId -> m LicenseId
forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c LicenseId
forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> LicenseId -> c LicenseId
forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c LicenseId)
forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LicenseId)
$cgfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> LicenseId -> c LicenseId
gfoldl :: forall (c :: * -> *).
(forall d b. Data d => c (d -> b) -> d -> c b)
-> (forall g. g -> c g) -> LicenseId -> c LicenseId
$cgunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c LicenseId
gunfold :: forall (c :: * -> *).
(forall b r. Data b => c (b -> r) -> c r)
-> (forall r. r -> c r) -> Constr -> c LicenseId
$ctoConstr :: LicenseId -> Constr
toConstr :: LicenseId -> Constr
$cdataTypeOf :: LicenseId -> DataType
dataTypeOf :: LicenseId -> DataType
$cdataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c LicenseId)
dataCast1 :: forall (t :: * -> *) (c :: * -> *).
Typeable t =>
(forall d. Data d => c (t d)) -> Maybe (c LicenseId)
$cdataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LicenseId)
dataCast2 :: forall (t :: * -> * -> *) (c :: * -> *).
Typeable t =>
(forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LicenseId)
$cgmapT :: (forall b. Data b => b -> b) -> LicenseId -> LicenseId
gmapT :: (forall b. Data b => b -> b) -> LicenseId -> LicenseId
$cgmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> LicenseId -> r
gmapQl :: forall r r'.
(r -> r' -> r)
-> r -> (forall d. Data d => d -> r') -> LicenseId -> r
$cgmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> LicenseId -> r
gmapQr :: forall r r'.
(r' -> r -> r)
-> r -> (forall d. Data d => d -> r') -> LicenseId -> r
$cgmapQ :: forall u. (forall d. Data d => d -> u) -> LicenseId -> [u]
gmapQ :: forall u. (forall d. Data d => d -> u) -> LicenseId -> [u]
$cgmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> LicenseId -> u
gmapQi :: forall u. Int -> (forall d. Data d => d -> u) -> LicenseId -> u
$cgmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> LicenseId -> m LicenseId
gmapM :: forall (m :: * -> *).
Monad m =>
(forall d. Data d => d -> m d) -> LicenseId -> m LicenseId
$cgmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> LicenseId -> m LicenseId
gmapMp :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> LicenseId -> m LicenseId
$cgmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> LicenseId -> m LicenseId
gmapMo :: forall (m :: * -> *).
MonadPlus m =>
(forall d. Data d => d -> m d) -> LicenseId -> m LicenseId
Data, (forall x. LicenseId -> Rep LicenseId x)
-> (forall x. Rep LicenseId x -> LicenseId) -> Generic LicenseId
forall x. Rep LicenseId x -> LicenseId
forall x. LicenseId -> Rep LicenseId x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cfrom :: forall x. LicenseId -> Rep LicenseId x
from :: forall x. LicenseId -> Rep LicenseId x
$cto :: forall x. Rep LicenseId x -> LicenseId
to :: forall x. Rep LicenseId x -> LicenseId
Generic)

instance Binary LicenseId where
    -- Word16 is encoded in big endianess
    -- https://github.com/kolmodin/binary/blob/master/src/Data/Binary/Class.hs#L220-LL227
    put :: LicenseId -> Put
put = Word16 -> Put
Binary.putWord16be (Word16 -> Put) -> (LicenseId -> Word16) -> LicenseId -> Put
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Int -> Word16
forall a b. (Integral a, Num b) => a -> b
fromIntegral (Int -> Word16) -> (LicenseId -> Int) -> LicenseId -> Word16
forall b c a. (b -> c) -> (a -> b) -> a -> c
. LicenseId -> Int
forall a. Enum a => a -> Int
fromEnum
    get :: Get LicenseId
get = do
        Word16
i <- Get Word16
Binary.getWord16be
        if Word16
i Word16 -> Word16 -> Bool
forall a. Ord a => a -> a -> Bool
> Int -> Word16
forall a b. (Integral a, Num b) => a -> b
fromIntegral (LicenseId -> Int
forall a. Enum a => a -> Int
fromEnum (LicenseId
forall a. Bounded a => a
maxBound :: LicenseId))
        then String -> Get LicenseId
forall a. String -> Get a
forall (m :: * -> *) a. MonadFail m => String -> m a
fail String
"Too large LicenseId tag"
        else LicenseId -> Get LicenseId
forall a. a -> Get a
forall (m :: * -> *) a. Monad m => a -> m a
return (Int -> LicenseId
forall a. Enum a => Int -> a
toEnum (Word16 -> Int
forall a b. (Integral a, Num b) => a -> b
fromIntegral Word16
i))

-- note: remember to bump version each time the definition changes
instance Structured LicenseId where
    structure :: Proxy LicenseId -> Structure
structure Proxy LicenseId
p = ASetter Structure Structure TypeVersion TypeVersion
-> TypeVersion -> Structure -> Structure
forall s t a b. ASetter s t a b -> b -> s -> t
set ASetter Structure Structure TypeVersion TypeVersion
forall (f :: * -> *).
Functor f =>
(TypeVersion -> f TypeVersion) -> Structure -> f Structure
typeVersion TypeVersion
306 (Structure -> Structure) -> Structure -> Structure
forall a b. (a -> b) -> a -> b
$ Proxy LicenseId -> Structure
forall {k} (a :: k). Typeable a => Proxy a -> Structure
nominalStructure Proxy LicenseId
p

instance Pretty LicenseId where
    pretty :: LicenseId -> Doc
pretty = String -> Doc
Disp.text (String -> Doc) -> (LicenseId -> String) -> LicenseId -> Doc
forall b c a. (b -> c) -> (a -> b) -> a -> c
. LicenseId -> String
licenseId

-- |
-- >>> eitherParsec "BSD-3-Clause" :: Either String LicenseId
-- Right BSD_3_Clause
--
-- >>> eitherParsec "BSD3" :: Either String LicenseId
-- Left "...Unknown SPDX license identifier: 'BSD3' Do you mean BSD-3-Clause?"
--
instance Parsec LicenseId where
    parsec :: forall (m :: * -> *). CabalParsing m => m LicenseId
parsec = do
        String
n <- m Char -> m String
forall a. m a -> m [a]
forall (f :: * -> *) a. Alternative f => f a -> f [a]
some (m Char -> m String) -> m Char -> m String
forall a b. (a -> b) -> a -> b
$ (Char -> Bool) -> m Char
forall (m :: * -> *). CharParsing m => (Char -> Bool) -> m Char
P.satisfy ((Char -> Bool) -> m Char) -> (Char -> Bool) -> m Char
forall a b. (a -> b) -> a -> b
$ \Char
c -> Char -> Bool
isAsciiAlphaNum Char
c Bool -> Bool -> Bool
|| Char
c Char -> Char -> Bool
forall a. Eq a => a -> a -> Bool
== Char
'-' Bool -> Bool -> Bool
|| Char
c Char -> Char -> Bool
forall a. Eq a => a -> a -> Bool
== Char
'.'
        CabalSpecVersion
v <- m CabalSpecVersion
forall (m :: * -> *). CabalParsing m => m CabalSpecVersion
askCabalSpecVersion
        m LicenseId
-> (LicenseId -> m LicenseId) -> Maybe LicenseId -> m LicenseId
forall b a. b -> (a -> b) -> Maybe a -> b
maybe (String -> m LicenseId
forall a. String -> m a
forall (m :: * -> *) a. MonadFail m => String -> m a
fail (String -> m LicenseId) -> String -> m LicenseId
forall a b. (a -> b) -> a -> b
$ String
"Unknown SPDX license identifier: '" String -> ShowS
forall a. [a] -> [a] -> [a]
++  String
n String -> ShowS
forall a. [a] -> [a] -> [a]
++ String
"' " String -> ShowS
forall a. [a] -> [a] -> [a]
++ ShowS
licenseIdMigrationMessage String
n) LicenseId -> m LicenseId
forall a. a -> m a
forall (m :: * -> *) a. Monad m => a -> m a
return (Maybe LicenseId -> m LicenseId) -> Maybe LicenseId -> m LicenseId
forall a b. (a -> b) -> a -> b
$
            LicenseListVersion -> String -> Maybe LicenseId
mkLicenseId (CabalSpecVersion -> LicenseListVersion
cabalSpecVersionToSPDXListVersion CabalSpecVersion
v) String
n

instance NFData LicenseId where
    rnf :: LicenseId -> ()
rnf LicenseId
l = LicenseId
l LicenseId -> () -> ()
forall a b. a -> b -> b
`seq` ()

-- | Help message for migrating from non-SPDX license identifiers.
--
-- Old 'License' is almost SPDX, except for 'BSD2', 'BSD3'. This function
-- suggests SPDX variant:
--
-- >>> licenseIdMigrationMessage "BSD3"
-- "Do you mean BSD-3-Clause?"
--
-- Also 'OtherLicense', 'AllRightsReserved', and 'PublicDomain' aren't
-- valid SPDX identifiers
--
-- >>> traverse_ (print . licenseIdMigrationMessage) [ "OtherLicense", "AllRightsReserved", "PublicDomain" ]
-- "SPDX license list contains plenty of licenses. See https://spdx.org/licenses/. Also they can be combined into complex expressions with AND and OR."
-- "You can use NONE as a value of license field."
-- "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."
--
-- SPDX License list version 3.0 introduced "-only" and "-or-later" variants for GNU family of licenses.
-- See <https://spdx.org/news/news/2018/01/license-list-30-released>
-- >>> licenseIdMigrationMessage "GPL-2.0"
-- "SPDX license list 3.0 deprecated suffixless variants of GNU family of licenses. Use GPL-2.0-only or GPL-2.0-or-later."
--
-- For other common licenses their old license format coincides with the SPDX identifiers:
--
-- >>> 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]
-- Right [GPL_2_0_only,GPL_3_0_only,LGPL_2_1_only,MIT,ISC,MPL_2_0,Apache_2_0]
--
licenseIdMigrationMessage :: String -> String
licenseIdMigrationMessage :: ShowS
licenseIdMigrationMessage = ShowS
go where
    go :: ShowS
go String
l | String -> Bool
gnuVariant String
l    = String
"SPDX license list 3.0 deprecated suffixless variants of GNU family of licenses. Use " String -> ShowS
forall a. [a] -> [a] -> [a]
++ String
l String -> ShowS
forall a. [a] -> [a] -> [a]
++ String
"-only or " String -> ShowS
forall a. [a] -> [a] -> [a]
++ String
l String -> ShowS
forall a. [a] -> [a] -> [a]
++ String
"-or-later."
    go String
"BSD3"              = String
"Do you mean BSD-3-Clause?"
    go String
"BSD2"              = String
"Do you mean BSD-2-Clause?"
    go String
"AllRightsReserved" = String
"You can use NONE as a value of license field."
    go String
"OtherLicense"      = String
"SPDX license list contains plenty of licenses. See https://spdx.org/licenses/. Also they can be combined into complex expressions with AND and OR."
    go String
"PublicDomain"      = String
"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."

    -- otherwise, we don't know
    go String
_ = String
""

    gnuVariant :: String -> Bool
gnuVariant = (String -> [String] -> Bool) -> [String] -> String -> Bool
forall a b c. (a -> b -> c) -> b -> a -> c
flip String -> [String] -> Bool
forall a. Eq a => a -> [a] -> Bool
forall (t :: * -> *) a. (Foldable t, Eq a) => a -> t a -> Bool
elem [String
"GPL-2.0", String
"GPL-3.0", String
"LGPL-2.1", String
"LGPL-3.0", String
"AGPL-3.0" ]

-------------------------------------------------------------------------------
-- License Data
-------------------------------------------------------------------------------

-- | License SPDX identifier, e.g. @"BSD-3-Clause"@.
licenseId :: LicenseId -> String
licenseId :: LicenseId -> String
licenseId LicenseId
NullBSD = String
"0BSD"
licenseId LicenseId
AAL = String
"AAL"
licenseId LicenseId
Abstyles = String
"Abstyles"
licenseId LicenseId
Adobe_2006 = String
"Adobe-2006"
licenseId LicenseId
Adobe_Glyph = String
"Adobe-Glyph"
licenseId LicenseId
ADSL = String
"ADSL"
licenseId LicenseId
AFL_1_1 = String
"AFL-1.1"
licenseId LicenseId
AFL_1_2 = String
"AFL-1.2"
licenseId LicenseId
AFL_2_0 = String
"AFL-2.0"
licenseId LicenseId
AFL_2_1 = String
"AFL-2.1"
licenseId LicenseId
AFL_3_0 = String
"AFL-3.0"
licenseId LicenseId
Afmparse = String
"Afmparse"
licenseId LicenseId
AGPL_1_0 = String
"AGPL-1.0"
licenseId LicenseId
AGPL_1_0_only = String
"AGPL-1.0-only"
licenseId LicenseId
AGPL_1_0_or_later = String
"AGPL-1.0-or-later"
licenseId LicenseId
AGPL_3_0_only = String
"AGPL-3.0-only"
licenseId LicenseId
AGPL_3_0_or_later = String
"AGPL-3.0-or-later"
licenseId LicenseId
Aladdin = String
"Aladdin"
licenseId LicenseId
AMDPLPA = String
"AMDPLPA"
licenseId LicenseId
AML = String
"AML"
licenseId LicenseId
AMPAS = String
"AMPAS"
licenseId LicenseId
ANTLR_PD = String
"ANTLR-PD"
licenseId LicenseId
Apache_1_0 = String
"Apache-1.0"
licenseId LicenseId
Apache_1_1 = String
"Apache-1.1"
licenseId LicenseId
Apache_2_0 = String
"Apache-2.0"
licenseId LicenseId
APAFML = String
"APAFML"
licenseId LicenseId
APL_1_0 = String
"APL-1.0"
licenseId LicenseId
APSL_1_0 = String
"APSL-1.0"
licenseId LicenseId
APSL_1_1 = String
"APSL-1.1"
licenseId LicenseId
APSL_1_2 = String
"APSL-1.2"
licenseId LicenseId
APSL_2_0 = String
"APSL-2.0"
licenseId LicenseId
Artistic_1_0_cl8 = String
"Artistic-1.0-cl8"
licenseId LicenseId
Artistic_1_0_Perl = String
"Artistic-1.0-Perl"
licenseId LicenseId
Artistic_1_0 = String
"Artistic-1.0"
licenseId LicenseId
Artistic_2_0 = String
"Artistic-2.0"
licenseId LicenseId
Bahyph = String
"Bahyph"
licenseId LicenseId
Barr = String
"Barr"
licenseId LicenseId
Beerware = String
"Beerware"
licenseId LicenseId
BitTorrent_1_0 = String
"BitTorrent-1.0"
licenseId LicenseId
BitTorrent_1_1 = String
"BitTorrent-1.1"
licenseId LicenseId
Blessing = String
"blessing"
licenseId LicenseId
BlueOak_1_0_0 = String
"BlueOak-1.0.0"
licenseId LicenseId
Borceux = String
"Borceux"
licenseId LicenseId
BSD_1_Clause = String
"BSD-1-Clause"
licenseId LicenseId
BSD_2_Clause_FreeBSD = String
"BSD-2-Clause-FreeBSD"
licenseId LicenseId
BSD_2_Clause_NetBSD = String
"BSD-2-Clause-NetBSD"
licenseId LicenseId
BSD_2_Clause_Patent = String
"BSD-2-Clause-Patent"
licenseId LicenseId
BSD_2_Clause_Views = String
"BSD-2-Clause-Views"
licenseId LicenseId
BSD_2_Clause = String
"BSD-2-Clause"
licenseId LicenseId
BSD_3_Clause_Attribution = String
"BSD-3-Clause-Attribution"
licenseId LicenseId
BSD_3_Clause_Clear = String
"BSD-3-Clause-Clear"
licenseId LicenseId
BSD_3_Clause_LBNL = String
"BSD-3-Clause-LBNL"
licenseId LicenseId
BSD_3_Clause_No_Nuclear_License_2014 = String
"BSD-3-Clause-No-Nuclear-License-2014"
licenseId LicenseId
BSD_3_Clause_No_Nuclear_License = String
"BSD-3-Clause-No-Nuclear-License"
licenseId LicenseId
BSD_3_Clause_No_Nuclear_Warranty = String
"BSD-3-Clause-No-Nuclear-Warranty"
licenseId LicenseId
BSD_3_Clause_Open_MPI = String
"BSD-3-Clause-Open-MPI"
licenseId LicenseId
BSD_3_Clause = String
"BSD-3-Clause"
licenseId LicenseId
BSD_4_Clause_UC = String
"BSD-4-Clause-UC"
licenseId LicenseId
BSD_4_Clause = String
"BSD-4-Clause"
licenseId LicenseId
BSD_Protection = String
"BSD-Protection"
licenseId LicenseId
BSD_Source_Code = String
"BSD-Source-Code"
licenseId LicenseId
BSL_1_0 = String
"BSL-1.0"
licenseId LicenseId
Bzip2_1_0_5 = String
"bzip2-1.0.5"
licenseId LicenseId
Bzip2_1_0_6 = String
"bzip2-1.0.6"
licenseId LicenseId
CAL_1_0_Combined_Work_Exception = String
"CAL-1.0-Combined-Work-Exception"
licenseId LicenseId
CAL_1_0 = String
"CAL-1.0"
licenseId LicenseId
Caldera = String
"Caldera"
licenseId LicenseId
CATOSL_1_1 = String
"CATOSL-1.1"
licenseId LicenseId
CC_BY_1_0 = String
"CC-BY-1.0"
licenseId LicenseId
CC_BY_2_0 = String
"CC-BY-2.0"
licenseId LicenseId
CC_BY_2_5 = String
"CC-BY-2.5"
licenseId LicenseId
CC_BY_3_0_AT = String
"CC-BY-3.0-AT"
licenseId LicenseId
CC_BY_3_0 = String
"CC-BY-3.0"
licenseId LicenseId
CC_BY_4_0 = String
"CC-BY-4.0"
licenseId LicenseId
CC_BY_NC_1_0 = String
"CC-BY-NC-1.0"
licenseId LicenseId
CC_BY_NC_2_0 = String
"CC-BY-NC-2.0"
licenseId LicenseId
CC_BY_NC_2_5 = String
"CC-BY-NC-2.5"
licenseId LicenseId
CC_BY_NC_3_0 = String
"CC-BY-NC-3.0"
licenseId LicenseId
CC_BY_NC_4_0 = String
"CC-BY-NC-4.0"
licenseId LicenseId
CC_BY_NC_ND_1_0 = String
"CC-BY-NC-ND-1.0"
licenseId LicenseId
CC_BY_NC_ND_2_0 = String
"CC-BY-NC-ND-2.0"
licenseId LicenseId
CC_BY_NC_ND_2_5 = String
"CC-BY-NC-ND-2.5"
licenseId LicenseId
CC_BY_NC_ND_3_0_IGO = String
"CC-BY-NC-ND-3.0-IGO"
licenseId LicenseId
CC_BY_NC_ND_3_0 = String
"CC-BY-NC-ND-3.0"
licenseId LicenseId
CC_BY_NC_ND_4_0 = String
"CC-BY-NC-ND-4.0"
licenseId LicenseId
CC_BY_NC_SA_1_0 = String
"CC-BY-NC-SA-1.0"
licenseId LicenseId
CC_BY_NC_SA_2_0 = String
"CC-BY-NC-SA-2.0"
licenseId LicenseId
CC_BY_NC_SA_2_5 = String
"CC-BY-NC-SA-2.5"
licenseId LicenseId
CC_BY_NC_SA_3_0 = String
"CC-BY-NC-SA-3.0"
licenseId LicenseId
CC_BY_NC_SA_4_0 = String
"CC-BY-NC-SA-4.0"
licenseId LicenseId
CC_BY_ND_1_0 = String
"CC-BY-ND-1.0"
licenseId LicenseId
CC_BY_ND_2_0 = String
"CC-BY-ND-2.0"
licenseId LicenseId
CC_BY_ND_2_5 = String
"CC-BY-ND-2.5"
licenseId LicenseId
CC_BY_ND_3_0 = String
"CC-BY-ND-3.0"
licenseId LicenseId
CC_BY_ND_4_0 = String
"CC-BY-ND-4.0"
licenseId LicenseId
CC_BY_SA_1_0 = String
"CC-BY-SA-1.0"
licenseId LicenseId
CC_BY_SA_2_0 = String
"CC-BY-SA-2.0"
licenseId LicenseId
CC_BY_SA_2_5 = String
"CC-BY-SA-2.5"
licenseId LicenseId
CC_BY_SA_3_0_AT = String
"CC-BY-SA-3.0-AT"
licenseId LicenseId
CC_BY_SA_3_0 = String
"CC-BY-SA-3.0"
licenseId LicenseId
CC_BY_SA_4_0 = String
"CC-BY-SA-4.0"
licenseId LicenseId
CC_PDDC = String
"CC-PDDC"
licenseId LicenseId
CC0_1_0 = String
"CC0-1.0"
licenseId LicenseId
CDDL_1_0 = String
"CDDL-1.0"
licenseId LicenseId
CDDL_1_1 = String
"CDDL-1.1"
licenseId LicenseId
CDLA_Permissive_1_0 = String
"CDLA-Permissive-1.0"
licenseId LicenseId
CDLA_Sharing_1_0 = String
"CDLA-Sharing-1.0"
licenseId LicenseId
CECILL_1_0 = String
"CECILL-1.0"
licenseId LicenseId
CECILL_1_1 = String
"CECILL-1.1"
licenseId LicenseId
CECILL_2_0 = String
"CECILL-2.0"
licenseId LicenseId
CECILL_2_1 = String
"CECILL-2.1"
licenseId LicenseId
CECILL_B = String
"CECILL-B"
licenseId LicenseId
CECILL_C = String
"CECILL-C"
licenseId LicenseId
CERN_OHL_1_1 = String
"CERN-OHL-1.1"
licenseId LicenseId
CERN_OHL_1_2 = String
"CERN-OHL-1.2"
licenseId LicenseId
CERN_OHL_P_2_0 = String
"CERN-OHL-P-2.0"
licenseId LicenseId
CERN_OHL_S_2_0 = String
"CERN-OHL-S-2.0"
licenseId LicenseId
CERN_OHL_W_2_0 = String
"CERN-OHL-W-2.0"
licenseId LicenseId
ClArtistic = String
"ClArtistic"
licenseId LicenseId
CNRI_Jython = String
"CNRI-Jython"
licenseId LicenseId
CNRI_Python_GPL_Compatible = String
"CNRI-Python-GPL-Compatible"
licenseId LicenseId
CNRI_Python = String
"CNRI-Python"
licenseId LicenseId
Condor_1_1 = String
"Condor-1.1"
licenseId LicenseId
Copyleft_next_0_3_0 = String
"copyleft-next-0.3.0"
licenseId LicenseId
Copyleft_next_0_3_1 = String
"copyleft-next-0.3.1"
licenseId LicenseId
CPAL_1_0 = String
"CPAL-1.0"
licenseId LicenseId
CPL_1_0 = String
"CPL-1.0"
licenseId LicenseId
CPOL_1_02 = String
"CPOL-1.02"
licenseId LicenseId
Crossword = String
"Crossword"
licenseId LicenseId
CrystalStacker = String
"CrystalStacker"
licenseId LicenseId
CUA_OPL_1_0 = String
"CUA-OPL-1.0"
licenseId LicenseId
Cube = String
"Cube"
licenseId LicenseId
Curl = String
"curl"
licenseId LicenseId
D_FSL_1_0 = String
"D-FSL-1.0"
licenseId LicenseId
Diffmark = String
"diffmark"
licenseId LicenseId
DOC = String
"DOC"
licenseId LicenseId
Dotseqn = String
"Dotseqn"
licenseId LicenseId
DSDP = String
"DSDP"
licenseId LicenseId
Dvipdfm = String
"dvipdfm"
licenseId LicenseId
ECL_1_0 = String
"ECL-1.0"
licenseId LicenseId
ECL_2_0 = String
"ECL-2.0"
licenseId LicenseId
EFL_1_0 = String
"EFL-1.0"
licenseId LicenseId
EFL_2_0 = String
"EFL-2.0"
licenseId LicenseId
EGenix = String
"eGenix"
licenseId LicenseId
Entessa = String
"Entessa"
licenseId LicenseId
EPICS = String
"EPICS"
licenseId LicenseId
EPL_1_0 = String
"EPL-1.0"
licenseId LicenseId
EPL_2_0 = String
"EPL-2.0"
licenseId LicenseId
ErlPL_1_1 = String
"ErlPL-1.1"
licenseId LicenseId
Etalab_2_0 = String
"etalab-2.0"
licenseId LicenseId
EUDatagrid = String
"EUDatagrid"
licenseId LicenseId
EUPL_1_0 = String
"EUPL-1.0"
licenseId LicenseId
EUPL_1_1 = String
"EUPL-1.1"
licenseId LicenseId
EUPL_1_2 = String
"EUPL-1.2"
licenseId LicenseId
Eurosym = String
"Eurosym"
licenseId LicenseId
Fair = String
"Fair"
licenseId LicenseId
Frameworx_1_0 = String
"Frameworx-1.0"
licenseId LicenseId
FreeImage = String
"FreeImage"
licenseId LicenseId
FSFAP = String
"FSFAP"
licenseId LicenseId
FSFULLR = String
"FSFULLR"
licenseId LicenseId
FSFUL = String
"FSFUL"
licenseId LicenseId
FTL = String
"FTL"
licenseId LicenseId
GFDL_1_1_invariants_only = String
"GFDL-1.1-invariants-only"
licenseId LicenseId
GFDL_1_1_invariants_or_later = String
"GFDL-1.1-invariants-or-later"
licenseId LicenseId
GFDL_1_1_no_invariants_only = String
"GFDL-1.1-no-invariants-only"
licenseId LicenseId
GFDL_1_1_no_invariants_or_later = String
"GFDL-1.1-no-invariants-or-later"
licenseId LicenseId
GFDL_1_1_only = String
"GFDL-1.1-only"
licenseId LicenseId
GFDL_1_1_or_later = String
"GFDL-1.1-or-later"
licenseId LicenseId
GFDL_1_2_invariants_only = String
"GFDL-1.2-invariants-only"
licenseId LicenseId
GFDL_1_2_invariants_or_later = String
"GFDL-1.2-invariants-or-later"
licenseId LicenseId
GFDL_1_2_no_invariants_only = String
"GFDL-1.2-no-invariants-only"
licenseId LicenseId
GFDL_1_2_no_invariants_or_later = String
"GFDL-1.2-no-invariants-or-later"
licenseId LicenseId
GFDL_1_2_only = String
"GFDL-1.2-only"
licenseId LicenseId
GFDL_1_2_or_later = String
"GFDL-1.2-or-later"
licenseId LicenseId
GFDL_1_3_invariants_only = String
"GFDL-1.3-invariants-only"
licenseId LicenseId
GFDL_1_3_invariants_or_later = String
"GFDL-1.3-invariants-or-later"
licenseId LicenseId
GFDL_1_3_no_invariants_only = String
"GFDL-1.3-no-invariants-only"
licenseId LicenseId
GFDL_1_3_no_invariants_or_later = String
"GFDL-1.3-no-invariants-or-later"
licenseId LicenseId
GFDL_1_3_only = String
"GFDL-1.3-only"
licenseId LicenseId
GFDL_1_3_or_later = String
"GFDL-1.3-or-later"
licenseId LicenseId
Giftware = String
"Giftware"
licenseId LicenseId
GL2PS = String
"GL2PS"
licenseId LicenseId
Glide = String
"Glide"
licenseId LicenseId
Glulxe = String
"Glulxe"
licenseId LicenseId
GLWTPL = String
"GLWTPL"
licenseId LicenseId
Gnuplot = String
"gnuplot"
licenseId LicenseId
GPL_1_0_only = String
"GPL-1.0-only"
licenseId LicenseId
GPL_1_0_or_later = String
"GPL-1.0-or-later"
licenseId LicenseId
GPL_2_0_only = String
"GPL-2.0-only"
licenseId LicenseId
GPL_2_0_or_later = String
"GPL-2.0-or-later"
licenseId LicenseId
GPL_3_0_only = String
"GPL-3.0-only"
licenseId LicenseId
GPL_3_0_or_later = String
"GPL-3.0-or-later"
licenseId LicenseId
GSOAP_1_3b = String
"gSOAP-1.3b"
licenseId LicenseId
HaskellReport = String
"HaskellReport"
licenseId LicenseId
Hippocratic_2_1 = String
"Hippocratic-2.1"
licenseId LicenseId
HPND_sell_variant = String
"HPND-sell-variant"
licenseId LicenseId
HPND = String
"HPND"
licenseId LicenseId
IBM_pibs = String
"IBM-pibs"
licenseId LicenseId
ICU = String
"ICU"
licenseId LicenseId
IJG = String
"IJG"
licenseId LicenseId
ImageMagick = String
"ImageMagick"
licenseId LicenseId
IMatix = String
"iMatix"
licenseId LicenseId
Imlib2 = String
"Imlib2"
licenseId LicenseId
Info_ZIP = String
"Info-ZIP"
licenseId LicenseId
Intel_ACPI = String
"Intel-ACPI"
licenseId LicenseId
Intel = String
"Intel"
licenseId LicenseId
Interbase_1_0 = String
"Interbase-1.0"
licenseId LicenseId
IPA = String
"IPA"
licenseId LicenseId
IPL_1_0 = String
"IPL-1.0"
licenseId LicenseId
ISC = String
"ISC"
licenseId LicenseId
JasPer_2_0 = String
"JasPer-2.0"
licenseId LicenseId
JPNIC = String
"JPNIC"
licenseId LicenseId
JSON = String
"JSON"
licenseId LicenseId
LAL_1_2 = String
"LAL-1.2"
licenseId LicenseId
LAL_1_3 = String
"LAL-1.3"
licenseId LicenseId
Latex2e = String
"Latex2e"
licenseId LicenseId
Leptonica = String
"Leptonica"
licenseId LicenseId
LGPL_2_0_only = String
"LGPL-2.0-only"
licenseId LicenseId
LGPL_2_0_or_later = String
"LGPL-2.0-or-later"
licenseId LicenseId
LGPL_2_1_only = String
"LGPL-2.1-only"
licenseId LicenseId
LGPL_2_1_or_later = String
"LGPL-2.1-or-later"
licenseId LicenseId
LGPL_3_0_only = String
"LGPL-3.0-only"
licenseId LicenseId
LGPL_3_0_or_later = String
"LGPL-3.0-or-later"
licenseId LicenseId
LGPLLR = String
"LGPLLR"
licenseId LicenseId
Libpng_2_0 = String
"libpng-2.0"
licenseId LicenseId
Libpng = String
"Libpng"
licenseId LicenseId
Libselinux_1_0 = String
"libselinux-1.0"
licenseId LicenseId
Libtiff = String
"libtiff"
licenseId LicenseId
LiLiQ_P_1_1 = String
"LiLiQ-P-1.1"
licenseId LicenseId
LiLiQ_R_1_1 = String
"LiLiQ-R-1.1"
licenseId LicenseId
LiLiQ_Rplus_1_1 = String
"LiLiQ-Rplus-1.1"
licenseId LicenseId
Linux_OpenIB = String
"Linux-OpenIB"
licenseId LicenseId
LPL_1_02 = String
"LPL-1.02"
licenseId LicenseId
LPL_1_0 = String
"LPL-1.0"
licenseId LicenseId
LPPL_1_0 = String
"LPPL-1.0"
licenseId LicenseId
LPPL_1_1 = String
"LPPL-1.1"
licenseId LicenseId
LPPL_1_2 = String
"LPPL-1.2"
licenseId LicenseId
LPPL_1_3a = String
"LPPL-1.3a"
licenseId LicenseId
LPPL_1_3c = String
"LPPL-1.3c"
licenseId LicenseId
MakeIndex = String
"MakeIndex"
licenseId LicenseId
MirOS = String
"MirOS"
licenseId LicenseId
MIT_0 = String
"MIT-0"
licenseId LicenseId
MIT_advertising = String
"MIT-advertising"
licenseId LicenseId
MIT_CMU = String
"MIT-CMU"
licenseId LicenseId
MIT_enna = String
"MIT-enna"
licenseId LicenseId
MIT_feh = String
"MIT-feh"
licenseId LicenseId
MITNFA = String
"MITNFA"
licenseId LicenseId
MIT = String
"MIT"
licenseId LicenseId
Motosoto = String
"Motosoto"
licenseId LicenseId
Mpich2 = String
"mpich2"
licenseId LicenseId
MPL_1_0 = String
"MPL-1.0"
licenseId LicenseId
MPL_1_1 = String
"MPL-1.1"
licenseId LicenseId
MPL_2_0_no_copyleft_exception = String
"MPL-2.0-no-copyleft-exception"
licenseId LicenseId
MPL_2_0 = String
"MPL-2.0"
licenseId LicenseId
MS_PL = String
"MS-PL"
licenseId LicenseId
MS_RL = String
"MS-RL"
licenseId LicenseId
MTLL = String
"MTLL"
licenseId LicenseId
MulanPSL_1_0 = String
"MulanPSL-1.0"
licenseId LicenseId
MulanPSL_2_0 = String
"MulanPSL-2.0"
licenseId LicenseId
Multics = String
"Multics"
licenseId LicenseId
Mup = String
"Mup"
licenseId LicenseId
NASA_1_3 = String
"NASA-1.3"
licenseId LicenseId
Naumen = String
"Naumen"
licenseId LicenseId
NBPL_1_0 = String
"NBPL-1.0"
licenseId LicenseId
NCGL_UK_2_0 = String
"NCGL-UK-2.0"
licenseId LicenseId
NCSA = String
"NCSA"
licenseId LicenseId
Net_SNMP = String
"Net-SNMP"
licenseId LicenseId
NetCDF = String
"NetCDF"
licenseId LicenseId
Newsletr = String
"Newsletr"
licenseId LicenseId
NGPL = String
"NGPL"
licenseId LicenseId
NIST_PD_fallback = String
"NIST-PD-fallback"
licenseId LicenseId
NIST_PD = String
"NIST-PD"
licenseId LicenseId
NLOD_1_0 = String
"NLOD-1.0"
licenseId LicenseId
NLPL = String
"NLPL"
licenseId LicenseId
Nokia = String
"Nokia"
licenseId LicenseId
NOSL = String
"NOSL"
licenseId LicenseId
Noweb = String
"Noweb"
licenseId LicenseId
NPL_1_0 = String
"NPL-1.0"
licenseId LicenseId
NPL_1_1 = String
"NPL-1.1"
licenseId LicenseId
NPOSL_3_0 = String
"NPOSL-3.0"
licenseId LicenseId
NRL = String
"NRL"
licenseId LicenseId
NTP_0 = String
"NTP-0"
licenseId LicenseId
NTP = String
"NTP"
licenseId LicenseId
O_UDA_1_0 = String
"O-UDA-1.0"
licenseId LicenseId
OCCT_PL = String
"OCCT-PL"
licenseId LicenseId
OCLC_2_0 = String
"OCLC-2.0"
licenseId LicenseId
ODbL_1_0 = String
"ODbL-1.0"
licenseId LicenseId
ODC_By_1_0 = String
"ODC-By-1.0"
licenseId LicenseId
OFL_1_0_no_RFN = String
"OFL-1.0-no-RFN"
licenseId LicenseId
OFL_1_0_RFN = String
"OFL-1.0-RFN"
licenseId LicenseId
OFL_1_0 = String
"OFL-1.0"
licenseId LicenseId
OFL_1_1_no_RFN = String
"OFL-1.1-no-RFN"
licenseId LicenseId
OFL_1_1_RFN = String
"OFL-1.1-RFN"
licenseId LicenseId
OFL_1_1 = String
"OFL-1.1"
licenseId LicenseId
OGC_1_0 = String
"OGC-1.0"
licenseId LicenseId
OGL_Canada_2_0 = String
"OGL-Canada-2.0"
licenseId LicenseId
OGL_UK_1_0 = String
"OGL-UK-1.0"
licenseId LicenseId
OGL_UK_2_0 = String
"OGL-UK-2.0"
licenseId LicenseId
OGL_UK_3_0 = String
"OGL-UK-3.0"
licenseId LicenseId
OGTSL = String
"OGTSL"
licenseId LicenseId
OLDAP_1_1 = String
"OLDAP-1.1"
licenseId LicenseId
OLDAP_1_2 = String
"OLDAP-1.2"
licenseId LicenseId
OLDAP_1_3 = String
"OLDAP-1.3"
licenseId LicenseId
OLDAP_1_4 = String
"OLDAP-1.4"
licenseId LicenseId
OLDAP_2_0_1 = String
"OLDAP-2.0.1"
licenseId LicenseId
OLDAP_2_0 = String
"OLDAP-2.0"
licenseId LicenseId
OLDAP_2_1 = String
"OLDAP-2.1"
licenseId LicenseId
OLDAP_2_2_1 = String
"OLDAP-2.2.1"
licenseId LicenseId
OLDAP_2_2_2 = String
"OLDAP-2.2.2"
licenseId LicenseId
OLDAP_2_2 = String
"OLDAP-2.2"
licenseId LicenseId
OLDAP_2_3 = String
"OLDAP-2.3"
licenseId LicenseId
OLDAP_2_4 = String
"OLDAP-2.4"
licenseId LicenseId
OLDAP_2_5 = String
"OLDAP-2.5"
licenseId LicenseId
OLDAP_2_6 = String
"OLDAP-2.6"
licenseId LicenseId
OLDAP_2_7 = String
"OLDAP-2.7"
licenseId LicenseId
OLDAP_2_8 = String
"OLDAP-2.8"
licenseId LicenseId
OML = String
"OML"
licenseId LicenseId
OpenSSL = String
"OpenSSL"
licenseId LicenseId
OPL_1_0 = String
"OPL-1.0"
licenseId LicenseId
OSET_PL_2_1 = String
"OSET-PL-2.1"
licenseId LicenseId
OSL_1_0 = String
"OSL-1.0"
licenseId LicenseId
OSL_1_1 = String
"OSL-1.1"
licenseId LicenseId
OSL_2_0 = String
"OSL-2.0"
licenseId LicenseId
OSL_2_1 = String
"OSL-2.1"
licenseId LicenseId
OSL_3_0 = String
"OSL-3.0"
licenseId LicenseId
Parity_6_0_0 = String
"Parity-6.0.0"
licenseId LicenseId
Parity_7_0_0 = String
"Parity-7.0.0"
licenseId LicenseId
PDDL_1_0 = String
"PDDL-1.0"
licenseId LicenseId
PHP_3_01 = String
"PHP-3.01"
licenseId LicenseId
PHP_3_0 = String
"PHP-3.0"
licenseId LicenseId
Plexus = String
"Plexus"
licenseId LicenseId
PolyForm_Noncommercial_1_0_0 = String
"PolyForm-Noncommercial-1.0.0"
licenseId LicenseId
PolyForm_Small_Business_1_0_0 = String
"PolyForm-Small-Business-1.0.0"
licenseId LicenseId
PostgreSQL = String
"PostgreSQL"
licenseId LicenseId
PSF_2_0 = String
"PSF-2.0"
licenseId LicenseId
Psfrag = String
"psfrag"
licenseId LicenseId
Psutils = String
"psutils"
licenseId LicenseId
Python_2_0 = String
"Python-2.0"
licenseId LicenseId
Qhull = String
"Qhull"
licenseId LicenseId
QPL_1_0 = String
"QPL-1.0"
licenseId LicenseId
Rdisc = String
"Rdisc"
licenseId LicenseId
RHeCos_1_1 = String
"RHeCos-1.1"
licenseId LicenseId
RPL_1_1 = String
"RPL-1.1"
licenseId LicenseId
RPL_1_5 = String
"RPL-1.5"
licenseId LicenseId
RPSL_1_0 = String
"RPSL-1.0"
licenseId LicenseId
RSA_MD = String
"RSA-MD"
licenseId LicenseId
RSCPL = String
"RSCPL"
licenseId LicenseId
Ruby = String
"Ruby"
licenseId LicenseId
SAX_PD = String
"SAX-PD"
licenseId LicenseId
Saxpath = String
"Saxpath"
licenseId LicenseId
SCEA = String
"SCEA"
licenseId LicenseId
Sendmail_8_23 = String
"Sendmail-8.23"
licenseId LicenseId
Sendmail = String
"Sendmail"
licenseId LicenseId
SGI_B_1_0 = String
"SGI-B-1.0"
licenseId LicenseId
SGI_B_1_1 = String
"SGI-B-1.1"
licenseId LicenseId
SGI_B_2_0 = String
"SGI-B-2.0"
licenseId LicenseId
SHL_0_51 = String
"SHL-0.51"
licenseId LicenseId
SHL_0_5 = String
"SHL-0.5"
licenseId LicenseId
SimPL_2_0 = String
"SimPL-2.0"
licenseId LicenseId
SISSL_1_2 = String
"SISSL-1.2"
licenseId LicenseId
SISSL = String
"SISSL"
licenseId LicenseId
Sleepycat = String
"Sleepycat"
licenseId LicenseId
SMLNJ = String
"SMLNJ"
licenseId LicenseId
SMPPL = String
"SMPPL"
licenseId LicenseId
SNIA = String
"SNIA"
licenseId LicenseId
Spencer_86 = String
"Spencer-86"
licenseId LicenseId
Spencer_94 = String
"Spencer-94"
licenseId LicenseId
Spencer_99 = String
"Spencer-99"
licenseId LicenseId
SPL_1_0 = String
"SPL-1.0"
licenseId LicenseId
SSH_OpenSSH = String
"SSH-OpenSSH"
licenseId LicenseId
SSH_short = String
"SSH-short"
licenseId LicenseId
SSPL_1_0 = String
"SSPL-1.0"
licenseId LicenseId
SugarCRM_1_1_3 = String
"SugarCRM-1.1.3"
licenseId LicenseId
SWL = String
"SWL"
licenseId LicenseId
TAPR_OHL_1_0 = String
"TAPR-OHL-1.0"
licenseId LicenseId
TCL = String
"TCL"
licenseId LicenseId
TCP_wrappers = String
"TCP-wrappers"
licenseId LicenseId
TMate = String
"TMate"
licenseId LicenseId
TORQUE_1_1 = String
"TORQUE-1.1"
licenseId LicenseId
TOSL = String
"TOSL"
licenseId LicenseId
TU_Berlin_1_0 = String
"TU-Berlin-1.0"
licenseId LicenseId
TU_Berlin_2_0 = String
"TU-Berlin-2.0"
licenseId LicenseId
UCL_1_0 = String
"UCL-1.0"
licenseId LicenseId
Unicode_DFS_2015 = String
"Unicode-DFS-2015"
licenseId LicenseId
Unicode_DFS_2016 = String
"Unicode-DFS-2016"
licenseId LicenseId
Unicode_TOU = String
"Unicode-TOU"
licenseId LicenseId
Unlicense = String
"Unlicense"
licenseId LicenseId
UPL_1_0 = String
"UPL-1.0"
licenseId LicenseId
Vim = String
"Vim"
licenseId LicenseId
VOSTROM = String
"VOSTROM"
licenseId LicenseId
VSL_1_0 = String
"VSL-1.0"
licenseId LicenseId
W3C_19980720 = String
"W3C-19980720"
licenseId LicenseId
W3C_20150513 = String
"W3C-20150513"
licenseId LicenseId
W3C = String
"W3C"
licenseId LicenseId
Watcom_1_0 = String
"Watcom-1.0"
licenseId LicenseId
Wsuipa = String
"Wsuipa"
licenseId LicenseId
WTFPL = String
"WTFPL"
licenseId LicenseId
X11 = String
"X11"
licenseId LicenseId
Xerox = String
"Xerox"
licenseId LicenseId
XFree86_1_1 = String
"XFree86-1.1"
licenseId LicenseId
Xinetd = String
"xinetd"
licenseId LicenseId
Xnet = String
"Xnet"
licenseId LicenseId
Xpp = String
"xpp"
licenseId LicenseId
XSkat = String
"XSkat"
licenseId LicenseId
YPL_1_0 = String
"YPL-1.0"
licenseId LicenseId
YPL_1_1 = String
"YPL-1.1"
licenseId LicenseId
Zed = String
"Zed"
licenseId LicenseId
Zend_2_0 = String
"Zend-2.0"
licenseId LicenseId
Zimbra_1_3 = String
"Zimbra-1.3"
licenseId LicenseId
Zimbra_1_4 = String
"Zimbra-1.4"
licenseId LicenseId
Zlib_acknowledgement = String
"zlib-acknowledgement"
licenseId LicenseId
Zlib = String
"Zlib"
licenseId LicenseId
ZPL_1_1 = String
"ZPL-1.1"
licenseId LicenseId
ZPL_2_0 = String
"ZPL-2.0"
licenseId LicenseId
ZPL_2_1 = String
"ZPL-2.1"

-- | License name, e.g. @"GNU General Public License v2.0 only"@
licenseName :: LicenseId -> String
licenseName :: LicenseId -> String
licenseName LicenseId
NullBSD = String
"BSD Zero Clause License"
licenseName LicenseId
AAL = String
"Attribution Assurance License"
licenseName LicenseId
Abstyles = String
"Abstyles License"
licenseName LicenseId
Adobe_2006 = String
"Adobe Systems Incorporated Source Code License Agreement"
licenseName LicenseId
Adobe_Glyph = String
"Adobe Glyph List License"
licenseName LicenseId
ADSL = String
"Amazon Digital Services License"
licenseName LicenseId
AFL_1_1 = String
"Academic Free License v1.1"
licenseName LicenseId
AFL_1_2 = String
"Academic Free License v1.2"
licenseName LicenseId
AFL_2_0 = String
"Academic Free License v2.0"
licenseName LicenseId
AFL_2_1 = String
"Academic Free License v2.1"
licenseName LicenseId
AFL_3_0 = String
"Academic Free License v3.0"
licenseName LicenseId
Afmparse = String
"Afmparse License"
licenseName LicenseId
AGPL_1_0 = String
"Affero General Public License v1.0"
licenseName LicenseId
AGPL_1_0_only = String
"Affero General Public License v1.0 only"
licenseName LicenseId
AGPL_1_0_or_later = String
"Affero General Public License v1.0 or later"
licenseName LicenseId
AGPL_3_0_only = String
"GNU Affero General Public License v3.0 only"
licenseName LicenseId
AGPL_3_0_or_later = String
"GNU Affero General Public License v3.0 or later"
licenseName LicenseId
Aladdin = String
"Aladdin Free Public License"
licenseName LicenseId
AMDPLPA = String
"AMD's plpa_map.c License"
licenseName LicenseId
AML = String
"Apple MIT License"
licenseName LicenseId
AMPAS = String
"Academy of Motion Picture Arts and Sciences BSD"
licenseName LicenseId
ANTLR_PD = String
"ANTLR Software Rights Notice"
licenseName LicenseId
Apache_1_0 = String
"Apache License 1.0"
licenseName LicenseId
Apache_1_1 = String
"Apache License 1.1"
licenseName LicenseId
Apache_2_0 = String
"Apache License 2.0"
licenseName LicenseId
APAFML = String
"Adobe Postscript AFM License"
licenseName LicenseId
APL_1_0 = String
"Adaptive Public License 1.0"
licenseName LicenseId
APSL_1_0 = String
"Apple Public Source License 1.0"
licenseName LicenseId
APSL_1_1 = String
"Apple Public Source License 1.1"
licenseName LicenseId
APSL_1_2 = String
"Apple Public Source License 1.2"
licenseName LicenseId
APSL_2_0 = String
"Apple Public Source License 2.0"
licenseName LicenseId
Artistic_1_0_cl8 = String
"Artistic License 1.0 w/clause 8"
licenseName LicenseId
Artistic_1_0_Perl = String
"Artistic License 1.0 (Perl)"
licenseName LicenseId
Artistic_1_0 = String
"Artistic License 1.0"
licenseName LicenseId
Artistic_2_0 = String
"Artistic License 2.0"
licenseName LicenseId
Bahyph = String
"Bahyph License"
licenseName LicenseId
Barr = String
"Barr License"
licenseName LicenseId
Beerware = String
"Beerware License"
licenseName LicenseId
BitTorrent_1_0 = String
"BitTorrent Open Source License v1.0"
licenseName LicenseId
BitTorrent_1_1 = String
"BitTorrent Open Source License v1.1"
licenseName LicenseId
Blessing = String
"SQLite Blessing"
licenseName LicenseId
BlueOak_1_0_0 = String
"Blue Oak Model License 1.0.0"
licenseName LicenseId
Borceux = String
"Borceux license"
licenseName LicenseId
BSD_1_Clause = String
"BSD 1-Clause License"
licenseName LicenseId
BSD_2_Clause_FreeBSD = String
"BSD 2-Clause FreeBSD License"
licenseName LicenseId
BSD_2_Clause_NetBSD = String
"BSD 2-Clause NetBSD License"
licenseName LicenseId
BSD_2_Clause_Patent = String
"BSD-2-Clause Plus Patent License"
licenseName LicenseId
BSD_2_Clause_Views = String
"BSD 2-Clause with views sentence"
licenseName LicenseId
BSD_2_Clause = String
"BSD 2-Clause \"Simplified\" License"
licenseName LicenseId
BSD_3_Clause_Attribution = String
"BSD with attribution"
licenseName LicenseId
BSD_3_Clause_Clear = String
"BSD 3-Clause Clear License"
licenseName LicenseId
BSD_3_Clause_LBNL = String
"Lawrence Berkeley National Labs BSD variant license"
licenseName LicenseId
BSD_3_Clause_No_Nuclear_License_2014 = String
"BSD 3-Clause No Nuclear License 2014"
licenseName LicenseId
BSD_3_Clause_No_Nuclear_License = String
"BSD 3-Clause No Nuclear License"
licenseName LicenseId
BSD_3_Clause_No_Nuclear_Warranty = String
"BSD 3-Clause No Nuclear Warranty"
licenseName LicenseId
BSD_3_Clause_Open_MPI = String
"BSD 3-Clause Open MPI variant"
licenseName LicenseId
BSD_3_Clause = String
"BSD 3-Clause \"New\" or \"Revised\" License"
licenseName LicenseId
BSD_4_Clause_UC = String
"BSD-4-Clause (University of California-Specific)"
licenseName LicenseId
BSD_4_Clause = String
"BSD 4-Clause \"Original\" or \"Old\" License"
licenseName LicenseId
BSD_Protection = String
"BSD Protection License"
licenseName LicenseId
BSD_Source_Code = String
"BSD Source Code Attribution"
licenseName LicenseId
BSL_1_0 = String
"Boost Software License 1.0"
licenseName LicenseId
Bzip2_1_0_5 = String
"bzip2 and libbzip2 License v1.0.5"
licenseName LicenseId
Bzip2_1_0_6 = String
"bzip2 and libbzip2 License v1.0.6"
licenseName LicenseId
CAL_1_0_Combined_Work_Exception = String
"Cryptographic Autonomy License 1.0 (Combined Work Exception)"
licenseName LicenseId
CAL_1_0 = String
"Cryptographic Autonomy License 1.0"
licenseName LicenseId
Caldera = String
"Caldera License"
licenseName LicenseId
CATOSL_1_1 = String
"Computer Associates Trusted Open Source License 1.1"
licenseName LicenseId
CC_BY_1_0 = String
"Creative Commons Attribution 1.0 Generic"
licenseName LicenseId
CC_BY_2_0 = String
"Creative Commons Attribution 2.0 Generic"
licenseName LicenseId
CC_BY_2_5 = String
"Creative Commons Attribution 2.5 Generic"
licenseName LicenseId
CC_BY_3_0_AT = String
"Creative Commons Attribution 3.0 Austria"
licenseName LicenseId
CC_BY_3_0 = String
"Creative Commons Attribution 3.0 Unported"
licenseName LicenseId
CC_BY_4_0 = String
"Creative Commons Attribution 4.0 International"
licenseName LicenseId
CC_BY_NC_1_0 = String
"Creative Commons Attribution Non Commercial 1.0 Generic"
licenseName LicenseId
CC_BY_NC_2_0 = String
"Creative Commons Attribution Non Commercial 2.0 Generic"
licenseName LicenseId
CC_BY_NC_2_5 = String
"Creative Commons Attribution Non Commercial 2.5 Generic"
licenseName LicenseId
CC_BY_NC_3_0 = String
"Creative Commons Attribution Non Commercial 3.0 Unported"
licenseName LicenseId
CC_BY_NC_4_0 = String
"Creative Commons Attribution Non Commercial 4.0 International"
licenseName LicenseId
CC_BY_NC_ND_1_0 = String
"Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic"
licenseName LicenseId
CC_BY_NC_ND_2_0 = String
"Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic"
licenseName LicenseId
CC_BY_NC_ND_2_5 = String
"Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic"
licenseName LicenseId
CC_BY_NC_ND_3_0_IGO = String
"Creative Commons Attribution Non Commercial No Derivatives 3.0 IGO"
licenseName LicenseId
CC_BY_NC_ND_3_0 = String
"Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported"
licenseName LicenseId
CC_BY_NC_ND_4_0 = String
"Creative Commons Attribution Non Commercial No Derivatives 4.0 International"
licenseName LicenseId
CC_BY_NC_SA_1_0 = String
"Creative Commons Attribution Non Commercial Share Alike 1.0 Generic"
licenseName LicenseId
CC_BY_NC_SA_2_0 = String
"Creative Commons Attribution Non Commercial Share Alike 2.0 Generic"
licenseName LicenseId
CC_BY_NC_SA_2_5 = String
"Creative Commons Attribution Non Commercial Share Alike 2.5 Generic"
licenseName LicenseId
CC_BY_NC_SA_3_0 = String
"Creative Commons Attribution Non Commercial Share Alike 3.0 Unported"
licenseName LicenseId
CC_BY_NC_SA_4_0 = String
"Creative Commons Attribution Non Commercial Share Alike 4.0 International"
licenseName LicenseId
CC_BY_ND_1_0 = String
"Creative Commons Attribution No Derivatives 1.0 Generic"
licenseName LicenseId
CC_BY_ND_2_0 = String
"Creative Commons Attribution No Derivatives 2.0 Generic"
licenseName LicenseId
CC_BY_ND_2_5 = String
"Creative Commons Attribution No Derivatives 2.5 Generic"
licenseName LicenseId
CC_BY_ND_3_0 = String
"Creative Commons Attribution No Derivatives 3.0 Unported"
licenseName LicenseId
CC_BY_ND_4_0 = String
"Creative Commons Attribution No Derivatives 4.0 International"
licenseName LicenseId
CC_BY_SA_1_0 = String
"Creative Commons Attribution Share Alike 1.0 Generic"
licenseName LicenseId
CC_BY_SA_2_0 = String
"Creative Commons Attribution Share Alike 2.0 Generic"
licenseName LicenseId
CC_BY_SA_2_5 = String
"Creative Commons Attribution Share Alike 2.5 Generic"
licenseName LicenseId
CC_BY_SA_3_0_AT = String
"Creative Commons Attribution-Share Alike 3.0 Austria"
licenseName LicenseId
CC_BY_SA_3_0 = String
"Creative Commons Attribution Share Alike 3.0 Unported"
licenseName LicenseId
CC_BY_SA_4_0 = String
"Creative Commons Attribution Share Alike 4.0 International"
licenseName LicenseId
CC_PDDC = String
"Creative Commons Public Domain Dedication and Certification"
licenseName LicenseId
CC0_1_0 = String
"Creative Commons Zero v1.0 Universal"
licenseName LicenseId
CDDL_1_0 = String
"Common Development and Distribution License 1.0"
licenseName LicenseId
CDDL_1_1 = String
"Common Development and Distribution License 1.1"
licenseName LicenseId
CDLA_Permissive_1_0 = String
"Community Data License Agreement Permissive 1.0"
licenseName LicenseId
CDLA_Sharing_1_0 = String
"Community Data License Agreement Sharing 1.0"
licenseName LicenseId
CECILL_1_0 = String
"CeCILL Free Software License Agreement v1.0"
licenseName LicenseId
CECILL_1_1 = String
"CeCILL Free Software License Agreement v1.1"
licenseName LicenseId
CECILL_2_0 = String
"CeCILL Free Software License Agreement v2.0"
licenseName LicenseId
CECILL_2_1 = String
"CeCILL Free Software License Agreement v2.1"
licenseName LicenseId
CECILL_B = String
"CeCILL-B Free Software License Agreement"
licenseName LicenseId
CECILL_C = String
"CeCILL-C Free Software License Agreement"
licenseName LicenseId
CERN_OHL_1_1 = String
"CERN Open Hardware Licence v1.1"
licenseName LicenseId
CERN_OHL_1_2 = String
"CERN Open Hardware Licence v1.2"
licenseName LicenseId
CERN_OHL_P_2_0 = String
"CERN Open Hardware Licence Version 2 - Permissive"
licenseName LicenseId
CERN_OHL_S_2_0 = String
"CERN Open Hardware Licence Version 2 - Strongly Reciprocal"
licenseName LicenseId
CERN_OHL_W_2_0 = String
"CERN Open Hardware Licence Version 2 - Weakly Reciprocal"
licenseName LicenseId
ClArtistic = String
"Clarified Artistic License"
licenseName LicenseId
CNRI_Jython = String
"CNRI Jython License"
licenseName LicenseId
CNRI_Python_GPL_Compatible = String
"CNRI Python Open Source GPL Compatible License Agreement"
licenseName LicenseId
CNRI_Python = String
"CNRI Python License"
licenseName LicenseId
Condor_1_1 = String
"Condor Public License v1.1"
licenseName LicenseId
Copyleft_next_0_3_0 = String
"copyleft-next 0.3.0"
licenseName LicenseId
Copyleft_next_0_3_1 = String
"copyleft-next 0.3.1"
licenseName LicenseId
CPAL_1_0 = String
"Common Public Attribution License 1.0"
licenseName LicenseId
CPL_1_0 = String
"Common Public License 1.0"
licenseName LicenseId
CPOL_1_02 = String
"Code Project Open License 1.02"
licenseName LicenseId
Crossword = String
"Crossword License"
licenseName LicenseId
CrystalStacker = String
"CrystalStacker License"
licenseName LicenseId
CUA_OPL_1_0 = String
"CUA Office Public License v1.0"
licenseName LicenseId
Cube = String
"Cube License"
licenseName LicenseId
Curl = String
"curl License"
licenseName LicenseId
D_FSL_1_0 = String
"Deutsche Freie Software Lizenz"
licenseName LicenseId
Diffmark = String
"diffmark license"
licenseName LicenseId
DOC = String
"DOC License"
licenseName LicenseId
Dotseqn = String
"Dotseqn License"
licenseName LicenseId
DSDP = String
"DSDP License"
licenseName LicenseId
Dvipdfm = String
"dvipdfm License"
licenseName LicenseId
ECL_1_0 = String
"Educational Community License v1.0"
licenseName LicenseId
ECL_2_0 = String
"Educational Community License v2.0"
licenseName LicenseId
EFL_1_0 = String
"Eiffel Forum License v1.0"
licenseName LicenseId
EFL_2_0 = String
"Eiffel Forum License v2.0"
licenseName LicenseId
EGenix = String
"eGenix.com Public License 1.1.0"
licenseName LicenseId
Entessa = String
"Entessa Public License v1.0"
licenseName LicenseId
EPICS = String
"EPICS Open License"
licenseName LicenseId
EPL_1_0 = String
"Eclipse Public License 1.0"
licenseName LicenseId
EPL_2_0 = String
"Eclipse Public License 2.0"
licenseName LicenseId
ErlPL_1_1 = String
"Erlang Public License v1.1"
licenseName LicenseId
Etalab_2_0 = String
"Etalab Open License 2.0"
licenseName LicenseId
EUDatagrid = String
"EU DataGrid Software License"
licenseName LicenseId
EUPL_1_0 = String
"European Union Public License 1.0"
licenseName LicenseId
EUPL_1_1 = String
"European Union Public License 1.1"
licenseName LicenseId
EUPL_1_2 = String
"European Union Public License 1.2"
licenseName LicenseId
Eurosym = String
"Eurosym License"
licenseName LicenseId
Fair = String
"Fair License"
licenseName LicenseId
Frameworx_1_0 = String
"Frameworx Open License 1.0"
licenseName LicenseId
FreeImage = String
"FreeImage Public License v1.0"
licenseName LicenseId
FSFAP = String
"FSF All Permissive License"
licenseName LicenseId
FSFULLR = String
"FSF Unlimited License (with License Retention)"
licenseName LicenseId
FSFUL = String
"FSF Unlimited License"
licenseName LicenseId
FTL = String
"Freetype Project License"
licenseName LicenseId
GFDL_1_1_invariants_only = String
"GNU Free Documentation License v1.1 only - invariants"
licenseName LicenseId
GFDL_1_1_invariants_or_later = String
"GNU Free Documentation License v1.1 or later - invariants"
licenseName LicenseId
GFDL_1_1_no_invariants_only = String
"GNU Free Documentation License v1.1 only - no invariants"
licenseName LicenseId
GFDL_1_1_no_invariants_or_later = String
"GNU Free Documentation License v1.1 or later - no invariants"
licenseName LicenseId
GFDL_1_1_only = String
"GNU Free Documentation License v1.1 only"
licenseName LicenseId
GFDL_1_1_or_later = String
"GNU Free Documentation License v1.1 or later"
licenseName LicenseId
GFDL_1_2_invariants_only = String
"GNU Free Documentation License v1.2 only - invariants"
licenseName LicenseId
GFDL_1_2_invariants_or_later = String
"GNU Free Documentation License v1.2 or later - invariants"
licenseName LicenseId
GFDL_1_2_no_invariants_only = String
"GNU Free Documentation License v1.2 only - no invariants"
licenseName LicenseId
GFDL_1_2_no_invariants_or_later = String
"GNU Free Documentation License v1.2 or later - no invariants"
licenseName LicenseId
GFDL_1_2_only = String
"GNU Free Documentation License v1.2 only"
licenseName LicenseId
GFDL_1_2_or_later = String
"GNU Free Documentation License v1.2 or later"
licenseName LicenseId
GFDL_1_3_invariants_only = String
"GNU Free Documentation License v1.3 only - invariants"
licenseName LicenseId
GFDL_1_3_invariants_or_later = String
"GNU Free Documentation License v1.3 or later - invariants"
licenseName LicenseId
GFDL_1_3_no_invariants_only = String
"GNU Free Documentation License v1.3 only - no invariants"
licenseName LicenseId
GFDL_1_3_no_invariants_or_later = String
"GNU Free Documentation License v1.3 or later - no invariants"
licenseName LicenseId
GFDL_1_3_only = String
"GNU Free Documentation License v1.3 only"
licenseName LicenseId
GFDL_1_3_or_later = String
"GNU Free Documentation License v1.3 or later"
licenseName LicenseId
Giftware = String
"Giftware License"
licenseName LicenseId
GL2PS = String
"GL2PS License"
licenseName LicenseId
Glide = String
"3dfx Glide License"
licenseName LicenseId
Glulxe = String
"Glulxe License"
licenseName LicenseId
GLWTPL = String
"Good Luck With That Public License"
licenseName LicenseId
Gnuplot = String
"gnuplot License"
licenseName LicenseId
GPL_1_0_only = String
"GNU General Public License v1.0 only"
licenseName LicenseId
GPL_1_0_or_later = String
"GNU General Public License v1.0 or later"
licenseName LicenseId
GPL_2_0_only = String
"GNU General Public License v2.0 only"
licenseName LicenseId
GPL_2_0_or_later = String
"GNU General Public License v2.0 or later"
licenseName LicenseId
GPL_3_0_only = String
"GNU General Public License v3.0 only"
licenseName LicenseId
GPL_3_0_or_later = String
"GNU General Public License v3.0 or later"
licenseName LicenseId
GSOAP_1_3b = String
"gSOAP Public License v1.3b"
licenseName LicenseId
HaskellReport = String
"Haskell Language Report License"
licenseName LicenseId
Hippocratic_2_1 = String
"Hippocratic License 2.1"
licenseName LicenseId
HPND_sell_variant = String
"Historical Permission Notice and Disclaimer - sell variant"
licenseName LicenseId
HPND = String
"Historical Permission Notice and Disclaimer"
licenseName LicenseId
IBM_pibs = String
"IBM PowerPC Initialization and Boot Software"
licenseName LicenseId
ICU = String
"ICU License"
licenseName LicenseId
IJG = String
"Independent JPEG Group License"
licenseName LicenseId
ImageMagick = String
"ImageMagick License"
licenseName LicenseId
IMatix = String
"iMatix Standard Function Library Agreement"
licenseName LicenseId
Imlib2 = String
"Imlib2 License"
licenseName LicenseId
Info_ZIP = String
"Info-ZIP License"
licenseName LicenseId
Intel_ACPI = String
"Intel ACPI Software License Agreement"
licenseName LicenseId
Intel = String
"Intel Open Source License"
licenseName LicenseId
Interbase_1_0 = String
"Interbase Public License v1.0"
licenseName LicenseId
IPA = String
"IPA Font License"
licenseName LicenseId
IPL_1_0 = String
"IBM Public License v1.0"
licenseName LicenseId
ISC = String
"ISC License"
licenseName LicenseId
JasPer_2_0 = String
"JasPer License"
licenseName LicenseId
JPNIC = String
"Japan Network Information Center License"
licenseName LicenseId
JSON = String
"JSON License"
licenseName LicenseId
LAL_1_2 = String
"Licence Art Libre 1.2"
licenseName LicenseId
LAL_1_3 = String
"Licence Art Libre 1.3"
licenseName LicenseId
Latex2e = String
"Latex2e License"
licenseName LicenseId
Leptonica = String
"Leptonica License"
licenseName LicenseId
LGPL_2_0_only = String
"GNU Library General Public License v2 only"
licenseName LicenseId
LGPL_2_0_or_later = String
"GNU Library General Public License v2 or later"
licenseName LicenseId
LGPL_2_1_only = String
"GNU Lesser General Public License v2.1 only"
licenseName LicenseId
LGPL_2_1_or_later = String
"GNU Lesser General Public License v2.1 or later"
licenseName LicenseId
LGPL_3_0_only = String
"GNU Lesser General Public License v3.0 only"
licenseName LicenseId
LGPL_3_0_or_later = String
"GNU Lesser General Public License v3.0 or later"
licenseName LicenseId
LGPLLR = String
"Lesser General Public License For Linguistic Resources"
licenseName LicenseId
Libpng_2_0 = String
"PNG Reference Library version 2"
licenseName LicenseId
Libpng = String
"libpng License"
licenseName LicenseId
Libselinux_1_0 = String
"libselinux public domain notice"
licenseName LicenseId
Libtiff = String
"libtiff License"
licenseName LicenseId
LiLiQ_P_1_1 = String
"Licence Libre du Qu\233bec \8211 Permissive version 1.1"
licenseName LicenseId
LiLiQ_R_1_1 = String
"Licence Libre du Qu\233bec \8211 R\233ciprocit\233 version 1.1"
licenseName LicenseId
LiLiQ_Rplus_1_1 = String
"Licence Libre du Qu\233bec \8211 R\233ciprocit\233 forte version 1.1"
licenseName LicenseId
Linux_OpenIB = String
"Linux Kernel Variant of OpenIB.org license"
licenseName LicenseId
LPL_1_02 = String
"Lucent Public License v1.02"
licenseName LicenseId
LPL_1_0 = String
"Lucent Public License Version 1.0"
licenseName LicenseId
LPPL_1_0 = String
"LaTeX Project Public License v1.0"
licenseName LicenseId
LPPL_1_1 = String
"LaTeX Project Public License v1.1"
licenseName LicenseId
LPPL_1_2 = String
"LaTeX Project Public License v1.2"
licenseName LicenseId
LPPL_1_3a = String
"LaTeX Project Public License v1.3a"
licenseName LicenseId
LPPL_1_3c = String
"LaTeX Project Public License v1.3c"
licenseName LicenseId
MakeIndex = String
"MakeIndex License"
licenseName LicenseId
MirOS = String
"The MirOS Licence"
licenseName LicenseId
MIT_0 = String
"MIT No Attribution"
licenseName LicenseId
MIT_advertising = String
"Enlightenment License (e16)"
licenseName LicenseId
MIT_CMU = String
"CMU License"
licenseName LicenseId
MIT_enna = String
"enna License"
licenseName LicenseId
MIT_feh = String
"feh License"
licenseName LicenseId
MITNFA = String
"MIT +no-false-attribs license"
licenseName LicenseId
MIT = String
"MIT License"
licenseName LicenseId
Motosoto = String
"Motosoto License"
licenseName LicenseId
Mpich2 = String
"mpich2 License"
licenseName LicenseId
MPL_1_0 = String
"Mozilla Public License 1.0"
licenseName LicenseId
MPL_1_1 = String
"Mozilla Public License 1.1"
licenseName LicenseId
MPL_2_0_no_copyleft_exception = String
"Mozilla Public License 2.0 (no copyleft exception)"
licenseName LicenseId
MPL_2_0 = String
"Mozilla Public License 2.0"
licenseName LicenseId
MS_PL = String
"Microsoft Public License"
licenseName LicenseId
MS_RL = String
"Microsoft Reciprocal License"
licenseName LicenseId
MTLL = String
"Matrix Template Library License"
licenseName LicenseId
MulanPSL_1_0 = String
"Mulan Permissive Software License, Version 1"
licenseName LicenseId
MulanPSL_2_0 = String
"Mulan Permissive Software License, Version 2"
licenseName LicenseId
Multics = String
"Multics License"
licenseName LicenseId
Mup = String
"Mup License"
licenseName LicenseId
NASA_1_3 = String
"NASA Open Source Agreement 1.3"
licenseName LicenseId
Naumen = String
"Naumen Public License"
licenseName LicenseId
NBPL_1_0 = String
"Net Boolean Public License v1"
licenseName LicenseId
NCGL_UK_2_0 = String
"Non-Commercial Government Licence"
licenseName LicenseId
NCSA = String
"University of Illinois/NCSA Open Source License"
licenseName LicenseId
Net_SNMP = String
"Net-SNMP License"
licenseName LicenseId
NetCDF = String
"NetCDF license"
licenseName LicenseId
Newsletr = String
"Newsletr License"
licenseName LicenseId
NGPL = String
"Nethack General Public License"
licenseName LicenseId
NIST_PD_fallback = String
"NIST Public Domain Notice with license fallback"
licenseName LicenseId
NIST_PD = String
"NIST Public Domain Notice"
licenseName LicenseId
NLOD_1_0 = String
"Norwegian Licence for Open Government Data"
licenseName LicenseId
NLPL = String
"No Limit Public License"
licenseName LicenseId
Nokia = String
"Nokia Open Source License"
licenseName LicenseId
NOSL = String
"Netizen Open Source License"
licenseName LicenseId
Noweb = String
"Noweb License"
licenseName LicenseId
NPL_1_0 = String
"Netscape Public License v1.0"
licenseName LicenseId
NPL_1_1 = String
"Netscape Public License v1.1"
licenseName LicenseId
NPOSL_3_0 = String
"Non-Profit Open Software License 3.0"
licenseName LicenseId
NRL = String
"NRL License"
licenseName LicenseId
NTP_0 = String
"NTP No Attribution"
licenseName LicenseId
NTP = String
"NTP License"
licenseName LicenseId
O_UDA_1_0 = String
"Open Use of Data Agreement v1.0"
licenseName LicenseId
OCCT_PL = String
"Open CASCADE Technology Public License"
licenseName LicenseId
OCLC_2_0 = String
"OCLC Research Public License 2.0"
licenseName LicenseId
ODbL_1_0 = String
"ODC Open Database License v1.0"
licenseName LicenseId
ODC_By_1_0 = String
"Open Data Commons Attribution License v1.0"
licenseName LicenseId
OFL_1_0_no_RFN = String
"SIL Open Font License 1.0 with no Reserved Font Name"
licenseName LicenseId
OFL_1_0_RFN = String
"SIL Open Font License 1.0 with Reserved Font Name"
licenseName LicenseId
OFL_1_0 = String
"SIL Open Font License 1.0"
licenseName LicenseId
OFL_1_1_no_RFN = String
"SIL Open Font License 1.1 with no Reserved Font Name"
licenseName LicenseId
OFL_1_1_RFN = String
"SIL Open Font License 1.1 with Reserved Font Name"
licenseName LicenseId
OFL_1_1 = String
"SIL Open Font License 1.1"
licenseName LicenseId
OGC_1_0 = String
"OGC Software License, Version 1.0"
licenseName LicenseId
OGL_Canada_2_0 = String
"Open Government Licence - Canada"
licenseName LicenseId
OGL_UK_1_0 = String
"Open Government Licence v1.0"
licenseName LicenseId
OGL_UK_2_0 = String
"Open Government Licence v2.0"
licenseName LicenseId
OGL_UK_3_0 = String
"Open Government Licence v3.0"
licenseName LicenseId
OGTSL = String
"Open Group Test Suite License"
licenseName LicenseId
OLDAP_1_1 = String
"Open LDAP Public License v1.1"
licenseName LicenseId
OLDAP_1_2 = String
"Open LDAP Public License v1.2"
licenseName LicenseId
OLDAP_1_3 = String
"Open LDAP Public License v1.3"
licenseName LicenseId
OLDAP_1_4 = String
"Open LDAP Public License v1.4"
licenseName LicenseId
OLDAP_2_0_1 = String
"Open LDAP Public License v2.0.1"
licenseName LicenseId
OLDAP_2_0 = String
"Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)"
licenseName LicenseId
OLDAP_2_1 = String
"Open LDAP Public License v2.1"
licenseName LicenseId
OLDAP_2_2_1 = String
"Open LDAP Public License v2.2.1"
licenseName LicenseId
OLDAP_2_2_2 = String
"Open LDAP Public License 2.2.2"
licenseName LicenseId
OLDAP_2_2 = String
"Open LDAP Public License v2.2"
licenseName LicenseId
OLDAP_2_3 = String
"Open LDAP Public License v2.3"
licenseName LicenseId
OLDAP_2_4 = String
"Open LDAP Public License v2.4"
licenseName LicenseId
OLDAP_2_5 = String
"Open LDAP Public License v2.5"
licenseName LicenseId
OLDAP_2_6 = String
"Open LDAP Public License v2.6"
licenseName LicenseId
OLDAP_2_7 = String
"Open LDAP Public License v2.7"
licenseName LicenseId
OLDAP_2_8 = String
"Open LDAP Public License v2.8"
licenseName LicenseId
OML = String
"Open Market License"
licenseName LicenseId
OpenSSL = String
"OpenSSL License"
licenseName LicenseId
OPL_1_0 = String
"Open Public License v1.0"
licenseName LicenseId
OSET_PL_2_1 = String
"OSET Public License version 2.1"
licenseName LicenseId
OSL_1_0 = String
"Open Software License 1.0"
licenseName LicenseId
OSL_1_1 = String
"Open Software License 1.1"
licenseName LicenseId
OSL_2_0 = String
"Open Software License 2.0"
licenseName LicenseId
OSL_2_1 = String
"Open Software License 2.1"
licenseName LicenseId
OSL_3_0 = String
"Open Software License 3.0"
licenseName LicenseId
Parity_6_0_0 = String
"The Parity Public License 6.0.0"
licenseName LicenseId
Parity_7_0_0 = String
"The Parity Public License 7.0.0"
licenseName LicenseId
PDDL_1_0 = String
"ODC Public Domain Dedication & License 1.0"
licenseName LicenseId
PHP_3_01 = String
"PHP License v3.01"
licenseName LicenseId
PHP_3_0 = String
"PHP License v3.0"
licenseName LicenseId
Plexus = String
"Plexus Classworlds License"
licenseName LicenseId
PolyForm_Noncommercial_1_0_0 = String
"PolyForm Noncommercial License 1.0.0"
licenseName LicenseId
PolyForm_Small_Business_1_0_0 = String
"PolyForm Small Business License 1.0.0"
licenseName LicenseId
PostgreSQL = String
"PostgreSQL License"
licenseName LicenseId
PSF_2_0 = String
"Python Software Foundation License 2.0"
licenseName LicenseId
Psfrag = String
"psfrag License"
licenseName LicenseId
Psutils = String
"psutils License"
licenseName LicenseId
Python_2_0 = String
"Python License 2.0"
licenseName LicenseId
Qhull = String
"Qhull License"
licenseName LicenseId
QPL_1_0 = String
"Q Public License 1.0"
licenseName LicenseId
Rdisc = String
"Rdisc License"
licenseName LicenseId
RHeCos_1_1 = String
"Red Hat eCos Public License v1.1"
licenseName LicenseId
RPL_1_1 = String
"Reciprocal Public License 1.1"
licenseName LicenseId
RPL_1_5 = String
"Reciprocal Public License 1.5"
licenseName LicenseId
RPSL_1_0 = String
"RealNetworks Public Source License v1.0"
licenseName LicenseId
RSA_MD = String
"RSA Message-Digest License"
licenseName LicenseId
RSCPL = String
"Ricoh Source Code Public License"
licenseName LicenseId
Ruby = String
"Ruby License"
licenseName LicenseId
SAX_PD = String
"Sax Public Domain Notice"
licenseName LicenseId
Saxpath = String
"Saxpath License"
licenseName LicenseId
SCEA = String
"SCEA Shared Source License"
licenseName LicenseId
Sendmail_8_23 = String
"Sendmail License 8.23"
licenseName LicenseId
Sendmail = String
"Sendmail License"
licenseName LicenseId
SGI_B_1_0 = String
"SGI Free Software License B v1.0"
licenseName LicenseId
SGI_B_1_1 = String
"SGI Free Software License B v1.1"
licenseName LicenseId
SGI_B_2_0 = String
"SGI Free Software License B v2.0"
licenseName LicenseId
SHL_0_51 = String
"Solderpad Hardware License, Version 0.51"
licenseName LicenseId
SHL_0_5 = String
"Solderpad Hardware License v0.5"
licenseName LicenseId
SimPL_2_0 = String
"Simple Public License 2.0"
licenseName LicenseId
SISSL_1_2 = String
"Sun Industry Standards Source License v1.2"
licenseName LicenseId
SISSL = String
"Sun Industry Standards Source License v1.1"
licenseName LicenseId
Sleepycat = String
"Sleepycat License"
licenseName LicenseId
SMLNJ = String
"Standard ML of New Jersey License"
licenseName LicenseId
SMPPL = String
"Secure Messaging Protocol Public License"
licenseName LicenseId
SNIA = String
"SNIA Public License 1.1"
licenseName LicenseId
Spencer_86 = String
"Spencer License 86"
licenseName LicenseId
Spencer_94 = String
"Spencer License 94"
licenseName LicenseId
Spencer_99 = String
"Spencer License 99"
licenseName LicenseId
SPL_1_0 = String
"Sun Public License v1.0"
licenseName LicenseId
SSH_OpenSSH = String
"SSH OpenSSH license"
licenseName LicenseId
SSH_short = String
"SSH short notice"
licenseName LicenseId
SSPL_1_0 = String
"Server Side Public License, v 1"
licenseName LicenseId
SugarCRM_1_1_3 = String
"SugarCRM Public License v1.1.3"
licenseName LicenseId
SWL = String
"Scheme Widget Library (SWL) Software License Agreement"
licenseName LicenseId
TAPR_OHL_1_0 = String
"TAPR Open Hardware License v1.0"
licenseName LicenseId
TCL = String
"TCL/TK License"
licenseName LicenseId
TCP_wrappers = String
"TCP Wrappers License"
licenseName LicenseId
TMate = String
"TMate Open Source License"
licenseName LicenseId
TORQUE_1_1 = String
"TORQUE v2.5+ Software License v1.1"
licenseName LicenseId
TOSL = String
"Trusster Open Source License"
licenseName LicenseId
TU_Berlin_1_0 = String
"Technische Universitaet Berlin License 1.0"
licenseName LicenseId
TU_Berlin_2_0 = String
"Technische Universitaet Berlin License 2.0"
licenseName LicenseId
UCL_1_0 = String
"Upstream Compatibility License v1.0"
licenseName LicenseId
Unicode_DFS_2015 = String
"Unicode License Agreement - Data Files and Software (2015)"
licenseName LicenseId
Unicode_DFS_2016 = String
"Unicode License Agreement - Data Files and Software (2016)"
licenseName LicenseId
Unicode_TOU = String
"Unicode Terms of Use"
licenseName LicenseId
Unlicense = String
"The Unlicense"
licenseName LicenseId
UPL_1_0 = String
"Universal Permissive License v1.0"
licenseName LicenseId
Vim = String
"Vim License"
licenseName LicenseId
VOSTROM = String
"VOSTROM Public License for Open Source"
licenseName LicenseId
VSL_1_0 = String
"Vovida Software License v1.0"
licenseName LicenseId
W3C_19980720 = String
"W3C Software Notice and License (1998-07-20)"
licenseName LicenseId
W3C_20150513 = String
"W3C Software Notice and Document License (2015-05-13)"
licenseName LicenseId
W3C = String
"W3C Software Notice and License (2002-12-31)"
licenseName LicenseId
Watcom_1_0 = String
"Sybase Open Watcom Public License 1.0"
licenseName LicenseId
Wsuipa = String
"Wsuipa License"
licenseName LicenseId
WTFPL = String
"Do What The F*ck You Want To Public License"
licenseName LicenseId
X11 = String
"X11 License"
licenseName LicenseId
Xerox = String
"Xerox License"
licenseName LicenseId
XFree86_1_1 = String
"XFree86 License 1.1"
licenseName LicenseId
Xinetd = String
"xinetd License"
licenseName LicenseId
Xnet = String
"X.Net License"
licenseName LicenseId
Xpp = String
"XPP License"
licenseName LicenseId
XSkat = String
"XSkat License"
licenseName LicenseId
YPL_1_0 = String
"Yahoo! Public License v1.0"
licenseName LicenseId
YPL_1_1 = String
"Yahoo! Public License v1.1"
licenseName LicenseId
Zed = String
"Zed License"
licenseName LicenseId
Zend_2_0 = String
"Zend License v2.0"
licenseName LicenseId
Zimbra_1_3 = String
"Zimbra Public License v1.3"
licenseName LicenseId
Zimbra_1_4 = String
"Zimbra Public License v1.4"
licenseName LicenseId
Zlib_acknowledgement = String
"zlib/libpng License with Acknowledgement"
licenseName LicenseId
Zlib = String
"zlib License"
licenseName LicenseId
ZPL_1_1 = String
"Zope Public License 1.1"
licenseName LicenseId
ZPL_2_0 = String
"Zope Public License 2.0"
licenseName LicenseId
ZPL_2_1 = String
"Zope Public License 2.1"

-- | Whether the license is approved by Open Source Initiative (OSI).
--
-- See <https://opensource.org/licenses/alphabetical>.
licenseIsOsiApproved :: LicenseId -> Bool
licenseIsOsiApproved :: LicenseId -> Bool
licenseIsOsiApproved LicenseId
NullBSD = Bool
True
licenseIsOsiApproved LicenseId
AAL = Bool
True
licenseIsOsiApproved LicenseId
AFL_1_1 = Bool
True
licenseIsOsiApproved LicenseId
AFL_1_2 = Bool
True
licenseIsOsiApproved LicenseId
AFL_2_0 = Bool
True
licenseIsOsiApproved LicenseId
AFL_2_1 = Bool
True
licenseIsOsiApproved LicenseId
AFL_3_0 = Bool
True
licenseIsOsiApproved LicenseId
AGPL_3_0_only = Bool
True
licenseIsOsiApproved LicenseId
AGPL_3_0_or_later = Bool
True
licenseIsOsiApproved LicenseId
Apache_1_1 = Bool
True
licenseIsOsiApproved LicenseId
Apache_2_0 = Bool
True
licenseIsOsiApproved LicenseId
APL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
APSL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
APSL_1_1 = Bool
True
licenseIsOsiApproved LicenseId
APSL_1_2 = Bool
True
licenseIsOsiApproved LicenseId
APSL_2_0 = Bool
True
licenseIsOsiApproved LicenseId
Artistic_1_0_cl8 = Bool
True
licenseIsOsiApproved LicenseId
Artistic_1_0_Perl = Bool
True
licenseIsOsiApproved LicenseId
Artistic_1_0 = Bool
True
licenseIsOsiApproved LicenseId
Artistic_2_0 = Bool
True
licenseIsOsiApproved LicenseId
BSD_1_Clause = Bool
True
licenseIsOsiApproved LicenseId
BSD_2_Clause_Patent = Bool
True
licenseIsOsiApproved LicenseId
BSD_2_Clause = Bool
True
licenseIsOsiApproved LicenseId
BSD_3_Clause_LBNL = Bool
True
licenseIsOsiApproved LicenseId
BSD_3_Clause = Bool
True
licenseIsOsiApproved LicenseId
BSL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
CAL_1_0_Combined_Work_Exception = Bool
True
licenseIsOsiApproved LicenseId
CAL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
CATOSL_1_1 = Bool
True
licenseIsOsiApproved LicenseId
CDDL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
CECILL_2_1 = Bool
True
licenseIsOsiApproved LicenseId
CNRI_Python = Bool
True
licenseIsOsiApproved LicenseId
CPAL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
CPL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
CUA_OPL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
ECL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
ECL_2_0 = Bool
True
licenseIsOsiApproved LicenseId
EFL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
EFL_2_0 = Bool
True
licenseIsOsiApproved LicenseId
Entessa = Bool
True
licenseIsOsiApproved LicenseId
EPL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
EPL_2_0 = Bool
True
licenseIsOsiApproved LicenseId
EUDatagrid = Bool
True
licenseIsOsiApproved LicenseId
EUPL_1_1 = Bool
True
licenseIsOsiApproved LicenseId
EUPL_1_2 = Bool
True
licenseIsOsiApproved LicenseId
Fair = Bool
True
licenseIsOsiApproved LicenseId
Frameworx_1_0 = Bool
True
licenseIsOsiApproved LicenseId
GPL_2_0_only = Bool
True
licenseIsOsiApproved LicenseId
GPL_2_0_or_later = Bool
True
licenseIsOsiApproved LicenseId
GPL_3_0_only = Bool
True
licenseIsOsiApproved LicenseId
GPL_3_0_or_later = Bool
True
licenseIsOsiApproved LicenseId
HPND = Bool
True
licenseIsOsiApproved LicenseId
Intel = Bool
True
licenseIsOsiApproved LicenseId
IPA = Bool
True
licenseIsOsiApproved LicenseId
IPL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
ISC = Bool
True
licenseIsOsiApproved LicenseId
LGPL_2_0_only = Bool
True
licenseIsOsiApproved LicenseId
LGPL_2_0_or_later = Bool
True
licenseIsOsiApproved LicenseId
LGPL_2_1_only = Bool
True
licenseIsOsiApproved LicenseId
LGPL_2_1_or_later = Bool
True
licenseIsOsiApproved LicenseId
LGPL_3_0_only = Bool
True
licenseIsOsiApproved LicenseId
LGPL_3_0_or_later = Bool
True
licenseIsOsiApproved LicenseId
LiLiQ_P_1_1 = Bool
True
licenseIsOsiApproved LicenseId
LiLiQ_R_1_1 = Bool
True
licenseIsOsiApproved LicenseId
LiLiQ_Rplus_1_1 = Bool
True
licenseIsOsiApproved LicenseId
LPL_1_02 = Bool
True
licenseIsOsiApproved LicenseId
LPL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
LPPL_1_3c = Bool
True
licenseIsOsiApproved LicenseId
MirOS = Bool
True
licenseIsOsiApproved LicenseId
MIT = Bool
True
licenseIsOsiApproved LicenseId
Motosoto = Bool
True
licenseIsOsiApproved LicenseId
MPL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
MPL_1_1 = Bool
True
licenseIsOsiApproved LicenseId
MPL_2_0_no_copyleft_exception = Bool
True
licenseIsOsiApproved LicenseId
MPL_2_0 = Bool
True
licenseIsOsiApproved LicenseId
MS_PL = Bool
True
licenseIsOsiApproved LicenseId
MS_RL = Bool
True
licenseIsOsiApproved LicenseId
MulanPSL_2_0 = Bool
True
licenseIsOsiApproved LicenseId
Multics = Bool
True
licenseIsOsiApproved LicenseId
NASA_1_3 = Bool
True
licenseIsOsiApproved LicenseId
Naumen = Bool
True
licenseIsOsiApproved LicenseId
NCSA = Bool
True
licenseIsOsiApproved LicenseId
NGPL = Bool
True
licenseIsOsiApproved LicenseId
Nokia = Bool
True
licenseIsOsiApproved LicenseId
NPOSL_3_0 = Bool
True
licenseIsOsiApproved LicenseId
NTP = Bool
True
licenseIsOsiApproved LicenseId
OCLC_2_0 = Bool
True
licenseIsOsiApproved LicenseId
OFL_1_1_no_RFN = Bool
True
licenseIsOsiApproved LicenseId
OFL_1_1_RFN = Bool
True
licenseIsOsiApproved LicenseId
OFL_1_1 = Bool
True
licenseIsOsiApproved LicenseId
OGTSL = Bool
True
licenseIsOsiApproved LicenseId
OSET_PL_2_1 = Bool
True
licenseIsOsiApproved LicenseId
OSL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
OSL_2_0 = Bool
True
licenseIsOsiApproved LicenseId
OSL_2_1 = Bool
True
licenseIsOsiApproved LicenseId
OSL_3_0 = Bool
True
licenseIsOsiApproved LicenseId
PHP_3_01 = Bool
True
licenseIsOsiApproved LicenseId
PHP_3_0 = Bool
True
licenseIsOsiApproved LicenseId
PostgreSQL = Bool
True
licenseIsOsiApproved LicenseId
Python_2_0 = Bool
True
licenseIsOsiApproved LicenseId
QPL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
RPL_1_1 = Bool
True
licenseIsOsiApproved LicenseId
RPL_1_5 = Bool
True
licenseIsOsiApproved LicenseId
RPSL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
RSCPL = Bool
True
licenseIsOsiApproved LicenseId
SimPL_2_0 = Bool
True
licenseIsOsiApproved LicenseId
SISSL = Bool
True
licenseIsOsiApproved LicenseId
Sleepycat = Bool
True
licenseIsOsiApproved LicenseId
SPL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
UCL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
Unlicense = Bool
True
licenseIsOsiApproved LicenseId
UPL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
VSL_1_0 = Bool
True
licenseIsOsiApproved LicenseId
W3C = Bool
True
licenseIsOsiApproved LicenseId
Watcom_1_0 = Bool
True
licenseIsOsiApproved LicenseId
Xnet = Bool
True
licenseIsOsiApproved LicenseId
Zlib = Bool
True
licenseIsOsiApproved LicenseId
ZPL_2_0 = Bool
True
licenseIsOsiApproved LicenseId
_ = Bool
False

-- | Whether the license is considered libre by Free Software Foundation (FSF).
--
-- See <https://www.gnu.org/licenses/license-list.en.html>
--
-- @since 3.4.0.0
--
licenseIsFsfLibre :: LicenseId -> Bool
licenseIsFsfLibre :: LicenseId -> Bool
licenseIsFsfLibre LicenseId
AFL_1_1 = Bool
True
licenseIsFsfLibre LicenseId
AFL_1_2 = Bool
True
licenseIsFsfLibre LicenseId
AFL_2_0 = Bool
True
licenseIsFsfLibre LicenseId
AFL_2_1 = Bool
True
licenseIsFsfLibre LicenseId
AFL_3_0 = Bool
True
licenseIsFsfLibre LicenseId
AGPL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
AGPL_3_0_only = Bool
True
licenseIsFsfLibre LicenseId
AGPL_3_0_or_later = Bool
True
licenseIsFsfLibre LicenseId
Apache_1_0 = Bool
True
licenseIsFsfLibre LicenseId
Apache_1_1 = Bool
True
licenseIsFsfLibre LicenseId
Apache_2_0 = Bool
True
licenseIsFsfLibre LicenseId
APSL_2_0 = Bool
True
licenseIsFsfLibre LicenseId
Artistic_2_0 = Bool
True
licenseIsFsfLibre LicenseId
BitTorrent_1_1 = Bool
True
licenseIsFsfLibre LicenseId
BSD_2_Clause_FreeBSD = Bool
True
licenseIsFsfLibre LicenseId
BSD_3_Clause_Clear = Bool
True
licenseIsFsfLibre LicenseId
BSD_3_Clause = Bool
True
licenseIsFsfLibre LicenseId
BSD_4_Clause = Bool
True
licenseIsFsfLibre LicenseId
BSL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
CC_BY_4_0 = Bool
True
licenseIsFsfLibre LicenseId
CC_BY_SA_4_0 = Bool
True
licenseIsFsfLibre LicenseId
CC0_1_0 = Bool
True
licenseIsFsfLibre LicenseId
CDDL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
CECILL_2_0 = Bool
True
licenseIsFsfLibre LicenseId
CECILL_B = Bool
True
licenseIsFsfLibre LicenseId
CECILL_C = Bool
True
licenseIsFsfLibre LicenseId
ClArtistic = Bool
True
licenseIsFsfLibre LicenseId
Condor_1_1 = Bool
True
licenseIsFsfLibre LicenseId
CPAL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
CPL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
ECL_2_0 = Bool
True
licenseIsFsfLibre LicenseId
EFL_2_0 = Bool
True
licenseIsFsfLibre LicenseId
EPL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
EPL_2_0 = Bool
True
licenseIsFsfLibre LicenseId
EUDatagrid = Bool
True
licenseIsFsfLibre LicenseId
EUPL_1_1 = Bool
True
licenseIsFsfLibre LicenseId
EUPL_1_2 = Bool
True
licenseIsFsfLibre LicenseId
FSFAP = Bool
True
licenseIsFsfLibre LicenseId
FTL = Bool
True
licenseIsFsfLibre LicenseId
GFDL_1_1_only = Bool
True
licenseIsFsfLibre LicenseId
GFDL_1_1_or_later = Bool
True
licenseIsFsfLibre LicenseId
GFDL_1_2_only = Bool
True
licenseIsFsfLibre LicenseId
GFDL_1_2_or_later = Bool
True
licenseIsFsfLibre LicenseId
GFDL_1_3_only = Bool
True
licenseIsFsfLibre LicenseId
GFDL_1_3_or_later = Bool
True
licenseIsFsfLibre LicenseId
Gnuplot = Bool
True
licenseIsFsfLibre LicenseId
GPL_2_0_only = Bool
True
licenseIsFsfLibre LicenseId
GPL_2_0_or_later = Bool
True
licenseIsFsfLibre LicenseId
GPL_3_0_only = Bool
True
licenseIsFsfLibre LicenseId
GPL_3_0_or_later = Bool
True
licenseIsFsfLibre LicenseId
HPND = Bool
True
licenseIsFsfLibre LicenseId
IJG = Bool
True
licenseIsFsfLibre LicenseId
IMatix = Bool
True
licenseIsFsfLibre LicenseId
Imlib2 = Bool
True
licenseIsFsfLibre LicenseId
Intel = Bool
True
licenseIsFsfLibre LicenseId
IPA = Bool
True
licenseIsFsfLibre LicenseId
IPL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
ISC = Bool
True
licenseIsFsfLibre LicenseId
LGPL_2_1_only = Bool
True
licenseIsFsfLibre LicenseId
LGPL_2_1_or_later = Bool
True
licenseIsFsfLibre LicenseId
LGPL_3_0_only = Bool
True
licenseIsFsfLibre LicenseId
LGPL_3_0_or_later = Bool
True
licenseIsFsfLibre LicenseId
LPL_1_02 = Bool
True
licenseIsFsfLibre LicenseId
LPPL_1_2 = Bool
True
licenseIsFsfLibre LicenseId
LPPL_1_3a = Bool
True
licenseIsFsfLibre LicenseId
MIT = Bool
True
licenseIsFsfLibre LicenseId
MPL_1_1 = Bool
True
licenseIsFsfLibre LicenseId
MPL_2_0 = Bool
True
licenseIsFsfLibre LicenseId
MS_PL = Bool
True
licenseIsFsfLibre LicenseId
MS_RL = Bool
True
licenseIsFsfLibre LicenseId
NCSA = Bool
True
licenseIsFsfLibre LicenseId
Nokia = Bool
True
licenseIsFsfLibre LicenseId
NOSL = Bool
True
licenseIsFsfLibre LicenseId
NPL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
NPL_1_1 = Bool
True
licenseIsFsfLibre LicenseId
ODbL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
OFL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
OFL_1_1 = Bool
True
licenseIsFsfLibre LicenseId
OLDAP_2_3 = Bool
True
licenseIsFsfLibre LicenseId
OLDAP_2_7 = Bool
True
licenseIsFsfLibre LicenseId
OpenSSL = Bool
True
licenseIsFsfLibre LicenseId
OSL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
OSL_1_1 = Bool
True
licenseIsFsfLibre LicenseId
OSL_2_0 = Bool
True
licenseIsFsfLibre LicenseId
OSL_2_1 = Bool
True
licenseIsFsfLibre LicenseId
OSL_3_0 = Bool
True
licenseIsFsfLibre LicenseId
PHP_3_01 = Bool
True
licenseIsFsfLibre LicenseId
Python_2_0 = Bool
True
licenseIsFsfLibre LicenseId
QPL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
RPSL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
Ruby = Bool
True
licenseIsFsfLibre LicenseId
SGI_B_2_0 = Bool
True
licenseIsFsfLibre LicenseId
SISSL = Bool
True
licenseIsFsfLibre LicenseId
Sleepycat = Bool
True
licenseIsFsfLibre LicenseId
SMLNJ = Bool
True
licenseIsFsfLibre LicenseId
SPL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
Unlicense = Bool
True
licenseIsFsfLibre LicenseId
UPL_1_0 = Bool
True
licenseIsFsfLibre LicenseId
Vim = Bool
True
licenseIsFsfLibre LicenseId
W3C = Bool
True
licenseIsFsfLibre LicenseId
WTFPL = Bool
True
licenseIsFsfLibre LicenseId
X11 = Bool
True
licenseIsFsfLibre LicenseId
XFree86_1_1 = Bool
True
licenseIsFsfLibre LicenseId
Xinetd = Bool
True
licenseIsFsfLibre LicenseId
YPL_1_1 = Bool
True
licenseIsFsfLibre LicenseId
Zend_2_0 = Bool
True
licenseIsFsfLibre LicenseId
Zimbra_1_3 = Bool
True
licenseIsFsfLibre LicenseId
Zlib = Bool
True
licenseIsFsfLibre LicenseId
ZPL_2_0 = Bool
True
licenseIsFsfLibre LicenseId
ZPL_2_1 = Bool
True
licenseIsFsfLibre LicenseId
_ = Bool
False

-------------------------------------------------------------------------------
-- Creation
-------------------------------------------------------------------------------

licenseIdList :: LicenseListVersion -> [LicenseId]
licenseIdList :: LicenseListVersion -> [LicenseId]
licenseIdList LicenseListVersion
LicenseListVersion_3_0 =
    [ LicenseId
AGPL_1_0
    , LicenseId
BSD_2_Clause_FreeBSD
    , LicenseId
BSD_2_Clause_NetBSD
    ]
    [LicenseId] -> [LicenseId] -> [LicenseId]
forall a. [a] -> [a] -> [a]
++ [LicenseId]
bulkOfLicenses
licenseIdList LicenseListVersion
LicenseListVersion_3_2 =
    [ LicenseId
AGPL_1_0_only
    , LicenseId
AGPL_1_0_or_later
    , LicenseId
BSD_2_Clause_FreeBSD
    , LicenseId
BSD_2_Clause_NetBSD
    , LicenseId
Linux_OpenIB
    , LicenseId
MIT_0
    , LicenseId
ODC_By_1_0
    , LicenseId
TU_Berlin_1_0
    , LicenseId
TU_Berlin_2_0
    ]
    [LicenseId] -> [LicenseId] -> [LicenseId]
forall a. [a] -> [a] -> [a]
++ [LicenseId]
bulkOfLicenses
licenseIdList LicenseListVersion
LicenseListVersion_3_6 =
    [ LicenseId
AGPL_1_0_only
    , LicenseId
AGPL_1_0_or_later
    , LicenseId
Blessing
    , LicenseId
BlueOak_1_0_0
    , LicenseId
BSD_2_Clause_FreeBSD
    , LicenseId
BSD_2_Clause_NetBSD
    , LicenseId
BSD_3_Clause_Open_MPI
    , LicenseId
CC_PDDC
    , LicenseId
CERN_OHL_1_1
    , LicenseId
CERN_OHL_1_2
    , LicenseId
Copyleft_next_0_3_0
    , LicenseId
Copyleft_next_0_3_1
    , LicenseId
HPND_sell_variant
    , LicenseId
JPNIC
    , LicenseId
Libpng_2_0
    , LicenseId
Linux_OpenIB
    , LicenseId
MIT_0
    , LicenseId
ODC_By_1_0
    , LicenseId
OGL_UK_1_0
    , LicenseId
OGL_UK_2_0
    , LicenseId
OGL_UK_3_0
    , LicenseId
Parity_6_0_0
    , LicenseId
Sendmail_8_23
    , LicenseId
SHL_0_51
    , LicenseId
SHL_0_5
    , LicenseId
SSPL_1_0
    , LicenseId
TAPR_OHL_1_0
    , LicenseId
TU_Berlin_1_0
    , LicenseId
TU_Berlin_2_0
    ]
    [LicenseId] -> [LicenseId] -> [LicenseId]
forall a. [a] -> [a] -> [a]
++ [LicenseId]
bulkOfLicenses
licenseIdList LicenseListVersion
LicenseListVersion_3_9 =
    [ LicenseId
AGPL_1_0_only
    , LicenseId
AGPL_1_0_or_later
    , LicenseId
Blessing
    , LicenseId
BlueOak_1_0_0
    , LicenseId
BSD_2_Clause_FreeBSD
    , LicenseId
BSD_3_Clause_Open_MPI
    , LicenseId
CAL_1_0_Combined_Work_Exception
    , LicenseId
CAL_1_0
    , LicenseId
CC_PDDC
    , LicenseId
CERN_OHL_1_1
    , LicenseId
CERN_OHL_1_2
    , LicenseId
CERN_OHL_P_2_0
    , LicenseId
CERN_OHL_S_2_0
    , LicenseId
CERN_OHL_W_2_0
    , LicenseId
Copyleft_next_0_3_0
    , LicenseId
Copyleft_next_0_3_1
    , LicenseId
Etalab_2_0
    , LicenseId
Hippocratic_2_1
    , LicenseId
HPND_sell_variant
    , LicenseId
JPNIC
    , LicenseId
Libpng_2_0
    , LicenseId
Libselinux_1_0
    , LicenseId
Linux_OpenIB
    , LicenseId
MIT_0
    , LicenseId
MulanPSL_1_0
    , LicenseId
MulanPSL_2_0
    , LicenseId
NCGL_UK_2_0
    , LicenseId
NTP_0
    , LicenseId
O_UDA_1_0
    , LicenseId
ODC_By_1_0
    , LicenseId
OFL_1_0_no_RFN
    , LicenseId
OFL_1_0_RFN
    , LicenseId
OFL_1_1_no_RFN
    , LicenseId
OFL_1_1_RFN
    , LicenseId
OGC_1_0
    , LicenseId
OGL_Canada_2_0
    , LicenseId
OGL_UK_1_0
    , LicenseId
OGL_UK_2_0
    , LicenseId
OGL_UK_3_0
    , LicenseId
Parity_6_0_0
    , LicenseId
Parity_7_0_0
    , LicenseId
PolyForm_Noncommercial_1_0_0
    , LicenseId
PolyForm_Small_Business_1_0_0
    , LicenseId
PSF_2_0
    , LicenseId
Sendmail_8_23
    , LicenseId
SHL_0_51
    , LicenseId
SHL_0_5
    , LicenseId
SSH_OpenSSH
    , LicenseId
SSH_short
    , LicenseId
SSPL_1_0
    , LicenseId
TAPR_OHL_1_0
    , LicenseId
TU_Berlin_1_0
    , LicenseId
TU_Berlin_2_0
    , LicenseId
UCL_1_0
    ]
    [LicenseId] -> [LicenseId] -> [LicenseId]
forall a. [a] -> [a] -> [a]
++ [LicenseId]
bulkOfLicenses
licenseIdList LicenseListVersion
LicenseListVersion_3_10 =
    [ LicenseId
AGPL_1_0_only
    , LicenseId
AGPL_1_0_or_later
    , LicenseId
Blessing
    , LicenseId
BlueOak_1_0_0
    , LicenseId
BSD_2_Clause_FreeBSD
    , LicenseId
BSD_3_Clause_Open_MPI
    , LicenseId
CAL_1_0_Combined_Work_Exception
    , LicenseId
CAL_1_0
    , LicenseId
CC_PDDC
    , LicenseId
CERN_OHL_1_1
    , LicenseId
CERN_OHL_1_2
    , LicenseId
CERN_OHL_P_2_0
    , LicenseId
CERN_OHL_S_2_0
    , LicenseId
CERN_OHL_W_2_0
    , LicenseId
Copyleft_next_0_3_0
    , LicenseId
Copyleft_next_0_3_1
    , LicenseId
Etalab_2_0
    , LicenseId
Hippocratic_2_1
    , LicenseId
HPND_sell_variant
    , LicenseId
JPNIC
    , LicenseId
Libpng_2_0
    , LicenseId
Libselinux_1_0
    , LicenseId
Linux_OpenIB
    , LicenseId
MIT_0
    , LicenseId
MulanPSL_1_0
    , LicenseId
MulanPSL_2_0
    , LicenseId
NCGL_UK_2_0
    , LicenseId
NTP_0
    , LicenseId
O_UDA_1_0
    , LicenseId
ODC_By_1_0
    , LicenseId
OFL_1_0_no_RFN
    , LicenseId
OFL_1_0_RFN
    , LicenseId
OFL_1_1_no_RFN
    , LicenseId
OFL_1_1_RFN
    , LicenseId
OGC_1_0
    , LicenseId
OGL_Canada_2_0
    , LicenseId
OGL_UK_1_0
    , LicenseId
OGL_UK_2_0
    , LicenseId
OGL_UK_3_0
    , LicenseId
Parity_6_0_0
    , LicenseId
Parity_7_0_0
    , LicenseId
PolyForm_Noncommercial_1_0_0
    , LicenseId
PolyForm_Small_Business_1_0_0
    , LicenseId
PSF_2_0
    , LicenseId
Sendmail_8_23
    , LicenseId
SHL_0_51
    , LicenseId
SHL_0_5
    , LicenseId
SSH_OpenSSH
    , LicenseId
SSH_short
    , LicenseId
SSPL_1_0
    , LicenseId
TAPR_OHL_1_0
    , LicenseId
TU_Berlin_1_0
    , LicenseId
TU_Berlin_2_0
    , LicenseId
UCL_1_0
    ]
    [LicenseId] -> [LicenseId] -> [LicenseId]
forall a. [a] -> [a] -> [a]
++ [LicenseId]
bulkOfLicenses

-- | Create a 'LicenseId' from a 'String'.
mkLicenseId :: LicenseListVersion -> String -> Maybe LicenseId
mkLicenseId :: LicenseListVersion -> String -> Maybe LicenseId
mkLicenseId LicenseListVersion
LicenseListVersion_3_0  String
s = String -> Map String LicenseId -> Maybe LicenseId
forall k a. Ord k => k -> Map k a -> Maybe a
Map.lookup String
s Map String LicenseId
stringLookup_3_0
mkLicenseId LicenseListVersion
LicenseListVersion_3_2  String
s = String -> Map String LicenseId -> Maybe LicenseId
forall k a. Ord k => k -> Map k a -> Maybe a
Map.lookup String
s Map String LicenseId
stringLookup_3_2
mkLicenseId LicenseListVersion
LicenseListVersion_3_6  String
s = String -> Map String LicenseId -> Maybe LicenseId
forall k a. Ord k => k -> Map k a -> Maybe a
Map.lookup String
s Map String LicenseId
stringLookup_3_6
mkLicenseId LicenseListVersion
LicenseListVersion_3_9  String
s = String -> Map String LicenseId -> Maybe LicenseId
forall k a. Ord k => k -> Map k a -> Maybe a
Map.lookup String
s Map String LicenseId
stringLookup_3_9
mkLicenseId LicenseListVersion
LicenseListVersion_3_10 String
s = String -> Map String LicenseId -> Maybe LicenseId
forall k a. Ord k => k -> Map k a -> Maybe a
Map.lookup String
s Map String LicenseId
stringLookup_3_10

stringLookup_3_0 :: Map String LicenseId
stringLookup_3_0 :: Map String LicenseId
stringLookup_3_0 = [(String, LicenseId)] -> Map String LicenseId
forall k a. Ord k => [(k, a)] -> Map k a
Map.fromList ([(String, LicenseId)] -> Map String LicenseId)
-> [(String, LicenseId)] -> Map String LicenseId
forall a b. (a -> b) -> a -> b
$ (LicenseId -> (String, LicenseId))
-> [LicenseId] -> [(String, LicenseId)]
forall a b. (a -> b) -> [a] -> [b]
map (\LicenseId
i -> (LicenseId -> String
licenseId LicenseId
i, LicenseId
i)) ([LicenseId] -> [(String, LicenseId)])
-> [LicenseId] -> [(String, LicenseId)]
forall a b. (a -> b) -> a -> b
$
    LicenseListVersion -> [LicenseId]
licenseIdList LicenseListVersion
LicenseListVersion_3_0

stringLookup_3_2 :: Map String LicenseId
stringLookup_3_2 :: Map String LicenseId
stringLookup_3_2 = [(String, LicenseId)] -> Map String LicenseId
forall k a. Ord k => [(k, a)] -> Map k a
Map.fromList ([(String, LicenseId)] -> Map String LicenseId)
-> [(String, LicenseId)] -> Map String LicenseId
forall a b. (a -> b) -> a -> b
$ (LicenseId -> (String, LicenseId))
-> [LicenseId] -> [(String, LicenseId)]
forall a b. (a -> b) -> [a] -> [b]
map (\LicenseId
i -> (LicenseId -> String
licenseId LicenseId
i, LicenseId
i)) ([LicenseId] -> [(String, LicenseId)])
-> [LicenseId] -> [(String, LicenseId)]
forall a b. (a -> b) -> a -> b
$
    LicenseListVersion -> [LicenseId]
licenseIdList LicenseListVersion
LicenseListVersion_3_2

stringLookup_3_6 :: Map String LicenseId
stringLookup_3_6 :: Map String LicenseId
stringLookup_3_6 = [(String, LicenseId)] -> Map String LicenseId
forall k a. Ord k => [(k, a)] -> Map k a
Map.fromList ([(String, LicenseId)] -> Map String LicenseId)
-> [(String, LicenseId)] -> Map String LicenseId
forall a b. (a -> b) -> a -> b
$ (LicenseId -> (String, LicenseId))
-> [LicenseId] -> [(String, LicenseId)]
forall a b. (a -> b) -> [a] -> [b]
map (\LicenseId
i -> (LicenseId -> String
licenseId LicenseId
i, LicenseId
i)) ([LicenseId] -> [(String, LicenseId)])
-> [LicenseId] -> [(String, LicenseId)]
forall a b. (a -> b) -> a -> b
$
    LicenseListVersion -> [LicenseId]
licenseIdList LicenseListVersion
LicenseListVersion_3_6

stringLookup_3_9 :: Map String LicenseId
stringLookup_3_9 :: Map String LicenseId
stringLookup_3_9 = [(String, LicenseId)] -> Map String LicenseId
forall k a. Ord k => [(k, a)] -> Map k a
Map.fromList ([(String, LicenseId)] -> Map String LicenseId)
-> [(String, LicenseId)] -> Map String LicenseId
forall a b. (a -> b) -> a -> b
$ (LicenseId -> (String, LicenseId))
-> [LicenseId] -> [(String, LicenseId)]
forall a b. (a -> b) -> [a] -> [b]
map (\LicenseId
i -> (LicenseId -> String
licenseId LicenseId
i, LicenseId
i)) ([LicenseId] -> [(String, LicenseId)])
-> [LicenseId] -> [(String, LicenseId)]
forall a b. (a -> b) -> a -> b
$
    LicenseListVersion -> [LicenseId]
licenseIdList LicenseListVersion
LicenseListVersion_3_9

stringLookup_3_10 :: Map String LicenseId
stringLookup_3_10 :: Map String LicenseId
stringLookup_3_10 = [(String, LicenseId)] -> Map String LicenseId
forall k a. Ord k => [(k, a)] -> Map k a
Map.fromList ([(String, LicenseId)] -> Map String LicenseId)
-> [(String, LicenseId)] -> Map String LicenseId
forall a b. (a -> b) -> a -> b
$ (LicenseId -> (String, LicenseId))
-> [LicenseId] -> [(String, LicenseId)]
forall a b. (a -> b) -> [a] -> [b]
map (\LicenseId
i -> (LicenseId -> String
licenseId LicenseId
i, LicenseId
i)) ([LicenseId] -> [(String, LicenseId)])
-> [LicenseId] -> [(String, LicenseId)]
forall a b. (a -> b) -> a -> b
$
    LicenseListVersion -> [LicenseId]
licenseIdList LicenseListVersion
LicenseListVersion_3_10

--  | Licenses in all SPDX License lists
bulkOfLicenses :: [LicenseId]
bulkOfLicenses :: [LicenseId]
bulkOfLicenses =
    [ LicenseId
NullBSD
    , LicenseId
AAL
    , LicenseId
Abstyles
    , LicenseId
Adobe_2006
    , LicenseId
Adobe_Glyph
    , LicenseId
ADSL
    , LicenseId
AFL_1_1
    , LicenseId
AFL_1_2
    , LicenseId
AFL_2_0
    , LicenseId
AFL_2_1
    , LicenseId
AFL_3_0
    , LicenseId
Afmparse
    , LicenseId
AGPL_3_0_only
    , LicenseId
AGPL_3_0_or_later
    , LicenseId
Aladdin
    , LicenseId
AMDPLPA
    , LicenseId
AML
    , LicenseId
AMPAS
    , LicenseId
ANTLR_PD
    , LicenseId
Apache_1_0
    , LicenseId
Apache_1_1
    , LicenseId
Apache_2_0
    , LicenseId
APAFML
    , LicenseId
APL_1_0
    , LicenseId
APSL_1_0
    , LicenseId
APSL_1_1
    , LicenseId
APSL_1_2
    , LicenseId
APSL_2_0
    , LicenseId
Artistic_1_0_cl8
    , LicenseId
Artistic_1_0_Perl
    , LicenseId
Artistic_1_0
    , LicenseId
Artistic_2_0
    , LicenseId
Bahyph
    , LicenseId
Barr
    , LicenseId
Beerware
    , LicenseId
BitTorrent_1_0
    , LicenseId
BitTorrent_1_1
    , LicenseId
Borceux
    , LicenseId
BSD_1_Clause
    , LicenseId
BSD_2_Clause_Patent
    , LicenseId
BSD_2_Clause
    , LicenseId
BSD_3_Clause_Attribution
    , LicenseId
BSD_3_Clause_Clear
    , LicenseId
BSD_3_Clause_LBNL
    , LicenseId
BSD_3_Clause_No_Nuclear_License_2014
    , LicenseId
BSD_3_Clause_No_Nuclear_License
    , LicenseId
BSD_3_Clause_No_Nuclear_Warranty
    , LicenseId
BSD_3_Clause
    , LicenseId
BSD_4_Clause_UC
    , LicenseId
BSD_4_Clause
    , LicenseId
BSD_Protection
    , LicenseId
BSD_Source_Code
    , LicenseId
BSL_1_0
    , LicenseId
Bzip2_1_0_5
    , LicenseId
Bzip2_1_0_6
    , LicenseId
Caldera
    , LicenseId
CATOSL_1_1
    , LicenseId
CC_BY_1_0
    , LicenseId
CC_BY_2_0
    , LicenseId
CC_BY_2_5
    , LicenseId
CC_BY_3_0
    , LicenseId
CC_BY_4_0
    , LicenseId
CC_BY_NC_1_0
    , LicenseId
CC_BY_NC_2_0
    , LicenseId
CC_BY_NC_2_5
    , LicenseId
CC_BY_NC_3_0
    , LicenseId
CC_BY_NC_4_0
    , LicenseId
CC_BY_NC_ND_1_0
    , LicenseId
CC_BY_NC_ND_2_0
    , LicenseId
CC_BY_NC_ND_2_5
    , LicenseId
CC_BY_NC_ND_3_0
    , LicenseId
CC_BY_NC_ND_4_0
    , LicenseId
CC_BY_NC_SA_1_0
    , LicenseId
CC_BY_NC_SA_2_0
    , LicenseId
CC_BY_NC_SA_2_5
    , LicenseId
CC_BY_NC_SA_3_0
    , LicenseId
CC_BY_NC_SA_4_0
    , LicenseId
CC_BY_ND_1_0
    , LicenseId
CC_BY_ND_2_0
    , LicenseId
CC_BY_ND_2_5
    , LicenseId
CC_BY_ND_3_0
    , LicenseId
CC_BY_ND_4_0
    , LicenseId
CC_BY_SA_1_0
    , LicenseId
CC_BY_SA_2_0
    , LicenseId
CC_BY_SA_2_5
    , LicenseId
CC_BY_SA_3_0
    , LicenseId
CC_BY_SA_4_0
    , LicenseId
CC0_1_0
    , LicenseId
CDDL_1_0
    , LicenseId
CDDL_1_1
    , LicenseId
CDLA_Permissive_1_0
    , LicenseId
CDLA_Sharing_1_0
    , LicenseId
CECILL_1_0
    , LicenseId
CECILL_1_1
    , LicenseId
CECILL_2_0
    , LicenseId
CECILL_2_1
    , LicenseId
CECILL_B
    , LicenseId
CECILL_C
    , LicenseId
ClArtistic
    , LicenseId
CNRI_Jython
    , LicenseId
CNRI_Python_GPL_Compatible
    , LicenseId
CNRI_Python
    , LicenseId
Condor_1_1
    , LicenseId
CPAL_1_0
    , LicenseId
CPL_1_0
    , LicenseId
CPOL_1_02
    , LicenseId
Crossword
    , LicenseId
CrystalStacker
    , LicenseId
CUA_OPL_1_0
    , LicenseId
Cube
    , LicenseId
Curl
    , LicenseId
D_FSL_1_0
    , LicenseId
Diffmark
    , LicenseId
DOC
    , LicenseId
Dotseqn
    , LicenseId
DSDP
    , LicenseId
Dvipdfm
    , LicenseId
ECL_1_0
    , LicenseId
ECL_2_0
    , LicenseId
EFL_1_0
    , LicenseId
EFL_2_0
    , LicenseId
EGenix
    , LicenseId
Entessa
    , LicenseId
EPL_1_0
    , LicenseId
EPL_2_0
    , LicenseId
ErlPL_1_1
    , LicenseId
EUDatagrid
    , LicenseId
EUPL_1_0
    , LicenseId
EUPL_1_1
    , LicenseId
EUPL_1_2
    , LicenseId
Eurosym
    , LicenseId
Fair
    , LicenseId
Frameworx_1_0
    , LicenseId
FreeImage
    , LicenseId
FSFAP
    , LicenseId
FSFULLR
    , LicenseId
FSFUL
    , LicenseId
FTL
    , LicenseId
GFDL_1_1_only
    , LicenseId
GFDL_1_1_or_later
    , LicenseId
GFDL_1_2_only
    , LicenseId
GFDL_1_2_or_later
    , LicenseId
GFDL_1_3_only
    , LicenseId
GFDL_1_3_or_later
    , LicenseId
Giftware
    , LicenseId
GL2PS
    , LicenseId
Glide
    , LicenseId
Glulxe
    , LicenseId
Gnuplot
    , LicenseId
GPL_1_0_only
    , LicenseId
GPL_1_0_or_later
    , LicenseId
GPL_2_0_only
    , LicenseId
GPL_2_0_or_later
    , LicenseId
GPL_3_0_only
    , LicenseId
GPL_3_0_or_later
    , LicenseId
GSOAP_1_3b
    , LicenseId
HaskellReport
    , LicenseId
HPND
    , LicenseId
IBM_pibs
    , LicenseId
ICU
    , LicenseId
IJG
    , LicenseId
ImageMagick
    , LicenseId
IMatix
    , LicenseId
Imlib2
    , LicenseId
Info_ZIP
    , LicenseId
Intel_ACPI
    , LicenseId
Intel
    , LicenseId
Interbase_1_0
    , LicenseId
IPA
    , LicenseId
IPL_1_0
    , LicenseId
ISC
    , LicenseId
JasPer_2_0
    , LicenseId
JSON
    , LicenseId
LAL_1_2
    , LicenseId
LAL_1_3
    , LicenseId
Latex2e
    , LicenseId
Leptonica
    , LicenseId
LGPL_2_0_only
    , LicenseId
LGPL_2_0_or_later
    , LicenseId
LGPL_2_1_only
    , LicenseId
LGPL_2_1_or_later
    , LicenseId
LGPL_3_0_only
    , LicenseId
LGPL_3_0_or_later
    , LicenseId
LGPLLR
    , LicenseId
Libpng
    , LicenseId
Libtiff
    , LicenseId
LiLiQ_P_1_1
    , LicenseId
LiLiQ_R_1_1
    , LicenseId
LiLiQ_Rplus_1_1
    , LicenseId
LPL_1_02
    , LicenseId
LPL_1_0
    , LicenseId
LPPL_1_0
    , LicenseId
LPPL_1_1
    , LicenseId
LPPL_1_2
    , LicenseId
LPPL_1_3a
    , LicenseId
LPPL_1_3c
    , LicenseId
MakeIndex
    , LicenseId
MirOS
    , LicenseId
MIT_advertising
    , LicenseId
MIT_CMU
    , LicenseId
MIT_enna
    , LicenseId
MIT_feh
    , LicenseId
MITNFA
    , LicenseId
MIT
    , LicenseId
Motosoto
    , LicenseId
Mpich2
    , LicenseId
MPL_1_0
    , LicenseId
MPL_1_1
    , LicenseId
MPL_2_0_no_copyleft_exception
    , LicenseId
MPL_2_0
    , LicenseId
MS_PL
    , LicenseId
MS_RL
    , LicenseId
MTLL
    , LicenseId
Multics
    , LicenseId
Mup
    , LicenseId
NASA_1_3
    , LicenseId
Naumen
    , LicenseId
NBPL_1_0
    , LicenseId
NCSA
    , LicenseId
Net_SNMP
    , LicenseId
NetCDF
    , LicenseId
Newsletr
    , LicenseId
NGPL
    , LicenseId
NLOD_1_0
    , LicenseId
NLPL
    , LicenseId
Nokia
    , LicenseId
NOSL
    , LicenseId
Noweb
    , LicenseId
NPL_1_0
    , LicenseId
NPL_1_1
    , LicenseId
NPOSL_3_0
    , LicenseId
NRL
    , LicenseId
NTP
    , LicenseId
OCCT_PL
    , LicenseId
OCLC_2_0
    , LicenseId
ODbL_1_0
    , LicenseId
OFL_1_0
    , LicenseId
OFL_1_1
    , LicenseId
OGTSL
    , LicenseId
OLDAP_1_1
    , LicenseId
OLDAP_1_2
    , LicenseId
OLDAP_1_3
    , LicenseId
OLDAP_1_4
    , LicenseId
OLDAP_2_0_1
    , LicenseId
OLDAP_2_0
    , LicenseId
OLDAP_2_1
    , LicenseId
OLDAP_2_2_1
    , LicenseId
OLDAP_2_2_2
    , LicenseId
OLDAP_2_2
    , LicenseId
OLDAP_2_3
    , LicenseId
OLDAP_2_4
    , LicenseId
OLDAP_2_5
    , LicenseId
OLDAP_2_6
    , LicenseId
OLDAP_2_7
    , LicenseId
OLDAP_2_8
    , LicenseId
OML
    , LicenseId
OpenSSL
    , LicenseId
OPL_1_0
    , LicenseId
OSET_PL_2_1
    , LicenseId
OSL_1_0
    , LicenseId
OSL_1_1
    , LicenseId
OSL_2_0
    , LicenseId
OSL_2_1
    , LicenseId
OSL_3_0
    , LicenseId
PDDL_1_0
    , LicenseId
PHP_3_01
    , LicenseId
PHP_3_0
    , LicenseId
Plexus
    , LicenseId
PostgreSQL
    , LicenseId
Psfrag
    , LicenseId
Psutils
    , LicenseId
Python_2_0
    , LicenseId
Qhull
    , LicenseId
QPL_1_0
    , LicenseId
Rdisc
    , LicenseId
RHeCos_1_1
    , LicenseId
RPL_1_1
    , LicenseId
RPL_1_5
    , LicenseId
RPSL_1_0
    , LicenseId
RSA_MD
    , LicenseId
RSCPL
    , LicenseId
Ruby
    , LicenseId
SAX_PD
    , LicenseId
Saxpath
    , LicenseId
SCEA
    , LicenseId
Sendmail
    , LicenseId
SGI_B_1_0
    , LicenseId
SGI_B_1_1
    , LicenseId
SGI_B_2_0
    , LicenseId
SimPL_2_0
    , LicenseId
SISSL_1_2
    , LicenseId
SISSL
    , LicenseId
Sleepycat
    , LicenseId
SMLNJ
    , LicenseId
SMPPL
    , LicenseId
SNIA
    , LicenseId
Spencer_86
    , LicenseId
Spencer_94
    , LicenseId
Spencer_99
    , LicenseId
SPL_1_0
    , LicenseId
SugarCRM_1_1_3
    , LicenseId
SWL
    , LicenseId
TCL
    , LicenseId
TCP_wrappers
    , LicenseId
TMate
    , LicenseId
TORQUE_1_1
    , LicenseId
TOSL
    , LicenseId
Unicode_DFS_2015
    , LicenseId
Unicode_DFS_2016
    , LicenseId
Unicode_TOU
    , LicenseId
Unlicense
    , LicenseId
UPL_1_0
    , LicenseId
Vim
    , LicenseId
VOSTROM
    , LicenseId
VSL_1_0
    , LicenseId
W3C_19980720
    , LicenseId
W3C_20150513
    , LicenseId
W3C
    , LicenseId
Watcom_1_0
    , LicenseId
Wsuipa
    , LicenseId
WTFPL
    , LicenseId
X11
    , LicenseId
Xerox
    , LicenseId
XFree86_1_1
    , LicenseId
Xinetd
    , LicenseId
Xnet
    , LicenseId
Xpp
    , LicenseId
XSkat
    , LicenseId
YPL_1_0
    , LicenseId
YPL_1_1
    , LicenseId
Zed
    , LicenseId
Zend_2_0
    , LicenseId
Zimbra_1_3
    , LicenseId
Zimbra_1_4
    , LicenseId
Zlib_acknowledgement
    , LicenseId
Zlib
    , LicenseId
ZPL_1_1
    , LicenseId
ZPL_2_0
    , LicenseId
ZPL_2_1
    ]