nixpkgs/lib/licenses.nix

907 lines
20 KiB
Nix
Raw Normal View History

Convert libs to a fixed-point This does break the API of being able to import any lib file and get its libs, however I'm not sure people did this. I made this while exploring being able to swap out docFn with a stub in #2305, to avoid functor performance problems. I don't know if that is going to move forward (or if it is a problem or not,) but after doing all this work figured I'd put it up anyway :) Two notable advantages to this approach: 1. when a lib inherits another lib's functions, it doesn't automatically get put in to the scope of lib 2. when a lib implements a new obscure functions, it doesn't automatically get put in to the scope of lib Using the test script (later in this commit) I got the following diff on the API: + diff master fixed-lib 11764a11765,11766 > .types.defaultFunctor > .types.defaultTypeMerge 11774a11777,11778 > .types.isOptionType > .types.isType 11781a11786 > .types.mkOptionType 11788a11794 > .types.setType 11795a11802 > .types.types This means that this commit _adds_ to the API, however I can't find a way to fix these last remaining discrepancies. At least none are _removed_. Test script (run with nix-repl in the PATH): #!/bin/sh set -eux repl() { suff=${1:-} echo "(import ./lib)$suff" \ | nix-repl 2>&1 } attrs_to_check() { repl "${1:-}" \ | tr ';' $'\n' \ | grep "\.\.\." \ | cut -d' ' -f2 \ | sed -e "s/^/${1:-}./" \ | sort } summ() { repl "${1:-}" \ | tr ' ' $'\n' \ | sort \ | uniq } deep_summ() { suff="${1:-}" depth="${2:-4}" depth=$((depth - 1)) summ "$suff" for attr in $(attrs_to_check "$suff" | grep -v "types.types"); do if [ $depth -eq 0 ]; then summ "$attr" | sed -e "s/^/$attr./" else deep_summ "$attr" "$depth" | sed -e "s/^/$attr./" fi done } ( cd nixpkgs #git add . #git commit -m "Auto-commit, sorry" || true git checkout fixed-lib deep_summ > ../fixed-lib git checkout master deep_summ > ../master ) if diff master fixed-lib; then echo "SHALLOW MATCH!" fi ( cd nixpkgs git checkout fixed-lib repl .types )
2017-07-29 00:05:35 +00:00
{ lib }:
let
spdx = lic: lic // {
2020-04-18 21:13:20 +00:00
url = "https://spdx.org/licenses/${lic.spdxId}.html";
};
in
lib.mapAttrs (n: v: v // { shortName = n; }) ({
/* License identifiers from spdx.org where possible.
* If you cannot find your license here, then look for a similar license or
* add it to this list. The URL mentioned above is a good source for inspiration.
*/
2018-11-08 19:29:09 +00:00
abstyles = spdx {
spdxId = "Abstyles";
fullName = "Abstyles License";
};
afl20 = spdx {
spdxId = "AFL-2.0";
fullName = "Academic Free License v2.0";
};
afl21 = spdx {
spdxId = "AFL-2.1";
fullName = "Academic Free License v2.1";
};
afl3 = spdx {
spdxId = "AFL-3.0";
fullName = "Academic Free License v3.0";
};
agpl3Only = spdx {
spdxId = "AGPL-3.0-only";
fullName = "GNU Affero General Public License v3.0 only";
};
agpl3Plus = spdx {
spdxId = "AGPL-3.0-or-later";
fullName = "GNU Affero General Public License v3.0 or later";
};
amazonsl = {
fullName = "Amazon Software License";
2020-04-18 21:13:20 +00:00
url = "https://aws.amazon.com/asl/";
free = false;
};
amd = {
fullName = "AMD License Agreement";
2020-04-18 21:13:20 +00:00
url = "https://developer.amd.com/amd-license-agreement/";
free = false;
2014-10-04 19:15:36 +00:00
};
apsl20 = spdx {
spdxId = "APSL-2.0";
fullName = "Apple Public Source License 2.0";
};
arphicpl = {
fullName = "Arphic Public License";
url = "https://www.freedesktop.org/wiki/Arphic_Public_License/";
};
artistic1 = spdx {
spdxId = "Artistic-1.0";
fullName = "Artistic License 1.0";
};
2014-07-30 16:16:36 +00:00
artistic2 = spdx {
spdxId = "Artistic-2.0";
2014-07-30 16:16:36 +00:00
fullName = "Artistic License 2.0";
};
asl20 = spdx {
spdxId = "Apache-2.0";
fullName = "Apache License 2.0";
};
boost = spdx {
spdxId = "BSL-1.0";
fullName = "Boost Software License 1.0";
};
2016-10-03 17:43:26 +00:00
beerware = spdx {
spdxId = "Beerware";
fullName = "Beerware License";
2016-10-03 17:43:26 +00:00
};
2020-08-17 07:53:05 +00:00
blueOak100 = spdx {
spdxId = "BlueOak-1.0.0";
fullName = "Blue Oak Model License 1.0.0";
};
2018-02-11 15:16:00 +00:00
bsd0 = spdx {
spdxId = "0BSD";
fullName = "BSD Zero Clause License";
};
bsd1 = spdx {
spdxId = "BSD-1-Clause";
fullName = "BSD 1-Clause License";
};
bsd2 = spdx {
spdxId = "BSD-2-Clause";
fullName = ''BSD 2-clause "Simplified" License'';
};
2020-07-03 04:18:01 +00:00
bsd2Patent = spdx {
spdxId = "BSD-2-Clause-Patent";
fullName = "BSD-2-Clause Plus Patent License";
2020-07-03 04:18:01 +00:00
};
bsd3 = spdx {
spdxId = "BSD-3-Clause";
fullName = ''BSD 3-clause "New" or "Revised" License'';
};
bsdOriginal = spdx {
spdxId = "BSD-4-Clause";
fullName = ''BSD 4-clause "Original" or "Old" License'';
};
bsdOriginalUC = spdx {
spdxId = "BSD-4-Clause-UC";
fullName = "BSD 4-Clause University of California-Specific";
};
bsdProtection = spdx {
spdxId = "BSD-Protection";
fullName = "BSD Protection License";
};
2018-06-10 20:50:36 +00:00
bsl11 = {
fullName = "Business Source License 1.1";
url = "https://mariadb.com/bsl11";
free = false;
2018-06-10 20:50:36 +00:00
};
clArtistic = spdx {
spdxId = "ClArtistic";
fullName = "Clarified Artistic License";
};
cc0 = spdx {
spdxId = "CC0-1.0";
fullName = "Creative Commons Zero v1.0 Universal";
};
cc-by-nc-sa-20 = spdx {
spdxId = "CC-BY-NC-SA-2.0";
fullName = "Creative Commons Attribution Non Commercial Share Alike 2.0";
free = false;
};
cc-by-nc-sa-25 = spdx {
spdxId = "CC-BY-NC-SA-2.5";
fullName = "Creative Commons Attribution Non Commercial Share Alike 2.5";
free = false;
};
cc-by-nc-sa-30 = spdx {
spdxId = "CC-BY-NC-SA-3.0";
fullName = "Creative Commons Attribution Non Commercial Share Alike 3.0";
free = false;
};
cc-by-nc-sa-40 = spdx {
spdxId = "CC-BY-NC-SA-4.0";
fullName = "Creative Commons Attribution Non Commercial Share Alike 4.0";
free = false;
};
2019-04-25 02:12:43 +00:00
cc-by-nc-30 = spdx {
spdxId = "CC-BY-NC-3.0";
fullName = "Creative Commons Attribution Non Commercial 3.0 Unported";
free = false;
};
2018-07-05 01:07:17 +00:00
cc-by-nc-40 = spdx {
spdxId = "CC-BY-NC-4.0";
fullName = "Creative Commons Attribution Non Commercial 4.0 International";
free = false;
};
2016-10-06 20:27:40 +00:00
cc-by-nd-30 = spdx {
spdxId = "CC-BY-ND-3.0";
fullName = "Creative Commons Attribution-No Derivative Works v3.00";
free = false;
2016-10-06 20:27:40 +00:00
};
2015-05-27 19:24:01 +00:00
cc-by-sa-25 = spdx {
spdxId = "CC-BY-SA-2.5";
fullName = "Creative Commons Attribution Share Alike 2.5";
};
cc-by-30 = spdx {
spdxId = "CC-BY-3.0";
fullName = "Creative Commons Attribution 3.0";
};
2014-10-13 00:23:18 +00:00
cc-by-sa-30 = spdx {
spdxId = "CC-BY-SA-3.0";
2014-10-13 00:23:18 +00:00
fullName = "Creative Commons Attribution Share Alike 3.0";
};
cc-by-40 = spdx {
spdxId = "CC-BY-4.0";
fullName = "Creative Commons Attribution 4.0";
};
2015-03-17 19:39:03 +00:00
cc-by-sa-40 = spdx {
spdxId = "CC-BY-SA-4.0";
fullName = "Creative Commons Attribution Share Alike 4.0";
};
cddl = spdx {
spdxId = "CDDL-1.0";
fullName = "Common Development and Distribution License 1.0";
2012-10-05 16:11:25 +00:00
};
2014-10-28 13:06:04 +00:00
cecill20 = spdx {
spdxId = "CECILL-2.0";
2014-10-28 13:06:04 +00:00
fullName = "CeCILL Free Software License Agreement v2.0";
};
2014-09-24 23:09:30 +00:00
cecill-b = spdx {
spdxId = "CECILL-B";
2014-09-24 23:09:30 +00:00
fullName = "CeCILL-B Free Software License Agreement";
};
2014-07-30 16:16:36 +00:00
cecill-c = spdx {
spdxId = "CECILL-C";
2014-07-30 16:16:36 +00:00
fullName = "CeCILL-C Free Software License Agreement";
};
cpal10 = spdx {
spdxId = "CPAL-1.0";
fullName = "Common Public Attribution License 1.0";
};
cpl10 = spdx {
spdxId = "CPL-1.0";
fullName = "Common Public License 1.0";
};
2019-09-22 20:33:44 +00:00
curl = spdx {
spdxId = "curl";
fullName = "curl License";
2018-08-16 19:36:36 +00:00
};
2016-02-19 17:01:32 +00:00
doc = spdx {
spdxId = "DOC";
fullName = "DOC License";
};
eapl = {
fullName = "EPSON AVASYS PUBLIC LICENSE";
2020-04-18 21:13:20 +00:00
url = "https://avasys.jp/hp/menu000000700/hpg000000603.htm";
free = false;
};
efl10 = spdx {
spdxId = "EFL-1.0";
fullName = "Eiffel Forum License v1.0";
};
efl20 = spdx {
spdxId = "EFL-2.0";
fullName = "Eiffel Forum License v2.0";
};
elastic = {
fullName = "ELASTIC LICENSE";
url = "https://github.com/elastic/elasticsearch/blob/master/licenses/ELASTIC-LICENSE.txt";
free = false;
};
epl10 = spdx {
spdxId = "EPL-1.0";
fullName = "Eclipse Public License 1.0";
};
2018-01-30 11:23:47 +00:00
epl20 = spdx {
spdxId = "EPL-2.0";
fullName = "Eclipse Public License 2.0";
};
2016-03-09 04:19:31 +00:00
epson = {
fullName = "Seiko Epson Corporation Software License Agreement for Linux";
url = "https://download.ebz.epson.net/dsc/du/02/eula/global/LINUX_EN.html";
2016-03-09 04:19:31 +00:00
free = false;
};
eupl11 = spdx {
spdxId = "EUPL-1.1";
fullName = "European Union Public License 1.1";
2017-01-25 22:05:02 +00:00
};
2019-08-30 23:21:13 +00:00
eupl12 = spdx {
spdxId = "EUPL-1.2";
fullName = "European Union Public License 1.2";
};
fdl11Only = spdx {
spdxId = "GFDL-1.1-only";
fullName = "GNU Free Documentation License v1.1 only";
};
2021-02-11 15:08:59 +00:00
fdl11Plus = spdx {
spdxId = "GFDL-1.1-or-later";
fullName = "GNU Free Documentation License v1.1 or later";
};
fdl12Only = spdx {
spdxId = "GFDL-1.2-only";
fullName = "GNU Free Documentation License v1.2 only";
};
fdl12Plus = spdx {
spdxId = "GFDL-1.2-or-later";
fullName = "GNU Free Documentation License v1.2 or later";
2015-01-19 17:02:20 +00:00
};
fdl13Only = spdx {
spdxId = "GFDL-1.3-only";
fullName = "GNU Free Documentation License v1.3 only";
};
fdl13Plus = spdx {
spdxId = "GFDL-1.3-or-later";
fullName = "GNU Free Documentation License v1.3 or later";
2015-09-27 14:45:35 +00:00
};
ffsl = {
fullName = "Floodgap Free Software License";
2020-04-18 21:13:20 +00:00
url = "https://www.floodgap.com/software/ffsl/license.html";
free = false;
};
free = {
fullName = "Unspecified free software license";
};
2021-06-06 11:15:36 +00:00
ftl = spdx {
spdxId = "FTL";
fullName = "Freetype Project License";
};
g4sl = {
fullName = "Geant4 Software License";
url = "https://geant4.web.cern.ch/geant4/license/LICENSE.html";
};
geogebra = {
fullName = "GeoGebra Non-Commercial License Agreement";
url = "https://www.geogebra.org/license";
free = false;
};
gpl1Only = spdx {
spdxId = "GPL-1.0-only";
fullName = "GNU General Public License v1.0 only";
};
gpl1Plus = spdx {
spdxId = "GPL-1.0-or-later";
fullName = "GNU General Public License v1.0 or later";
};
gpl2Only = spdx {
spdxId = "GPL-2.0-only";
fullName = "GNU General Public License v2.0 only";
};
gpl2Classpath = spdx {
spdxId = "GPL-2.0-with-classpath-exception";
fullName = "GNU General Public License v2.0 only (with Classpath exception)";
};
gpl2ClasspathPlus = {
fullName = "GNU General Public License v2.0 or later (with Classpath exception)";
url = "https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception";
};
gpl2Oss = {
fullName = "GNU General Public License version 2 only (with OSI approved licenses linking exception)";
url = "https://www.mysql.com/about/legal/licensing/foss-exception";
};
gpl2Plus = spdx {
spdxId = "GPL-2.0-or-later";
fullName = "GNU General Public License v2.0 or later";
};
gpl3Only = spdx {
spdxId = "GPL-3.0-only";
fullName = "GNU General Public License v3.0 only";
};
gpl3Plus = spdx {
spdxId = "GPL-3.0-or-later";
fullName = "GNU General Public License v3.0 or later";
};
gpl3ClasspathPlus = {
fullName = "GNU General Public License v3.0 or later (with Classpath exception)";
url = "https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception";
};
2017-09-25 03:01:16 +00:00
hpnd = spdx {
spdxId = "HPND";
fullName = "Historic Permission Notice and Disclaimer";
};
2020-11-12 00:15:54 +00:00
hpndSellVariant = spdx {
fullName = "Historical Permission Notice and Disclaimer - sell variant";
spdxId = "HPND-sell-variant";
};
# Intel's license, seems free
iasl = {
fullName = "iASL";
2020-04-18 21:13:20 +00:00
url = "https://old.calculate-linux.org/packages/licenses/iASL";
};
ijg = spdx {
spdxId = "IJG";
fullName = "Independent JPEG Group License";
};
imagemagick = spdx {
fullName = "ImageMagick License";
spdxId = "imagemagick";
};
inria-compcert = {
fullName = "INRIA Non-Commercial License Agreement for the CompCert verified compiler";
2020-04-18 21:13:20 +00:00
url = "http://compcert.inria.fr/doc/LICENSE"; # https is broken
free = false;
};
2017-12-30 19:39:17 +00:00
inria-icesl = {
fullName = "INRIA Non-Commercial License Agreement for IceSL";
2020-04-18 21:13:20 +00:00
url = "http://shapeforge.loria.fr/icesl/EULA_IceSL_binary.pdf"; # https is broken
2017-12-30 19:39:17 +00:00
free = false;
};
ipa = spdx {
spdxId = "IPA";
fullName = "IPA Font License";
2014-06-15 16:02:41 +00:00
};
ipl10 = spdx {
spdxId = "IPL-1.0";
fullName = "IBM Public License v1.0";
};
2014-07-30 16:16:36 +00:00
isc = spdx {
spdxId = "ISC";
2014-07-30 16:16:36 +00:00
fullName = "ISC License";
};
# Proprietary binaries; free to redistribute without modification.
2020-08-30 12:33:44 +00:00
databricks = {
fullName = "Databricks Proprietary License";
url = "https://pypi.org/project/databricks-connect";
free = false;
2020-08-30 12:33:44 +00:00
};
issl = {
fullName = "Intel Simplified Software License";
url = "https://software.intel.com/en-us/license/intel-simplified-software-license";
free = false;
};
lgpl2Only = spdx {
spdxId = "LGPL-2.0-only";
fullName = "GNU Library General Public License v2 only";
};
lgpl2Plus = spdx {
spdxId = "LGPL-2.0-or-later";
fullName = "GNU Library General Public License v2 or later";
};
lgpl21Only = spdx {
spdxId = "LGPL-2.1-only";
2019-06-06 14:43:24 +00:00
fullName = "GNU Lesser General Public License v2.1 only";
};
lgpl21Plus = spdx {
spdxId = "LGPL-2.1-or-later";
2019-06-06 14:43:24 +00:00
fullName = "GNU Lesser General Public License v2.1 or later";
};
lgpl3Only = spdx {
spdxId = "LGPL-3.0-only";
fullName = "GNU Lesser General Public License v3.0 only";
};
lgpl3Plus = spdx {
spdxId = "LGPL-3.0-or-later";
fullName = "GNU Lesser General Public License v3.0 or later";
};
lgpllr = spdx {
spdxId = "LGPLLR";
fullName = "Lesser General Public License For Linguistic Resources";
};
2014-09-21 17:53:20 +00:00
libpng = spdx {
spdxId = "Libpng";
2014-09-21 17:53:20 +00:00
fullName = "libpng License";
};
libpng2 = spdx {
spdxId = "libpng-2.0"; # Used since libpng 1.6.36.
fullName = "PNG Reference Library version 2";
2018-12-03 12:18:31 +00:00
};
2014-11-05 14:33:11 +00:00
libtiff = spdx {
spdxId = "libtiff";
fullName = "libtiff License";
2014-07-30 16:16:36 +00:00
};
llgpl21 = {
fullName = "Lisp LGPL; GNU Lesser General Public License version 2.1 with Franz Inc. preamble for clarification of LGPL terms in context of Lisp";
2020-04-18 21:13:20 +00:00
url = "https://opensource.franz.com/preamble.html";
2014-07-30 16:16:36 +00:00
};
2020-06-27 09:53:54 +00:00
llvm-exception = spdx {
spdxId = "LLVM-exception";
fullName = "LLVM Exception"; # LLVM exceptions to the Apache 2.0 License
};
lppl12 = spdx {
spdxId = "LPPL-1.2";
fullName = "LaTeX Project Public License v1.2";
};
lppl13c = spdx {
spdxId = "LPPL-1.3c";
fullName = "LaTeX Project Public License v1.3c";
};
2014-08-14 22:11:09 +00:00
lpl-102 = spdx {
spdxId = "LPL-1.02";
2014-08-14 22:11:09 +00:00
fullName = "Lucent Public License v1.02";
};
2017-04-12 21:13:03 +00:00
miros = {
fullName = "MirOS License";
url = "https://opensource.org/licenses/MirOS";
2017-04-12 21:13:03 +00:00
};
# spdx.org does not (yet) differentiate between the X11 and Expat versions
2020-04-18 21:13:20 +00:00
# for details see https://en.wikipedia.org/wiki/MIT_License#Various_versions
mit = spdx {
spdxId = "MIT";
fullName = "MIT License";
};
2015-03-27 00:22:11 +00:00
mpl10 = spdx {
spdxId = "MPL-1.0";
fullName = "Mozilla Public License 1.0";
};
mpl11 = spdx {
spdxId = "MPL-1.1";
fullName = "Mozilla Public License 1.1";
};
mpl20 = spdx {
spdxId = "MPL-2.0";
fullName = "Mozilla Public License 2.0";
};
mspl = spdx {
spdxId = "MS-PL";
fullName = "Microsoft Public License";
};
2018-12-11 20:20:29 +00:00
nasa13 = spdx {
spdxId = "NASA-1.3";
fullName = "NASA Open Source Agreement 1.3";
free = false;
};
2014-08-28 21:14:10 +00:00
ncsa = spdx {
spdxId = "NCSA";
2014-08-28 21:14:10 +00:00
fullName = "University of Illinois/NCSA Open Source License";
};
nposl3 = spdx {
spdxId = "NPOSL-3.0";
fullName = "Non-Profit Open Software License 3.0";
};
2020-06-25 00:38:06 +00:00
obsidian = {
fullName = "Obsidian End User Agreement";
url = "https://obsidian.md/eula";
free = false;
};
ocamlpro_nc = {
fullName = "OCamlPro Non Commercial license version 1";
url = "https://alt-ergo.ocamlpro.com/http/alt-ergo-2.2.0/OCamlPro-Non-Commercial-License.pdf";
free = false;
};
2021-03-18 01:52:19 +00:00
odbl = spdx {
spdxId = "ODbL-1.0";
fullName = "Open Data Commons Open Database License v1.0";
};
ofl = spdx {
spdxId = "OFL-1.1";
fullName = "SIL Open Font License 1.1";
2014-05-06 08:04:43 +00:00
};
2015-07-04 12:01:07 +00:00
openldap = spdx {
spdxId = "OLDAP-2.8";
fullName = "Open LDAP Public License v2.8";
};
openssl = spdx {
spdxId = "OpenSSL";
fullName = "OpenSSL License";
};
osl2 = spdx {
spdxId = "OSL-2.0";
fullName = "Open Software License 2.0";
};
osl21 = spdx {
spdxId = "OSL-2.1";
fullName = "Open Software License 2.1";
};
osl3 = spdx {
2017-11-17 19:19:41 +00:00
spdxId = "OSL-3.0";
fullName = "Open Software License 3.0";
};
2020-11-18 02:49:31 +00:00
parity70 = spdx {
spdxId = "Parity-7.0.0";
fullName = "Parity Public License 7.0.0";
url = "https://paritylicense.com/versions/7.0.0.html";
};
php301 = spdx {
spdxId = "PHP-3.01";
fullName = "PHP License v3.01";
};
postgresql = spdx {
spdxId = "PostgreSQL";
2014-09-04 18:36:36 +00:00
fullName = "PostgreSQL License";
};
2018-02-11 17:34:40 +00:00
postman = {
fullName = "Postman EULA";
url = "https://www.getpostman.com/licenses/postman_base_app";
2018-02-11 17:34:40 +00:00
free = false;
};
2014-07-30 16:16:36 +00:00
psfl = spdx {
spdxId = "Python-2.0";
2014-07-30 16:16:36 +00:00
fullName = "Python Software Foundation License version 2";
2020-04-18 21:13:20 +00:00
url = "https://docs.python.org/license.html";
2014-07-30 16:16:36 +00:00
};
publicDomain = {
2014-11-05 13:52:05 +00:00
fullName = "Public Domain";
};
purdueBsd = {
fullName = " Purdue BSD-Style License"; # also know as lsof license
url = "https://enterprise.dejacode.com/licenses/public/purdue-bsd";
};
prosperity30 = {
fullName = "Prosperity-3.0.0";
free = false;
url = "https://prosperitylicense.com/versions/3.0.0.html";
};
2019-09-22 20:21:27 +00:00
qhull = spdx {
spdxId = "Qhull";
fullName = "Qhull License";
};
qpl = spdx {
spdxId = "QPL-1.0";
fullName = "Q Public License 1.0";
};
qwt = {
fullName = "Qwt License, Version 1.0";
2020-04-18 21:13:20 +00:00
url = "https://qwt.sourceforge.io/qwtlicense.html";
};
ruby = spdx {
spdxId = "Ruby";
fullName = "Ruby License";
};
2018-10-18 19:00:17 +00:00
sendmail = spdx {
spdxId = "Sendmail";
fullName = "Sendmail License";
};
sgi-b-20 = spdx {
spdxId = "SGI-B-2.0";
fullName = "SGI Free Software License B v2.0";
};
2014-07-30 16:16:36 +00:00
sleepycat = spdx {
spdxId = "Sleepycat";
2014-11-05 14:33:11 +00:00
fullName = "Sleepycat License";
};
2017-01-09 05:41:06 +00:00
smail = {
shortName = "smail";
fullName = "SMAIL General Public License";
2020-04-18 21:13:20 +00:00
url = "https://sources.debian.org/copyright/license/debianutils/4.9.1/";
2017-01-09 05:41:06 +00:00
};
sspl = {
shortName = "SSPL";
fullName = "Server Side Public License";
url = "https://www.mongodb.com/licensing/server-side-public-license";
free = false;
};
2020-12-02 11:38:02 +00:00
stk = {
shortName = "stk";
fullName = "Synthesis Tool Kit 4.3";
2021-06-20 14:26:23 +00:00
url = "https://github.com/thestk/stk/blob/master/LICENSE";
2020-12-02 11:38:02 +00:00
};
2014-11-05 14:33:11 +00:00
tcltk = spdx {
spdxId = "TCL";
fullName = "TCL/TK License";
};
2015-11-18 11:04:15 +00:00
ufl = {
fullName = "Ubuntu Font License 1.0";
2020-04-18 21:13:20 +00:00
url = "https://ubuntu.com/legal/font-licence";
2015-11-18 11:04:15 +00:00
};
unfree = {
fullName = "Unfree";
free = false;
};
unfreeRedistributable = {
fullName = "Unfree redistributable";
free = false;
};
unfreeRedistributableFirmware = {
fullName = "Unfree redistributable firmware";
# Note: we currently consider these "free" for inclusion in the
# channel and NixOS images.
};
2013-06-05 20:44:08 +00:00
unicode-dfs-2015 = spdx {
spdxId = "Unicode-DFS-2015";
fullName = "Unicode License Agreement - Data Files and Software (2015)";
};
unicode-dfs-2016 = spdx {
spdxId = "Unicode-DFS-2016";
fullName = "Unicode License Agreement - Data Files and Software (2016)";
};
2014-11-05 14:33:11 +00:00
unlicense = spdx {
spdxId = "Unlicense";
fullName = "The Unlicense";
2014-10-22 16:43:34 +00:00
};
2016-09-06 21:44:41 +00:00
upl = {
fullName = "Universal Permissive License";
url = "https://oss.oracle.com/licenses/upl/";
};
2015-05-26 12:43:27 +00:00
vim = spdx {
spdxId = "Vim";
fullName = "Vim License";
};
virtualbox-puel = {
fullName = "Oracle VM VirtualBox Extension Pack Personal Use and Evaluation License (PUEL)";
url = "https://www.virtualbox.org/wiki/VirtualBox_PUEL";
free = false;
};
vsl10 = spdx {
spdxId = "VSL-1.0";
fullName = "Vovida Software License v1.0";
};
2018-01-05 03:44:06 +00:00
watcom = spdx {
spdxId = "Watcom-1.0";
fullName = "Sybase Open Watcom Public License 1.0";
};
w3c = spdx {
spdxId = "W3C";
fullName = "W3C Software Notice and License";
};
wadalab = {
fullName = "Wadalab Font License";
url = "https://fedoraproject.org/wiki/Licensing:Wadalab?rd=Licensing/Wadalab";
};
wtfpl = spdx {
spdxId = "WTFPL";
fullName = "Do What The F*ck You Want To Public License";
};
wxWindows = spdx {
spdxId = "wxWindows";
fullName = "wxWindows Library Licence, Version 3.1";
};
xfig = {
fullName = "xfig";
2020-04-18 21:13:20 +00:00
url = "http://mcj.sourceforge.net/authors.html#xfig"; # https is broken
};
zlib = spdx {
spdxId = "Zlib";
fullName = "zlib License";
};
zpl20 = spdx {
spdxId = "ZPL-2.0";
fullName = "Zope Public License 2.0";
};
zpl21 = spdx {
spdxId = "ZPL-2.1";
fullName = "Zope Public License 2.1";
};
} // {
# TODO: remove legacy aliases
agpl3 = spdx {
spdxId = "AGPL-3.0";
fullName = "GNU Affero General Public License v3.0";
deprecated = true;
};
fdl11 = spdx {
spdxId = "GFDL-1.1";
fullName = "GNU Free Documentation License v1.1";
deprecated = true;
};
fdl12 = spdx {
spdxId = "GFDL-1.2";
fullName = "GNU Free Documentation License v1.2";
deprecated = true;
};
fdl13 = spdx {
spdxId = "GFDL-1.3";
fullName = "GNU Free Documentation License v1.3";
deprecated = true;
};
gpl1 = spdx {
spdxId = "GPL-1.0";
fullName = "GNU General Public License v1.0";
deprecated = true;
};
gpl2 = spdx {
spdxId = "GPL-2.0";
fullName = "GNU General Public License v2.0";
deprecated = true;
};
gpl3 = spdx {
spdxId = "GPL-3.0";
fullName = "GNU General Public License v3.0";
deprecated = true;
};
lgpl2 = spdx {
spdxId = "LGPL-2.0";
fullName = "GNU Library General Public License v2";
deprecated = true;
};
lgpl21 = spdx {
spdxId = "LGPL-2.1";
fullName = "GNU Lesser General Public License v2.1";
deprecated = true;
};
lgpl3 = spdx {
spdxId = "LGPL-3.0";
fullName = "GNU Lesser General Public License v3.0";
deprecated = true;
};
})