pub fn get_nix_license(license: &str) -> Option<&'static str> {
    match license {
        "0BSD" => Some("bsd0"),
        "AFL-2.0" => Some("afl20"),
        "AFL-2.1" => Some("afl21"),
        "AFL-3.0" => Some("afl3"),
        "AGPL-3.0" => Some("agpl3Only"),
        "AGPL-3.0-only" => Some("agpl3Only"),
        "AGPL-3.0-or-later" => Some("agpl3Plus"),
        "AML" => Some("aml"),
        "AMPAS" => Some("ampas"),
        "APSL-1.0" => Some("apple-psl10"),
        "APSL-2.0" => Some("apple-psl20"),
        "Abstyles" => Some("abstyles"),
        "Adobe-Display-PostScript" => Some("adobeDisplayPostScript"),
        "Adobe-Utopia" => Some("adobeUtopia"),
        "Aladdin" => Some("aladdin"),
        "Apache-1.1" => Some("asl11"),
        "Apache-2.0" => Some("asl20"),
        "Arphic-1999" => Some("arphicpl"),
        "Artistic-1.0" => Some("artistic1"),
        "Artistic-1.0-cl8" => Some("artistic1-cl8"),
        "Artistic-2.0" => Some("artistic2"),
        "BSD-1-Clause" => Some("bsd1"),
        "BSD-2-Clause" => Some("bsd2"),
        "BSD-2-Clause-FreeBSD" => Some("bsd2WithViews"),
        "BSD-2-Clause-NetBSD" => Some("bsd2"),
        "BSD-2-Clause-Patent" => Some("bsd2Patent"),
        "BSD-2-Clause-Views" => Some("bsd2WithViews"),
        "BSD-3-Clause" => Some("bsd3"),
        "BSD-3-Clause-Clear" => Some("bsd3Clear"),
        "BSD-3-Clause-LBNL" => Some("bsd3Lbnl"),
        "BSD-3-Clause-Modification" => Some("bsd3Modification"),
        "BSD-3-Clause-Tso" => Some("bsd3ClauseTso"),
        "BSD-4-Clause" => Some("bsdOriginal"),
        "BSD-4-Clause-Shortened" => Some("bsdOriginalShortened"),
        "BSD-4-Clause-UC" => Some("bsdOriginalUC"),
        "BSD-Protection" => Some("bsdProtection"),
        "BSD-Source-Code" => Some("bsdSourceCode"),
        "BSL-1.0" => Some("boost"),
        "BUSL-1.1" => Some("bsl11"),
        "Baekmuk" => Some("baekmuk"),
        "Beerware" => Some("beerware"),
        "BitTorrent-1.0" => Some("bitTorrent10"),
        "BitTorrent-1.1" => Some("bitTorrent11"),
        "Bitstream-Charter" => Some("bitstreamCharter"),
        "Bitstream-Vera" => Some("bitstreamVera"),
        "BlueOak-1.0.0" => Some("blueOak100"),
        "Boehm-GC" => Some("boehmGC"),
        "CAL-1.0" => Some("cal10"),
        "CC-BY-1.0" => Some("cc-by-10"),
        "CC-BY-2.0" => Some("cc-by-20"),
        "CC-BY-3.0" => Some("cc-by-30"),
        "CC-BY-4.0" => Some("cc-by-40"),
        "CC-BY-NC-3.0" => Some("cc-by-nc-30"),
        "CC-BY-NC-4.0" => Some("cc-by-nc-40"),
        "CC-BY-NC-ND-3.0" => Some("cc-by-nc-nd-30"),
        "CC-BY-NC-ND-4.0" => Some("cc-by-nc-nd-40"),
        "CC-BY-NC-SA-2.0" => Some("cc-by-nc-sa-20"),
        "CC-BY-NC-SA-2.5" => Some("cc-by-nc-sa-25"),
        "CC-BY-NC-SA-3.0" => Some("cc-by-nc-sa-30"),
        "CC-BY-NC-SA-4.0" => Some("cc-by-nc-sa-40"),
        "CC-BY-ND-3.0" => Some("cc-by-nd-30"),
        "CC-BY-ND-4.0" => Some("cc-by-nd-40"),
        "CC-BY-SA-1.0" => Some("cc-by-sa-10"),
        "CC-BY-SA-2.0" => Some("cc-by-sa-20"),
        "CC-BY-SA-2.5" => Some("cc-by-sa-25"),
        "CC-BY-SA-3.0" => Some("cc-by-sa-30"),
        "CC-BY-SA-4.0" => Some("cc-by-sa-40"),
        "CC-SA-1.0" => Some("cc-sa-10"),
        "CC0-1.0" => Some("cc0"),
        "CDDL-1.0" => Some("cddl"),
        "CECILL-2.0" => Some("cecill20"),
        "CECILL-2.1" => Some("cecill21"),
        "CECILL-B" => Some("cecill-b"),
        "CECILL-C" => Some("cecill-c"),
        "CNRI-Python" => Some("cnri-python"),
        "CPAL-1.0" => Some("cpal10"),
        "CPL-1.0" => Some("cpl10"),
        "Caldera" => Some("caldera"),
        "ClArtistic" => Some("clArtistic"),
        "Classpath-exception-2.0" => Some("classpathException20"),
        "Cronyx" => Some("cronyx"),
        "DEC-3-Clause" => Some("dec3Clause"),
        "DOC" => Some("doc"),
        "DRL-1.0" => Some("drl10"),
        "ECL-2.0" => Some("ecl20"),
        "EFL-1.0" => Some("efl10"),
        "EFL-2.0" => Some("efl20"),
        "EPL-1.0" => Some("epl10"),
        "EPL-2.0" => Some("epl20"),
        "EUPL-1.1" => Some("eupl11"),
        "EUPL-1.2" => Some("eupl12"),
        "Elastic-2.0" => Some("elastic20"),
        "FDK-AAC" => Some("fraunhofer-fdk"),
        "FSL-1.1-ALv2" => Some("fsl11Asl20"),
        "FSL-1.1-MIT" => Some("fsl11Mit"),
        "FTL" => Some("ftl"),
        "Fair" => Some("fair"),
        "Font-exception-2.0" => Some("fontException"),
        "GFDL-1.1" => Some("fdl11Only"),
        "GFDL-1.1-only" => Some("fdl11Only"),
        "GFDL-1.1-or-later" => Some("fdl11Plus"),
        "GFDL-1.2" => Some("fdl12Only"),
        "GFDL-1.2-only" => Some("fdl12Only"),
        "GFDL-1.2-or-later" => Some("fdl12Plus"),
        "GFDL-1.3" => Some("fdl13Only"),
        "GFDL-1.3-only" => Some("fdl13Only"),
        "GFDL-1.3-or-later" => Some("fdl13Plus"),
        "GPL-1.0" => Some("gpl1Only"),
        "GPL-1.0+" => Some("gpl1Plus"),
        "GPL-1.0-only" => Some("gpl1Only"),
        "GPL-1.0-or-later" => Some("gpl1Plus"),
        "GPL-2.0" => Some("gpl2Only"),
        "GPL-2.0+" => Some("gpl2Plus"),
        "GPL-2.0-only" => Some("gpl2Only"),
        "GPL-2.0-or-later" => Some("gpl2Plus"),
        "GPL-3.0" => Some("gpl3Only"),
        "GPL-3.0+" => Some("gpl3Plus"),
        "GPL-3.0-only" => Some("gpl3Only"),
        "GPL-3.0-or-later" => Some("gpl3Plus"),
        "Giftware" => Some("giftware"),
        "HPND" => Some("hpnd"),
        "HPND-DEC" => Some("hpndDec"),
        "HPND-UC" => Some("hpndUc"),
        "HPND-doc" => Some("hpndDoc"),
        "HPND-doc-sell" => Some("hpndDocSell"),
        "HPND-sell-MIT-disclaimer-xserver" => Some("hpndSellVariantMitDisclaimerXserver"),
        "HPND-sell-variant" => Some("hpndSellVariant"),
        "ICU" => Some("icu"),
        "IJG" => Some("ijg"),
        "IPA" => Some("ipa"),
        "IPL-1.0" => Some("ipl10"),
        "ISC" => Some("isc"),
        "ImageMagick" => Some("imagemagick"),
        "Imlib2" => Some("imlib2"),
        "Info-ZIP" => Some("info-zip"),
        "Intel-ACPI" => Some("iasl"),
        "Interbase-1.0" => Some("interbase"),
        "Knuth-CTAN" => Some("knuth"),
        "LAL-1.2" => Some("lal12"),
        "LAL-1.3" => Some("lal13"),
        "LGPL-2.0" => Some("lgpl2Only"),
        "LGPL-2.0+" => Some("lgpl2Plus"),
        "LGPL-2.0-only" => Some("lgpl2Only"),
        "LGPL-2.0-or-later" => Some("lgpl2Plus"),
        "LGPL-2.1" => Some("lgpl21Only"),
        "LGPL-2.1+" => Some("lgpl21Plus"),
        "LGPL-2.1-only" => Some("lgpl21Only"),
        "LGPL-2.1-or-later" => Some("lgpl21Plus"),
        "LGPL-3.0" => Some("lgpl3Only"),
        "LGPL-3.0+" => Some("lgpl3Plus"),
        "LGPL-3.0-only" => Some("lgpl3Only"),
        "LGPL-3.0-or-later" => Some("lgpl3Plus"),
        "LGPLLR" => Some("lgpllr"),
        "LLVM-exception" => Some("llvm-exception"),
        "LPL-1.02" => Some("lpl-102"),
        "LPPL-1.0" => Some("lppl1"),
        "LPPL-1.2" => Some("lppl12"),
        "LPPL-1.3a" => Some("lppl13a"),
        "LPPL-1.3c" => Some("lppl13c"),
        "LiLiQ-P-1.1" => Some("liliq-p-11"),
        "Libpng" => Some("libpng"),
        "MIT" => Some("mit"),
        "MIT-0" => Some("mit0"),
        "MIT-CMU" => Some("mit-cmu"),
        "MIT-Modern-Variant" => Some("mit-modern"),
        "MIT-advertising" => Some("mitAdvertising"),
        "MIT-enna" => Some("mit-enna"),
        "MIT-feh" => Some("mit-feh"),
        "MIT-open-group" => Some("mitOpenGroup"),
        "MPL-1.0" => Some("mpl10"),
        "MPL-1.1" => Some("mpl11"),
        "MPL-2.0" => Some("mpl20"),
        "MS-PL" => Some("mspl"),
        "MirOS" => Some("miros"),
        "MulanPSL-2.0" => Some("mulan-psl2"),
        "NAIST-2003" => Some("naist-2003"),
        "NASA-1.3" => Some("nasa13"),
        "NCBI-PD" => Some("ncbiPd"),
        "NCSA" => Some("ncsa"),
        "NCUL1" => Some("ncul1"),
        "NGPL" => Some("ngpl"),
        "NIST-Software" => Some("nistSoftware"),
        "NLPL" => Some("nlpl"),
        "NPOSL-3.0" => Some("nposl3"),
        "NTP" => Some("ntp"),
        "OCaml-LGPL-linking-exception" => Some("ocamlLgplLinkingException"),
        "ODbL-1.0" => Some("odbl"),
        "OFL-1.1" => Some("ofl"),
        "OLDAP-2.8" => Some("openldap"),
        "OML" => Some("oml"),
        "OPUBL-1.0" => Some("opubl"),
        "OSL-2.0" => Some("osl2"),
        "OSL-2.1" => Some("osl21"),
        "OSL-3.0" => Some("osl3"),
        "OpenSSL" => Some("openssl"),
        "PHP-3.01" => Some("php301"),
        "Parity-7.0.0" => Some("parity70"),
        "PostgreSQL" => Some("postgresql"),
        "Python-2.0" => Some("psfl"),
        "QPL-1.0" => Some("qpl"),
        "Qhull" => Some("qhull"),
        "Qwt-exception-1.0" => Some("qwtException"),
        "Ruby" => Some("ruby"),
        "SGI-B-2.0" => Some("sgi-b-20"),
        "SISSL" => Some("sissl11"),
        "SMAIL-GPL" => Some("smail"),
        "SMLNJ" => Some("smlnj"),
        "SSPL-1.0" => Some("sspl"),
        "SUL-1.0" => Some("sustainableUse"),
        "Sendmail" => Some("sendmail"),
        "Sleepycat" => Some("sleepycat"),
        "TCL" => Some("tcltk"),
        "TCP-wrappers" => Some("tcpWrappers"),
        "TORQUE-1.1" => Some("torque11"),
        "UBDL-exception" => Some("ubdlException"),
        "UPL-1.0" => Some("upl"),
        "Ubuntu-font-1.0" => Some("ufl"),
        "Unicode-3.0" => Some("unicode-30"),
        "Unicode-DFS-2015" => Some("unicode-dfs-2015"),
        "Unicode-DFS-2016" => Some("unicode-dfs-2016"),
        "Unicode-TOU" => Some("unicodeTOU"),
        "Universal-FOSS-exception-1.0" => Some("universalFOSSException-10"),
        "Unlicense" => Some("unlicense"),
        "VSL-1.0" => Some("vsl10"),
        "Vim" => Some("vim"),
        "W3C" => Some("w3c"),
        "WTFPL" => Some("wtfpl"),
        "Watcom-1.0" => Some("watcom"),
        "WxWindows-exception-3.1" => Some("wxWindowsException31"),
        "X11" => Some("x11"),
        "X11-no-permit-persons" => Some("x11NoPermitPersons"),
        "XSkat" => Some("xskat"),
        "Xerox" => Some("xerox"),
        "Xfig" => Some("xfig"),
        "ZPL-2.0" => Some("zpl20"),
        "ZPL-2.1" => Some("zpl21"),
        "Zlib" => Some("zlib"),
        "bzip2-1.0.6" => Some("bzip2"),
        "curl" => Some("curl"),
        "dtoa" => Some("dtoa"),
        "gnuplot" => Some("gnuplot"),
        "hyphen-bulgarian" => Some("hyphenBulgarian"),
        "libpng-2.0" => Some("libpng2"),
        "libtiff" => Some("libtiff"),
        "lsof" => Some("lsof"),
        "mplus" => Some("mplus"),
        "xinetd" => Some("xinetd"),
        _ => None,
    }
}
