Release NixOS 23.11
[NixPkgs.git] / lib / licenses.nix
blobad6922498ab49230a88073cc970ada3dc9d1714c
1 { lib }:
3 lib.mapAttrs (lname: lset: let
4   defaultLicense = {
5     shortName = lname;
6     free = true; # Most of our licenses are Free, explicitly declare unfree additions as such!
7     deprecated = false;
8   };
10   mkLicense = licenseDeclaration: let
11     applyDefaults = license: defaultLicense // license;
12     applySpdx = license:
13       if license ? spdxId
14       then license // { url = "https://spdx.org/licenses/${license.spdxId}.html"; }
15       else license;
16     applyRedistributable = license: { redistributable = license.free; } // license;
17   in lib.pipe licenseDeclaration [
18     applyDefaults
19     applySpdx
20     applyRedistributable
21   ];
22 in mkLicense lset) ({
23   /* License identifiers from spdx.org where possible.
24    * If you cannot find your license here, then look for a similar license or
25    * add it to this list. The URL mentioned above is a good source for inspiration.
26    */
28   abstyles = {
29     spdxId = "Abstyles";
30     fullName = "Abstyles License";
31   };
33   acsl14 = {
34     fullName = "Anti-Capitalist Software License v1.4";
35     url = "https://anticapitalist.software/";
36     /* restrictions on corporations apply for both use and redistribution */
37     free = false;
38     redistributable = false;
39   };
41   afl20 = {
42     spdxId = "AFL-2.0";
43     fullName = "Academic Free License v2.0";
44   };
46   afl21 = {
47     spdxId = "AFL-2.1";
48     fullName = "Academic Free License v2.1";
49   };
51   afl3 = {
52     spdxId = "AFL-3.0";
53     fullName = "Academic Free License v3.0";
54   };
56   agpl3Only = {
57     spdxId = "AGPL-3.0-only";
58     fullName = "GNU Affero General Public License v3.0 only";
59   };
61   agpl3Plus = {
62     spdxId = "AGPL-3.0-or-later";
63     fullName = "GNU Affero General Public License v3.0 or later";
64   };
66   aladdin = {
67     spdxId = "Aladdin";
68     fullName = "Aladdin Free Public License";
69     free = false;
70   };
72   amazonsl = {
73     fullName = "Amazon Software License";
74     url = "https://aws.amazon.com/asl/";
75     free = false;
76   };
78   amd = {
79     fullName = "AMD License Agreement";
80     url = "https://developer.amd.com/amd-license-agreement/";
81     free = false;
82   };
84   aom = {
85     fullName = "Alliance for Open Media Patent License 1.0";
86     url = "https://aomedia.org/license/patent-license/";
87   };
89   apsl10 = {
90     spdxId = "APSL-1.0";
91     fullName = "Apple Public Source License 1.0";
92   };
94   apsl20 = {
95     spdxId = "APSL-2.0";
96     fullName = "Apple Public Source License 2.0";
97   };
99   arphicpl = {
100     fullName = "Arphic Public License";
101     url = "https://www.freedesktop.org/wiki/Arphic_Public_License/";
102   };
104   artistic1 = {
105     spdxId = "Artistic-1.0";
106     fullName = "Artistic License 1.0";
107   };
109   artistic1-cl8 = {
110     spdxId = "Artistic-1.0-cl8";
111     fullName = "Artistic License 1.0 w/clause 8";
112   };
114   artistic2 = {
115     spdxId = "Artistic-2.0";
116     fullName = "Artistic License 2.0";
117   };
119   asl20 = {
120     spdxId = "Apache-2.0";
121     fullName = "Apache License 2.0";
122   };
124   asl20-llvm = {
125     spdxId = "Apache-2.0 WITH LLVM-exception";
126     fullName = "Apache License 2.0 with LLVM Exceptions";
127   };
129   bitstreamVera = {
130     spdxId = "Bitstream-Vera";
131     fullName = "Bitstream Vera Font License";
132   };
134   bitTorrent10 = {
135      spdxId = "BitTorrent-1.0";
136      fullName = " BitTorrent Open Source License v1.0";
137   };
139   bitTorrent11 = {
140     spdxId = "BitTorrent-1.1";
141     fullName = " BitTorrent Open Source License v1.1";
142   };
144   bola11 = {
145     url = "https://blitiri.com.ar/p/bola/";
146     fullName = "Buena Onda License Agreement 1.1";
147   };
149   boost = {
150     spdxId = "BSL-1.0";
151     fullName = "Boost Software License 1.0";
152   };
154   beerware = {
155     spdxId = "Beerware";
156     fullName = "Beerware License";
157   };
159   blueOak100 = {
160     spdxId = "BlueOak-1.0.0";
161     fullName = "Blue Oak Model License 1.0.0";
162   };
164   bsd0 = {
165     spdxId = "0BSD";
166     fullName = "BSD Zero Clause License";
167   };
169   bsd1 = {
170     spdxId = "BSD-1-Clause";
171     fullName = "BSD 1-Clause License";
172   };
174   bsd2 = {
175     spdxId = "BSD-2-Clause";
176     fullName = ''BSD 2-clause "Simplified" License'';
177   };
179   bsd2Patent = {
180     spdxId = "BSD-2-Clause-Patent";
181     fullName = "BSD-2-Clause Plus Patent License";
182   };
184   bsd2WithViews = {
185     spdxId = "BSD-2-Clause-Views";
186     fullName = "BSD 2-Clause with views sentence";
187   };
189   bsd3 = {
190     spdxId = "BSD-3-Clause";
191     fullName = ''BSD 3-clause "New" or "Revised" License'';
192   };
194   bsd3Clear = {
195     spdxId = "BSD-3-Clause-Clear";
196     fullName = "BSD 3-Clause Clear License";
197   };
199   bsdOriginal = {
200     spdxId = "BSD-4-Clause";
201     fullName = ''BSD 4-clause "Original" or "Old" License'';
202   };
204   bsdOriginalShortened = {
205     spdxId = "BSD-4-Clause-Shortened";
206     fullName = "BSD 4 Clause Shortened";
207   };
209   bsdOriginalUC = {
210     spdxId = "BSD-4-Clause-UC";
211     fullName = "BSD 4-Clause University of California-Specific";
212   };
214   bsdProtection = {
215     spdxId = "BSD-Protection";
216     fullName = "BSD Protection License";
217   };
219   bsl11 = {
220     fullName = "Business Source License 1.1";
221     url = "https://mariadb.com/bsl11";
222     free = false;
223     redistributable = true;
224   };
226   caossl = {
227     fullName = "Computer Associates Open Source Licence Version 1.0";
228     url = "http://jxplorer.org/licence.html";
229   };
231   cal10 = {
232     fullName = "Cryptographic Autonomy License version 1.0 (CAL-1.0)";
233     url = "https://opensource.org/licenses/CAL-1.0";
234   };
236   caldera = {
237     spdxId = "Caldera";
238     fullName = "Caldera License";
239     url = "http://www.lemis.com/grog/UNIX/ancient-source-all.pdf";
240   };
242   capec = {
243     fullName = "Common Attack Pattern Enumeration and Classification";
244     url = "https://capec.mitre.org/about/termsofuse.html";
245   };
247   clArtistic = {
248     spdxId = "ClArtistic";
249     fullName = "Clarified Artistic License";
250   };
252   cc0 = {
253     spdxId = "CC0-1.0";
254     fullName = "Creative Commons Zero v1.0 Universal";
255   };
257   cc-by-nc-nd-30 = {
258     spdxId = "CC-BY-NC-ND-3.0";
259     fullName = "Creative Commons Attribution Non Commercial No Derivative Works 3.0 Unported";
260     free = false;
261   };
263   cc-by-nc-nd-40 = {
264     spdxId = "CC-BY-NC-ND-4.0";
265     fullName = "Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International";
266     free = false;
267   };
269   cc-by-nc-sa-20 = {
270     spdxId = "CC-BY-NC-SA-2.0";
271     fullName = "Creative Commons Attribution Non Commercial Share Alike 2.0";
272     free = false;
273   };
275   cc-by-nc-sa-25 = {
276     spdxId = "CC-BY-NC-SA-2.5";
277     fullName = "Creative Commons Attribution Non Commercial Share Alike 2.5";
278     free = false;
279   };
281   cc-by-nc-sa-30 = {
282     spdxId = "CC-BY-NC-SA-3.0";
283     fullName = "Creative Commons Attribution Non Commercial Share Alike 3.0";
284     free = false;
285   };
287   cc-by-nc-sa-40 = {
288     spdxId = "CC-BY-NC-SA-4.0";
289     fullName = "Creative Commons Attribution Non Commercial Share Alike 4.0";
290     free = false;
291   };
293   cc-by-nc-30 = {
294     spdxId = "CC-BY-NC-3.0";
295     fullName = "Creative Commons Attribution Non Commercial 3.0 Unported";
296     free = false;
297   };
299   cc-by-nc-40 = {
300     spdxId = "CC-BY-NC-4.0";
301     fullName = "Creative Commons Attribution Non Commercial 4.0 International";
302     free = false;
303   };
305   cc-by-nd-30 = {
306     spdxId = "CC-BY-ND-3.0";
307     fullName = "Creative Commons Attribution-No Derivative Works v3.00";
308     free = false;
309   };
311   cc-by-sa-10 = {
312     spdxId = "CC-BY-SA-1.0";
313     fullName = "Creative Commons Attribution Share Alike 1.0";
314   };
316   cc-by-sa-20 = {
317     spdxId = "CC-BY-SA-2.0";
318     fullName = "Creative Commons Attribution Share Alike 2.0";
319   };
321   cc-by-sa-25 = {
322     spdxId = "CC-BY-SA-2.5";
323     fullName = "Creative Commons Attribution Share Alike 2.5";
324   };
326   cc-by-10 = {
327     spdxId = "CC-BY-1.0";
328     fullName = "Creative Commons Attribution 1.0";
329   };
331   cc-by-30 = {
332     spdxId = "CC-BY-3.0";
333     fullName = "Creative Commons Attribution 3.0";
334   };
336   cc-by-sa-30 = {
337     spdxId = "CC-BY-SA-3.0";
338     fullName = "Creative Commons Attribution Share Alike 3.0";
339   };
341   cc-by-40 = {
342     spdxId = "CC-BY-4.0";
343     fullName = "Creative Commons Attribution 4.0";
344   };
346   cc-by-sa-40 = {
347     spdxId = "CC-BY-SA-4.0";
348     fullName = "Creative Commons Attribution Share Alike 4.0";
349   };
351   cddl = {
352     spdxId = "CDDL-1.0";
353     fullName = "Common Development and Distribution License 1.0";
354   };
356   cecill20 = {
357     spdxId = "CECILL-2.0";
358     fullName = "CeCILL Free Software License Agreement v2.0";
359   };
361   cecill21 = {
362     spdxId = "CECILL-2.1";
363     fullName = "CeCILL Free Software License Agreement v2.1";
364   };
366   cecill-b = {
367     spdxId = "CECILL-B";
368     fullName  = "CeCILL-B Free Software License Agreement";
369   };
371   cecill-c = {
372     spdxId = "CECILL-C";
373     fullName  = "CeCILL-C Free Software License Agreement";
374   };
376   cpal10 = {
377     spdxId = "CPAL-1.0";
378     fullName = "Common Public Attribution License 1.0";
379   };
381   cpl10 = {
382     spdxId = "CPL-1.0";
383     fullName = "Common Public License 1.0";
384   };
386   curl = {
387     spdxId = "curl";
388     fullName = "curl License";
389   };
391   doc = {
392     spdxId = "DOC";
393     fullName = "DOC License";
394   };
396   drl10 = {
397     spdxId = "DRL-1.0";
398     fullName = "Detection Rule License 1.0";
399   };
401   eapl = {
402     fullName = "EPSON AVASYS PUBLIC LICENSE";
403     url = "https://avasys.jp/hp/menu000000700/hpg000000603.htm";
404     free = false;
405   };
407   ecl20 = {
408     fullName = "Educational Community License, Version 2.0";
409     url = "https://opensource.org/licenses/ECL-2.0";
410     shortName = "ECL 2.0";
411     spdxId = "ECL-2.0";
412   };
414   efl10 = {
415     spdxId = "EFL-1.0";
416     fullName = "Eiffel Forum License v1.0";
417   };
419   efl20 = {
420     spdxId = "EFL-2.0";
421     fullName = "Eiffel Forum License v2.0";
422   };
424   elastic20 = {
425     fullName = "Elastic License 2.0";
426     url = "https://github.com/elastic/elasticsearch/blob/main/licenses/ELASTIC-LICENSE-2.0.txt";
427     free = false;
428   };
430   epl10 = {
431     spdxId = "EPL-1.0";
432     fullName = "Eclipse Public License 1.0";
433   };
435   epl20 = {
436     spdxId = "EPL-2.0";
437     fullName = "Eclipse Public License 2.0";
438   };
440   epson = {
441     fullName = "Seiko Epson Corporation Software License Agreement for Linux";
442     url = "https://download.ebz.epson.net/dsc/du/02/eula/global/LINUX_EN.html";
443     free = false;
444   };
446   eupl11 = {
447     spdxId = "EUPL-1.1";
448     fullName = "European Union Public License 1.1";
449   };
451   eupl12 = {
452     spdxId = "EUPL-1.2";
453     fullName = "European Union Public License 1.2";
454   };
456   fdl11Only = {
457     spdxId = "GFDL-1.1-only";
458     fullName = "GNU Free Documentation License v1.1 only";
459   };
461   fdl11Plus = {
462     spdxId = "GFDL-1.1-or-later";
463     fullName = "GNU Free Documentation License v1.1 or later";
464   };
466   fdl12Only = {
467     spdxId = "GFDL-1.2-only";
468     fullName = "GNU Free Documentation License v1.2 only";
469   };
471   fdl12Plus = {
472     spdxId = "GFDL-1.2-or-later";
473     fullName = "GNU Free Documentation License v1.2 or later";
474   };
476   fdl13Only = {
477     spdxId = "GFDL-1.3-only";
478     fullName = "GNU Free Documentation License v1.3 only";
479   };
481   fdl13Plus = {
482     spdxId = "GFDL-1.3-or-later";
483     fullName = "GNU Free Documentation License v1.3 or later";
484   };
486   ffsl = {
487     fullName = "Floodgap Free Software License";
488     url = "https://www.floodgap.com/software/ffsl/license.html";
489     free = false;
490   };
492   fraunhofer-fdk = {
493     fullName = "Fraunhofer FDK AAC Codec Library";
494     spdxId = "FDK-AAC";
495   };
497   free = {
498     fullName = "Unspecified free software license";
499   };
501   ftl = {
502     spdxId = "FTL";
503     fullName = "Freetype Project License";
504   };
506   g4sl = {
507     fullName = "Geant4 Software License";
508     url = "https://geant4.web.cern.ch/geant4/license/LICENSE.html";
509   };
511   geogebra = {
512     fullName = "GeoGebra Non-Commercial License Agreement";
513     url = "https://www.geogebra.org/license";
514     free = false;
515   };
517   generaluser = {
518     fullName = "GeneralUser GS License v2.0";
519     url = "https://www.schristiancollins.com/generaluser.php"; # license included in sources
520   };
522   gfl = {
523     fullName = "GUST Font License";
524     url = "https://www.gust.org.pl/projects/e-foundry/licenses/GUST-FONT-LICENSE.txt";
525   };
527   gfsl = {
528     fullName = "GUST Font Source License";
529     url = "https://www.gust.org.pl/projects/e-foundry/licenses/GUST-FONT-SOURCE-LICENSE.txt";
530   };
532   gpl1Only = {
533     spdxId = "GPL-1.0-only";
534     fullName = "GNU General Public License v1.0 only";
535   };
537   gpl1Plus = {
538     spdxId = "GPL-1.0-or-later";
539     fullName = "GNU General Public License v1.0 or later";
540   };
542   gpl2Only = {
543     spdxId = "GPL-2.0-only";
544     fullName = "GNU General Public License v2.0 only";
545   };
547   gpl2Classpath = {
548     spdxId = "GPL-2.0-with-classpath-exception";
549     fullName = "GNU General Public License v2.0 only (with Classpath exception)";
550   };
552   gpl2ClasspathPlus = {
553     fullName = "GNU General Public License v2.0 or later (with Classpath exception)";
554     url = "https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception";
555   };
557   gpl2Oss = {
558     fullName = "GNU General Public License version 2 only (with OSI approved licenses linking exception)";
559     url = "https://www.mysql.com/about/legal/licensing/foss-exception";
560   };
562   gpl2Plus = {
563     spdxId = "GPL-2.0-or-later";
564     fullName = "GNU General Public License v2.0 or later";
565   };
567   gpl3Only = {
568     spdxId = "GPL-3.0-only";
569     fullName = "GNU General Public License v3.0 only";
570   };
572   gpl3Plus = {
573     spdxId = "GPL-3.0-or-later";
574     fullName = "GNU General Public License v3.0 or later";
575   };
577   gpl3ClasspathPlus = {
578     fullName = "GNU General Public License v3.0 or later (with Classpath exception)";
579     url = "https://fedoraproject.org/wiki/Licensing/GPL_Classpath_Exception";
580   };
582   hpnd = {
583     spdxId = "HPND";
584     fullName = "Historic Permission Notice and Disclaimer";
585   };
587   hpndSellVariant = {
588     fullName = "Historical Permission Notice and Disclaimer - sell variant";
589     spdxId = "HPND-sell-variant";
590   };
592   # Intel's license, seems free
593   iasl = {
594     fullName = "iASL";
595     url = "https://old.calculate-linux.org/packages/licenses/iASL";
596   };
598   ijg = {
599     spdxId = "IJG";
600     fullName = "Independent JPEG Group License";
601   };
603   imagemagick = {
604     fullName = "ImageMagick License";
605     spdxId = "imagemagick";
606   };
608   imlib2 = {
609     spdxId = "Imlib2";
610     fullName = "Imlib2 License";
611   };
613   info-zip = {
614     spdxId = "Info-ZIP";
615     fullName = "Info-ZIP License";
616     url = "https://infozip.sourceforge.net/license.html";
617   };
619   inria-compcert = {
620     fullName  = "INRIA Non-Commercial License Agreement for the CompCert verified compiler";
621     url       = "https://compcert.org/doc/LICENSE.txt";
622     free      = false;
623   };
625   inria-icesl = {
626     fullName = "End User License Agreement for IceSL Software";
627     url      = "https://icesl.loria.fr/assets/pdf/EULA_IceSL_binary.pdf";
628     free     = false;
629   };
631   inria-zelus = {
632     fullName = "INRIA Non-Commercial License Agreement for the Zélus compiler";
633     url = "https://github.com/INRIA/zelus/raw/829f2b97cba93b0543a9ca0272269e6b8fdad356/LICENSE";
634     free = false;
635   };
637   ipa = {
638     spdxId = "IPA";
639     fullName = "IPA Font License";
640   };
642   ipl10 = {
643     spdxId = "IPL-1.0";
644     fullName = "IBM Public License v1.0";
645   };
647   isc = {
648     spdxId = "ISC";
649     fullName = "ISC License";
650   };
652   # Proprietary binaries; free to redistribute without modification.
653   databricks = {
654     fullName = "Databricks Proprietary License";
655     url = "https://pypi.org/project/databricks-connect";
656     free = false;
657   };
659   databricks-dbx = {
660     fullName = "DataBricks eXtensions aka dbx License";
661     url = "https://github.com/databrickslabs/dbx/blob/743b579a4ac44531f764c6e522dbe5a81a7dc0e4/LICENSE";
662     free = false;
663     redistributable = false;
664   };
666   fair = {
667     fullName = "Fair License";
668     spdxId = "Fair";
669     free = true;
670   };
672   fairsource09 = {
673     fullName = "Fair Source License, version 0.9";
674     url = "https://fair.io/v0.9.txt";
675     free = false;
676     redistributable = true;
677   };
679   hl3 = {
680     fullName = "Hippocratic License v3.0";
681     url = "https://firstdonoharm.dev/version/3/0/core.txt";
682     free = false;
683     redistributable = true;
684   };
686   issl = {
687     fullName = "Intel Simplified Software License";
688     url = "https://software.intel.com/en-us/license/intel-simplified-software-license";
689     free = false;
690   };
692   knuth = {
693     fullName = "Knuth CTAN License";
694     spdxId = "Knuth-CTAN";
695   };
697   lal12 = {
698     spdxId = "LAL-1.2";
699     fullName = "Licence Art Libre 1.2";
700   };
702   lal13 = {
703     spdxId = "LAL-1.3";
704     fullName = "Licence Art Libre 1.3";
705   };
707   lens = {
708     fullName = "Lens Terms of Service Agreement";
709     url = "https://k8slens.dev/licenses/tos";
710     free = false;
711   };
713   lgpl2Only = {
714     spdxId = "LGPL-2.0-only";
715     fullName = "GNU Library General Public License v2 only";
716   };
718   lgpl2Plus = {
719     spdxId = "LGPL-2.0-or-later";
720     fullName = "GNU Library General Public License v2 or later";
721   };
723   lgpl21Only = {
724     spdxId = "LGPL-2.1-only";
725     fullName = "GNU Lesser General Public License v2.1 only";
726   };
728   lgpl21Plus = {
729     spdxId = "LGPL-2.1-or-later";
730     fullName = "GNU Lesser General Public License v2.1 or later";
731   };
733   lgpl3Only = {
734     spdxId = "LGPL-3.0-only";
735     fullName = "GNU Lesser General Public License v3.0 only";
736   };
738   lgpl3Plus = {
739     spdxId = "LGPL-3.0-or-later";
740     fullName = "GNU Lesser General Public License v3.0 or later";
741   };
743   lgpllr = {
744     spdxId = "LGPLLR";
745     fullName = "Lesser General Public License For Linguistic Resources";
746   };
748   libpng = {
749     spdxId = "Libpng";
750     fullName = "libpng License";
751   };
753   libpng2 = {
754     spdxId = "libpng-2.0"; # Used since libpng 1.6.36.
755     fullName = "PNG Reference Library version 2";
756   };
758   libssh2 = {
759     fullName = "libssh2 License";
760     url = "https://www.libssh2.org/license.html";
761   };
763   libtiff = {
764     spdxId = "libtiff";
765     fullName = "libtiff License";
766   };
768   llgpl21 = {
769     fullName = "Lisp LGPL; GNU Lesser General Public License version 2.1 with Franz Inc. preamble for clarification of LGPL terms in context of Lisp";
770     url = "https://opensource.franz.com/preamble.html";
771   };
773   lppl1 = {
774     spdxId = "LPPL-1.0";
775     fullName = "LaTeX Project Public License v1.0";
776   };
778   lppl12 = {
779     spdxId = "LPPL-1.2";
780     fullName = "LaTeX Project Public License v1.2";
781   };
783   lppl13a = {
784     spdxId = "LPPL-1.3a";
785     fullName = "LaTeX Project Public License v1.3a";
786   };
788   lppl13c = {
789     spdxId = "LPPL-1.3c";
790     fullName = "LaTeX Project Public License v1.3c";
791   };
793   lpl-102 = {
794     spdxId = "LPL-1.02";
795     fullName = "Lucent Public License v1.02";
796   };
798   miros = {
799     fullName = "MirOS License";
800     url = "https://opensource.org/licenses/MirOS";
801   };
803   # spdx.org does not (yet) differentiate between the X11 and Expat versions
804   # for details see https://en.wikipedia.org/wiki/MIT_License#Various_versions
805   mit = {
806     spdxId = "MIT";
807     fullName = "MIT License";
808   };
809   # https://spdx.org/licenses/MIT-feh.html
810   mit-feh = {
811     spdxId = "MIT-feh";
812     fullName = "feh License";
813   };
815   mitAdvertising = {
816     spdxId = "MIT-advertising";
817     fullName = "Enlightenment License (e16)";
818   };
820   mit0 = {
821     spdxId = "MIT-0";
822     fullName = "MIT No Attribution";
823   };
825   mpl10 = {
826     spdxId = "MPL-1.0";
827     fullName = "Mozilla Public License 1.0";
828   };
830   mpl11 = {
831     spdxId = "MPL-1.1";
832     fullName = "Mozilla Public License 1.1";
833   };
835   mpl20 = {
836     spdxId = "MPL-2.0";
837     fullName = "Mozilla Public License 2.0";
838   };
840   mspl = {
841     spdxId = "MS-PL";
842     fullName = "Microsoft Public License";
843   };
845   mulan-psl2 = {
846     spdxId = "MulanPSL-2.0";
847     fullName = "Mulan Permissive Software License, Version 2";
848     url = "https://license.coscl.org.cn/MulanPSL2";
849   };
851   nasa13 = {
852     spdxId = "NASA-1.3";
853     fullName = "NASA Open Source Agreement 1.3";
854     free = false;
855   };
857   ncsa = {
858     spdxId = "NCSA";
859     fullName = "University of Illinois/NCSA Open Source License";
860   };
862   ncul1 = {
863     spdxId = "NCUL1";
864     fullName = "Netdata Cloud UI License v1.0";
865     free = false;
866     redistributable = true; # Only if used in Netdata products.
867     url = "https://raw.githubusercontent.com/netdata/netdata/master/web/gui/v2/LICENSE.md";
868   };
870   nlpl = {
871     spdxId = "NLPL";
872     fullName = "No Limit Public License";
873   };
875   nposl3 = {
876     spdxId = "NPOSL-3.0";
877     fullName = "Non-Profit Open Software License 3.0";
878   };
880   nvidiaCuda = {
881     shortName = "CUDA EULA";
882     fullName = "CUDA Toolkit End User License Agreement (EULA)";
883     url = "https://docs.nvidia.com/cuda/eula/index.html#cuda-toolkit-supplement-license-agreement";
884     free = false;
885   };
887   nvidiaCudaRedist = {
888     shortName = "CUDA EULA";
889     fullName = "CUDA Toolkit End User License Agreement (EULA)";
890     url = "https://docs.nvidia.com/cuda/eula/index.html#cuda-toolkit-supplement-license-agreement";
891     free = false;
892     redistributable = true;
893   };
895   obsidian = {
896     fullName = "Obsidian End User Agreement";
897     url = "https://obsidian.md/eula";
898     free = false;
899   };
901   ocamlLgplLinkingException = {
902     spdxId = "OCaml-LGPL-linking-exception";
903     fullName = "OCaml LGPL Linking Exception";
904   };
906   ocamlpro_nc = {
907     fullName = "OCamlPro Non Commercial license version 1";
908     url = "https://alt-ergo.ocamlpro.com/http/alt-ergo-2.2.0/OCamlPro-Non-Commercial-License.pdf";
909     free = false;
910   };
912   odbl = {
913     spdxId = "ODbL-1.0";
914     fullName = "Open Data Commons Open Database License v1.0";
915   };
917   ofl = {
918     spdxId = "OFL-1.1";
919     fullName = "SIL Open Font License 1.1";
920   };
922   oml = {
923     spdxId = "OML";
924     fullName = "Open Market License";
925   };
927   openldap = {
928     spdxId = "OLDAP-2.8";
929     fullName = "Open LDAP Public License v2.8";
930   };
932   openssl = {
933     spdxId = "OpenSSL";
934     fullName = "OpenSSL License";
935   };
937   opubl = {
938     spdxId = "OPUBL-1.0";
939     fullName = "Open Publication License v1.0";
940   };
942   osl2 = {
943     spdxId = "OSL-2.0";
944     fullName = "Open Software License 2.0";
945   };
947   osl21 = {
948     spdxId = "OSL-2.1";
949     fullName = "Open Software License 2.1";
950   };
952   osl3 = {
953     spdxId = "OSL-3.0";
954     fullName = "Open Software License 3.0";
955   };
957   parity70 = {
958     spdxId = "Parity-7.0.0";
959     fullName = "Parity Public License 7.0.0";
960     url = "https://paritylicense.com/versions/7.0.0.html";
961   };
963   php301 = {
964     spdxId = "PHP-3.01";
965     fullName = "PHP License v3.01";
966   };
968   postgresql = {
969     spdxId = "PostgreSQL";
970     fullName = "PostgreSQL License";
971   };
973   postman = {
974     fullName = "Postman EULA";
975     url = "https://www.getpostman.com/licenses/postman_base_app";
976     free = false;
977   };
979   psfl = {
980     spdxId = "Python-2.0";
981     fullName = "Python Software Foundation License version 2";
982     url = "https://docs.python.org/license.html";
983   };
985   publicDomain = {
986     fullName = "Public Domain";
987   };
989   purdueBsd = {
990     fullName = " Purdue BSD-Style License"; # also know as lsof license
991     url = "https://enterprise.dejacode.com/licenses/public/purdue-bsd";
992   };
994   prosperity30 = {
995     fullName = "Prosperity-3.0.0";
996     free = false;
997     url = "https://prosperitylicense.com/versions/3.0.0.html";
998   };
1000   qhull = {
1001     spdxId = "Qhull";
1002     fullName = "Qhull License";
1003   };
1005   qpl = {
1006     spdxId = "QPL-1.0";
1007     fullName = "Q Public License 1.0";
1008   };
1010   qwt = {
1011     fullName = "Qwt License, Version 1.0";
1012     url = "https://qwt.sourceforge.io/qwtlicense.html";
1013   };
1015   ruby = {
1016     spdxId = "Ruby";
1017     fullName = "Ruby License";
1018   };
1020   sendmail = {
1021     spdxId = "Sendmail";
1022     fullName = "Sendmail License";
1023   };
1025   sgi-b-20 = {
1026     spdxId = "SGI-B-2.0";
1027     fullName = "SGI Free Software License B v2.0";
1028   };
1030   # Gentoo seems to treat it as a license:
1031   # https://gitweb.gentoo.org/repo/gentoo.git/tree/licenses/SGMLUG?id=7d999af4a47bf55e53e54713d98d145f935935c1
1032   sgmlug = {
1033     fullName = "SGML UG SGML Parser Materials license";
1034   };
1036   sleepycat = {
1037     spdxId = "Sleepycat";
1038     fullName = "Sleepycat License";
1039   };
1041   smail = {
1042     shortName = "smail";
1043     fullName = "SMAIL General Public License";
1044     url = "https://sources.debian.org/copyright/license/debianutils/4.9.1/";
1045   };
1047   sspl = {
1048     shortName = "SSPL";
1049     fullName = "Server Side Public License";
1050     url = "https://www.mongodb.com/licensing/server-side-public-license";
1051     free = false;
1052     # NOTE Debatable.
1053     # The license a slightly modified AGPL but still considered unfree by the
1054     # OSI for what seem like political reasons
1055     redistributable = true; # Definitely redistributable though, it's an AGPL derivative
1056   };
1058   stk = {
1059     shortName = "stk";
1060     fullName = "Synthesis Tool Kit 4.3";
1061     url = "https://github.com/thestk/stk/blob/master/LICENSE";
1062   };
1064   sustainableUse = {
1065     shortName = "sustainable";
1066     fullName = "Sustainable Use License";
1067     url = "https://github.com/n8n-io/n8n/blob/master/LICENSE.md";
1068     free = false;
1069     redistributable = false; # only free to redistribute "for non-commercial purposes"
1070   };
1072   tsl = {
1073     shortName = "TSL";
1074     fullName = "Timescale License Agreegment";
1075     url = "https://github.com/timescale/timescaledb/blob/main/tsl/LICENSE-TIMESCALE";
1076     unfree = true;
1077   };
1079   tcltk = {
1080     spdxId = "TCL";
1081     fullName = "TCL/TK License";
1082   };
1084   ucd = {
1085     fullName = "Unicode Character Database License";
1086     url = "https://fedoraproject.org/wiki/Licensing:UCD";
1087   };
1089   ufl = {
1090     fullName = "Ubuntu Font License 1.0";
1091     url = "https://ubuntu.com/legal/font-licence";
1092   };
1094   unfree = {
1095     fullName = "Unfree";
1096     free = false;
1097   };
1099   unfreeRedistributable = {
1100     fullName = "Unfree redistributable";
1101     free = false;
1102     redistributable = true;
1103   };
1105   unfreeRedistributableFirmware = {
1106     fullName = "Unfree redistributable firmware";
1107     redistributable = true;
1108     # Note: we currently consider these "free" for inclusion in the
1109     # channel and NixOS images.
1110   };
1112   unicode-dfs-2015 = {
1113     spdxId = "Unicode-DFS-2015";
1114     fullName = "Unicode License Agreement - Data Files and Software (2015)";
1115   };
1117   unicode-dfs-2016 = {
1118     spdxId = "Unicode-DFS-2016";
1119     fullName = "Unicode License Agreement - Data Files and Software (2016)";
1120   };
1122   unlicense = {
1123     spdxId = "Unlicense";
1124     fullName = "The Unlicense";
1125   };
1127   upl = {
1128     fullName = "Universal Permissive License";
1129     url = "https://oss.oracle.com/licenses/upl/";
1130   };
1132   vim = {
1133     spdxId = "Vim";
1134     fullName = "Vim License";
1135   };
1137   virtualbox-puel = {
1138     fullName = "Oracle VM VirtualBox Extension Pack Personal Use and Evaluation License (PUEL)";
1139     url = "https://www.virtualbox.org/wiki/VirtualBox_PUEL";
1140     free = false;
1141   };
1143   vol-sl = {
1144     fullName = "Volatility Software License, Version 1.0";
1145     url = "https://www.volatilityfoundation.org/license/vsl-v1.0";
1146   };
1148   vsl10 = {
1149     spdxId = "VSL-1.0";
1150     fullName = "Vovida Software License v1.0";
1151   };
1153   watcom = {
1154     spdxId = "Watcom-1.0";
1155     fullName = "Sybase Open Watcom Public License 1.0";
1156   };
1158   w3c = {
1159     spdxId = "W3C";
1160     fullName = "W3C Software Notice and License";
1161   };
1163   wadalab = {
1164     fullName = "Wadalab Font License";
1165     url = "https://fedoraproject.org/wiki/Licensing:Wadalab?rd=Licensing/Wadalab";
1166   };
1168   wtfpl = {
1169     spdxId = "WTFPL";
1170     fullName = "Do What The F*ck You Want To Public License";
1171   };
1173   wxWindows = {
1174     spdxId = "wxWindows";
1175     fullName = "wxWindows Library Licence, Version 3.1";
1176   };
1178   x11 = {
1179     spdxId = "X11";
1180     fullName = "X11 License";
1181   };
1183   xfig = {
1184     fullName = "xfig";
1185     url = "https://mcj.sourceforge.net/authors.html#xfig";
1186   };
1188   zlib = {
1189     spdxId = "Zlib";
1190     fullName = "zlib License";
1191   };
1193   zpl20 = {
1194     spdxId = "ZPL-2.0";
1195     fullName = "Zope Public License 2.0";
1196   };
1198   zpl21 = {
1199     spdxId = "ZPL-2.1";
1200     fullName = "Zope Public License 2.1";
1201   };
1202 } // {
1203   # TODO: remove legacy aliases
1204   agpl3 = {
1205     spdxId = "AGPL-3.0";
1206     fullName = "GNU Affero General Public License v3.0";
1207     deprecated = true;
1208   };
1209   gpl2 = {
1210     spdxId = "GPL-2.0";
1211     fullName = "GNU General Public License v2.0";
1212     deprecated = true;
1213   };
1214   gpl3 = {
1215     spdxId = "GPL-3.0";
1216     fullName = "GNU General Public License v3.0";
1217     deprecated = true;
1218   };
1219   lgpl2 = {
1220     spdxId = "LGPL-2.0";
1221     fullName = "GNU Library General Public License v2";
1222     deprecated = true;
1223   };
1224   lgpl21 = {
1225     spdxId = "LGPL-2.1";
1226     fullName = "GNU Lesser General Public License v2.1";
1227     deprecated = true;
1228   };
1229   lgpl3 = {
1230     spdxId = "LGPL-3.0";
1231     fullName = "GNU Lesser General Public License v3.0";
1232     deprecated = true;
1233   };