1{ lib }:
2let
3 inherit (lib) optionalAttrs;
4
5 mkLicense =
6 lname:
7 {
8 shortName ? lname,
9 # Most of our licenses are Free, explicitly declare unfree additions as such!
10 free ? true,
11 deprecated ? false,
12 spdxId ? null,
13 url ? null,
14 fullName ? null,
15 redistributable ? free,
16 }@attrs:
17 {
18 inherit
19 shortName
20 free
21 deprecated
22 redistributable
23 ;
24 }
25 // optionalAttrs (attrs ? spdxId) {
26 inherit spdxId;
27 url = "https://spdx.org/licenses/${spdxId}.html";
28 }
29 // optionalAttrs (attrs ? url) {
30 inherit url;
31 }
32 // optionalAttrs (attrs ? fullName) {
33 inherit fullName;
34 };
35
36in
37lib.mapAttrs mkLicense (
38 {
39 /**
40 License identifiers from spdx.org where possible.
41 If you cannot find your license here, then look for a similar license or
42 add it to this list. The URL mentioned above is a good source for inspiration.
43 */
44
45 abstyles = {
46 spdxId = "Abstyles";
47 fullName = "Abstyles License";
48 };
49
50 acsl14 = {
51 fullName = "Anti-Capitalist Software License v1.4";
52 url = "https://anticapitalist.software/";
53 /**
54 restrictions on corporations apply for both use and redistribution
55 */
56 free = false;
57 redistributable = false;
58 };
59
60 activision = {
61 # https://doomwiki.org/wiki/Raven_source_code_licensing
62 fullName = "Activision EULA";
63 url = "https://www.doomworld.com/eternity/activision_eula.txt";
64 free = false;
65 };
66
67 adobeUtopia = {
68 fullName = "Adobe Utopia Font License";
69 spdxId = "Adobe-Utopia";
70 };
71
72 afl20 = {
73 spdxId = "AFL-2.0";
74 fullName = "Academic Free License v2.0";
75 };
76
77 afl21 = {
78 spdxId = "AFL-2.1";
79 fullName = "Academic Free License v2.1";
80 };
81
82 afl3 = {
83 spdxId = "AFL-3.0";
84 fullName = "Academic Free License v3.0";
85 };
86
87 agpl3Only = {
88 spdxId = "AGPL-3.0-only";
89 fullName = "GNU Affero General Public License v3.0 only";
90 };
91
92 agpl3Plus = {
93 spdxId = "AGPL-3.0-or-later";
94 fullName = "GNU Affero General Public License v3.0 or later";
95 };
96
97 aladdin = {
98 spdxId = "Aladdin";
99 fullName = "Aladdin Free Public License";
100 free = false;
101 };
102
103 amazonsl = {
104 fullName = "Amazon Software License";
105 url = "https://aws.amazon.com/asl/";
106 free = false;
107 };
108
109 amd = {
110 fullName = "AMD License Agreement";
111 url = "https://developer.amd.com/amd-license-agreement/";
112 free = false;
113 };
114
115 aml = {
116 spdxId = "AML";
117 fullName = "Apple MIT License";
118 };
119
120 ampas = {
121 spdxId = "AMPAS";
122 fullName = "Academy of Motion Picture Arts and Sciences BSD";
123 };
124
125 aom = {
126 fullName = "Alliance for Open Media Patent License 1.0";
127 url = "https://aomedia.org/license/patent-license/";
128 };
129
130 apple-psl10 = {
131 spdxId = "APSL-1.0";
132 fullName = "Apple Public Source License 1.0";
133 };
134
135 apple-psl20 = {
136 spdxId = "APSL-2.0";
137 fullName = "Apple Public Source License 2.0";
138 };
139
140 arphicpl = {
141 spdxId = "Arphic-1999";
142 fullName = "Arphic Public License";
143 };
144
145 artistic1 = {
146 spdxId = "Artistic-1.0";
147 fullName = "Artistic License 1.0";
148 };
149
150 artistic1-cl8 = {
151 spdxId = "Artistic-1.0-cl8";
152 fullName = "Artistic License 1.0 w/clause 8";
153 };
154
155 artistic2 = {
156 spdxId = "Artistic-2.0";
157 fullName = "Artistic License 2.0";
158 };
159
160 asl11 = {
161 spdxId = "Apache-1.1";
162 fullName = "Apache License 1.1";
163 };
164
165 asl20 = {
166 spdxId = "Apache-2.0";
167 fullName = "Apache License 2.0";
168 };
169
170 baekmuk = {
171 spdxId = "Baekmuk";
172 fullName = "Baekmuk License";
173 };
174
175 bitstreamVera = {
176 spdxId = "Bitstream-Vera";
177 fullName = "Bitstream Vera Font License";
178 };
179
180 bitTorrent10 = {
181 spdxId = "BitTorrent-1.0";
182 fullName = " BitTorrent Open Source License v1.0";
183 };
184
185 bitTorrent11 = {
186 spdxId = "BitTorrent-1.1";
187 fullName = " BitTorrent Open Source License v1.1";
188 };
189
190 boehmGC = {
191 spdxId = "Boehm-GC";
192 fullName = "Boehm-Demers-Weiser GC License";
193 };
194
195 bola11 = {
196 url = "https://blitiri.com.ar/p/bola/";
197 fullName = "Buena Onda License Agreement 1.1";
198 };
199
200 boost = {
201 spdxId = "BSL-1.0";
202 fullName = "Boost Software License 1.0";
203 };
204
205 beerware = {
206 spdxId = "Beerware";
207 fullName = "Beerware License";
208 };
209
210 blueOak100 = {
211 spdxId = "BlueOak-1.0.0";
212 fullName = "Blue Oak Model License 1.0.0";
213 };
214
215 bsd0 = {
216 spdxId = "0BSD";
217 fullName = "BSD Zero Clause License";
218 };
219
220 bsd1 = {
221 spdxId = "BSD-1-Clause";
222 fullName = "BSD 1-Clause License";
223 };
224
225 bsd2 = {
226 spdxId = "BSD-2-Clause";
227 fullName = ''BSD 2-clause "Simplified" License'';
228 };
229
230 bsd2Patent = {
231 spdxId = "BSD-2-Clause-Patent";
232 fullName = "BSD-2-Clause Plus Patent License";
233 };
234
235 bsd2WithViews = {
236 spdxId = "BSD-2-Clause-Views";
237 fullName = "BSD 2-Clause with views sentence";
238 };
239
240 bsd3 = {
241 spdxId = "BSD-3-Clause";
242 fullName = ''BSD 3-clause "New" or "Revised" License'';
243 };
244
245 bsd3Clear = {
246 spdxId = "BSD-3-Clause-Clear";
247 fullName = "BSD 3-Clause Clear License";
248 };
249
250 bsd3Lbnl = {
251 spdxId = "BSD-3-Clause-LBNL";
252 fullName = "Lawrence Berkeley National Labs BSD variant license";
253 };
254
255 bsd3ClauseTso = {
256 spdxId = "BSD-3-Clause-Tso";
257 fullName = "BSD 3-Clause Tso variant";
258 };
259
260 bsdAxisNoDisclaimerUnmodified = {
261 fullName = "BSD-Axis without Warranty Disclaimer with Unmodified requirement";
262 url = "https://scancode-licensedb.aboutcode.org/bsd-no-disclaimer-unmodified.html";
263 };
264
265 bsdOriginal = {
266 spdxId = "BSD-4-Clause";
267 fullName = ''BSD 4-clause "Original" or "Old" License'';
268 };
269
270 bsdOriginalShortened = {
271 spdxId = "BSD-4-Clause-Shortened";
272 fullName = "BSD 4 Clause Shortened";
273 };
274
275 bsdOriginalUC = {
276 spdxId = "BSD-4-Clause-UC";
277 fullName = "BSD 4-Clause University of California-Specific";
278 };
279
280 bsdProtection = {
281 spdxId = "BSD-Protection";
282 fullName = "BSD Protection License";
283 };
284
285 bsdSourceCode = {
286 spdxId = "BSD-Source-Code";
287 fullName = "BSD Source Code Attribution";
288 };
289
290 bsl11 = {
291 spdxId = "BUSL-1.1";
292 fullName = "Business Source License 1.1";
293 free = false;
294 redistributable = true;
295 };
296
297 cal10 = {
298 spdxId = "CAL-1.0";
299 fullName = "Cryptographic Autonomy License version 1.0 (CAL-1.0)";
300 };
301
302 caldera = {
303 spdxId = "Caldera";
304 fullName = "Caldera License";
305 };
306
307 capec = {
308 fullName = "Common Attack Pattern Enumeration and Classification";
309 url = "https://capec.mitre.org/about/termsofuse.html";
310 };
311
312 clArtistic = {
313 spdxId = "ClArtistic";
314 fullName = "Clarified Artistic License";
315 };
316
317 cc0 = {
318 spdxId = "CC0-1.0";
319 fullName = "Creative Commons Zero v1.0 Universal";
320 };
321
322 cc-by-nc-nd-30 = {
323 spdxId = "CC-BY-NC-ND-3.0";
324 fullName = "Creative Commons Attribution Non Commercial No Derivative Works 3.0 Unported";
325 free = false;
326 };
327
328 cc-by-nc-nd-40 = {
329 spdxId = "CC-BY-NC-ND-4.0";
330 fullName = "Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International";
331 free = false;
332 };
333
334 cc-by-nc-sa-20 = {
335 spdxId = "CC-BY-NC-SA-2.0";
336 fullName = "Creative Commons Attribution Non Commercial Share Alike 2.0";
337 free = false;
338 };
339
340 cc-by-nc-sa-25 = {
341 spdxId = "CC-BY-NC-SA-2.5";
342 fullName = "Creative Commons Attribution Non Commercial Share Alike 2.5";
343 free = false;
344 };
345
346 cc-by-nc-sa-30 = {
347 spdxId = "CC-BY-NC-SA-3.0";
348 fullName = "Creative Commons Attribution Non Commercial Share Alike 3.0";
349 free = false;
350 };
351
352 cc-by-nc-sa-40 = {
353 spdxId = "CC-BY-NC-SA-4.0";
354 fullName = "Creative Commons Attribution Non Commercial Share Alike 4.0";
355 free = false;
356 };
357
358 cc-by-nc-30 = {
359 spdxId = "CC-BY-NC-3.0";
360 fullName = "Creative Commons Attribution Non Commercial 3.0 Unported";
361 free = false;
362 };
363
364 cc-by-nc-40 = {
365 spdxId = "CC-BY-NC-4.0";
366 fullName = "Creative Commons Attribution Non Commercial 4.0 International";
367 free = false;
368 };
369
370 cc-by-nd-30 = {
371 spdxId = "CC-BY-ND-3.0";
372 fullName = "Creative Commons Attribution-No Derivative Works v3.00";
373 free = false;
374 };
375
376 cc-by-nd-40 = {
377 spdxId = "CC-BY-ND-4.0";
378 fullName = "Creative Commons Attribution-No Derivative Works v4.0";
379 free = false;
380 };
381
382 cc-by-sa-10 = {
383 spdxId = "CC-BY-SA-1.0";
384 fullName = "Creative Commons Attribution Share Alike 1.0";
385 };
386
387 cc-by-sa-20 = {
388 spdxId = "CC-BY-SA-2.0";
389 fullName = "Creative Commons Attribution Share Alike 2.0";
390 };
391
392 cc-by-sa-25 = {
393 spdxId = "CC-BY-SA-2.5";
394 fullName = "Creative Commons Attribution Share Alike 2.5";
395 };
396
397 cc-by-10 = {
398 spdxId = "CC-BY-1.0";
399 fullName = "Creative Commons Attribution 1.0";
400 };
401
402 cc-by-20 = {
403 spdxId = "CC-BY-2.0";
404 fullName = "Creative Commons Attribution 2.0";
405 };
406
407 cc-by-30 = {
408 spdxId = "CC-BY-3.0";
409 fullName = "Creative Commons Attribution 3.0";
410 };
411
412 cc-by-sa-30 = {
413 spdxId = "CC-BY-SA-3.0";
414 fullName = "Creative Commons Attribution Share Alike 3.0";
415 };
416
417 cc-by-40 = {
418 spdxId = "CC-BY-4.0";
419 fullName = "Creative Commons Attribution 4.0";
420 };
421
422 cc-by-sa-40 = {
423 spdxId = "CC-BY-SA-4.0";
424 fullName = "Creative Commons Attribution Share Alike 4.0";
425 };
426
427 cc-sa-10 = {
428 spdxId = "CC-SA-1.0";
429 fullName = "Creative Commons Share Alike 1.0";
430 };
431
432 cddl = {
433 spdxId = "CDDL-1.0";
434 fullName = "Common Development and Distribution License 1.0";
435 };
436
437 cecill20 = {
438 spdxId = "CECILL-2.0";
439 fullName = "CeCILL Free Software License Agreement v2.0";
440 };
441
442 cecill21 = {
443 spdxId = "CECILL-2.1";
444 fullName = "CeCILL Free Software License Agreement v2.1";
445 };
446
447 cecill-b = {
448 spdxId = "CECILL-B";
449 fullName = "CeCILL-B Free Software License Agreement";
450 };
451
452 cecill-c = {
453 spdxId = "CECILL-C";
454 fullName = "CeCILL-C Free Software License Agreement";
455 };
456
457 classpathException20 = {
458 spdxId = "Classpath-exception-2.0";
459 fullName = "Classpath exception 2.0";
460 };
461
462 cockroachdb-community-license = {
463 fullName = "CockroachDB Community License Agreement";
464 url = "https://www.cockroachlabs.com/cockroachdb-community-license/";
465 free = false;
466 };
467
468 cpal10 = {
469 spdxId = "CPAL-1.0";
470 fullName = "Common Public Attribution License 1.0";
471 };
472
473 commons-clause = {
474 fullName = "Commons Clause License";
475 url = "https://commonsclause.com/";
476 free = false;
477 };
478
479 cpl10 = {
480 spdxId = "CPL-1.0";
481 fullName = "Common Public License 1.0";
482 };
483
484 cnri-python = {
485 spdxId = "CNRI-Python";
486 fullName = "CNRI Python License";
487 };
488
489 cronyx = {
490 spdxId = "Cronyx";
491 fullName = "Cronyx License";
492 };
493
494 curl = {
495 spdxId = "curl";
496 fullName = "curl License";
497 };
498
499 doc = {
500 spdxId = "DOC";
501 fullName = "DOC License";
502 };
503
504 drl10 = {
505 spdxId = "DRL-1.0";
506 fullName = "Detection Rule License 1.0";
507 };
508
509 dtoa = {
510 spdxId = "dtoa";
511 fullName = "dtoa License";
512 };
513
514 eapl = {
515 fullName = "EPSON AVASYS PUBLIC LICENSE";
516 url = "https://avasys.jp/hp/menu000000700/hpg000000603.htm";
517 free = false;
518 };
519
520 ecl20 = {
521 fullName = "Educational Community License, Version 2.0";
522 shortName = "ECL 2.0";
523 spdxId = "ECL-2.0";
524 };
525
526 efl10 = {
527 spdxId = "EFL-1.0";
528 fullName = "Eiffel Forum License v1.0";
529 };
530
531 efl20 = {
532 spdxId = "EFL-2.0";
533 fullName = "Eiffel Forum License v2.0";
534 };
535
536 elastic20 = {
537 spdxId = "Elastic-2.0";
538 fullName = "Elastic License 2.0";
539 free = false;
540 };
541
542 epl10 = {
543 spdxId = "EPL-1.0";
544 fullName = "Eclipse Public License 1.0";
545 };
546
547 epl20 = {
548 spdxId = "EPL-2.0";
549 fullName = "Eclipse Public License 2.0";
550 };
551
552 epson = {
553 fullName = "Seiko Epson Corporation Software License Agreement for Linux";
554 url = "https://download.ebz.epson.net/dsc/du/02/eula/global/LINUX_EN.html";
555 free = false;
556 };
557
558 eupl11 = {
559 spdxId = "EUPL-1.1";
560 fullName = "European Union Public License 1.1";
561 };
562
563 eupl12 = {
564 spdxId = "EUPL-1.2";
565 fullName = "European Union Public License 1.2";
566 };
567
568 fdl11Only = {
569 spdxId = "GFDL-1.1-only";
570 fullName = "GNU Free Documentation License v1.1 only";
571 };
572
573 fdl11Plus = {
574 spdxId = "GFDL-1.1-or-later";
575 fullName = "GNU Free Documentation License v1.1 or later";
576 };
577
578 fdl12Only = {
579 spdxId = "GFDL-1.2-only";
580 fullName = "GNU Free Documentation License v1.2 only";
581 };
582
583 fdl12Plus = {
584 spdxId = "GFDL-1.2-or-later";
585 fullName = "GNU Free Documentation License v1.2 or later";
586 };
587
588 fdl13Only = {
589 spdxId = "GFDL-1.3-only";
590 fullName = "GNU Free Documentation License v1.3 only";
591 };
592
593 fdl13Plus = {
594 spdxId = "GFDL-1.3-or-later";
595 fullName = "GNU Free Documentation License v1.3 or later";
596 };
597
598 ffsl = {
599 fullName = "Floodgap Free Software License";
600 url = "https://www.floodgap.com/software/ffsl/license.html";
601 free = false;
602 };
603
604 fontException = {
605 spdxId = "Font-exception-2.0";
606 fullName = "Font exception 2.0";
607 };
608
609 fraunhofer-fdk = {
610 fullName = "Fraunhofer FDK AAC Codec Library";
611 spdxId = "FDK-AAC";
612 };
613
614 free = {
615 fullName = "Unspecified free software license";
616 };
617
618 freeimage = {
619 spdxId = "FreeImage";
620 fullName = "FreeImage Public License v1.0";
621 };
622
623 fsl11Mit = {
624 fullName = "Functional Source License, Version 1.1, MIT Future License";
625 spdxId = "FSL-1.1-MIT";
626 free = false;
627 redistributable = true;
628 };
629
630 fsl11Asl20 = {
631 fullName = "Functional Source License, Version 1.1, Apache 2.0 Future License";
632 spdxId = "FSL-1.1-ALv2";
633 free = false;
634 redistributable = true;
635 };
636
637 ftl = {
638 spdxId = "FTL";
639 fullName = "Freetype Project License";
640 };
641
642 g4sl = {
643 fullName = "Geant4 Software License";
644 url = "https://geant4.web.cern.ch/geant4/license/LICENSE.html";
645 };
646
647 geogebra = {
648 fullName = "GeoGebra Non-Commercial License Agreement";
649 url = "https://www.geogebra.org/license";
650 free = false;
651 };
652
653 generaluser = {
654 fullName = "GeneralUser GS License v2.0";
655 url = "https://www.schristiancollins.com/generaluser.php"; # license included in sources
656 };
657
658 gfl = {
659 fullName = "GUST Font License";
660 url = "https://www.gust.org.pl/projects/e-foundry/licenses/GUST-FONT-LICENSE.txt";
661 };
662
663 gfsl = {
664 fullName = "GUST Font Source License";
665 url = "https://www.gust.org.pl/projects/e-foundry/licenses/GUST-FONT-SOURCE-LICENSE.txt";
666 };
667
668 gpl1Only = {
669 spdxId = "GPL-1.0-only";
670 fullName = "GNU General Public License v1.0 only";
671 };
672
673 gpl1Plus = {
674 spdxId = "GPL-1.0-or-later";
675 fullName = "GNU General Public License v1.0 or later";
676 };
677
678 gpl2Only = {
679 spdxId = "GPL-2.0-only";
680 fullName = "GNU General Public License v2.0 only";
681 };
682
683 gpl2Plus = {
684 spdxId = "GPL-2.0-or-later";
685 fullName = "GNU General Public License v2.0 or later";
686 };
687
688 gpl3Only = {
689 spdxId = "GPL-3.0-only";
690 fullName = "GNU General Public License v3.0 only";
691 };
692
693 gpl3Plus = {
694 spdxId = "GPL-3.0-or-later";
695 fullName = "GNU General Public License v3.0 or later";
696 };
697
698 giftware = {
699 spdxId = "Giftware";
700 fullName = "Giftware License";
701 };
702
703 hpnd = {
704 spdxId = "HPND";
705 fullName = "Historic Permission Notice and Disclaimer";
706 };
707
708 hpndDifferentDisclaimer = {
709 fullName = "HPND with different disclaimer";
710 url = "https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/blob/1914233e662d23ffb3812b80fadd0bbd064ad91c/COPYING-x11proto#L69-88";
711 # TODO: if the license gets accepted to spdx then
712 # add spdxId
713 # else
714 # remove license
715 # && replace reference with whatever this license is supposed to be then
716 # https://tools.spdx.org/app/license_requests/456
717 # https://github.com/spdx/license-list-xml/issues/2753
718 };
719
720 hpndSellVariant = {
721 fullName = "Historical Permission Notice and Disclaimer - sell variant";
722 spdxId = "HPND-sell-variant";
723 };
724
725 hpndDec = {
726 fullName = "Historical Permission Notice and Disclaimer - DEC variant";
727 spdxId = "HPND-DEC";
728 };
729
730 hpndDoc = {
731 fullName = "Historical Permission Notice and Disclaimer - documentation variant";
732 spdxId = "HPND-doc";
733 };
734
735 hpndDocSell = {
736 fullName = "Historical Permission Notice and Disclaimer - documentation sell variant";
737 spdxId = "HPND-doc-sell";
738 };
739
740 hpndUc = {
741 spdxId = "HPND-UC";
742 fullName = "Historical Permission Notice and Disclaimer - University of California variant";
743 };
744
745 # Intel's license, seems free
746 iasl = {
747 spdxId = "Intel-ACPI";
748 fullName = "Intel ACPI Software License Agreement";
749 };
750
751 icu = {
752 spdxId = "ICU";
753 fullName = "ICU";
754 };
755
756 ijg = {
757 spdxId = "IJG";
758 fullName = "Independent JPEG Group License";
759 };
760
761 imagemagick = {
762 fullName = "ImageMagick License";
763 spdxId = "ImageMagick";
764 };
765
766 imlib2 = {
767 spdxId = "Imlib2";
768 fullName = "Imlib2 License";
769 };
770
771 info-zip = {
772 spdxId = "Info-ZIP";
773 fullName = "Info-ZIP License";
774 };
775
776 inria-compcert = {
777 fullName = "INRIA Non-Commercial License Agreement for the CompCert verified compiler";
778 url = "https://compcert.org/doc/LICENSE.txt";
779 free = false;
780 };
781
782 inria-icesl = {
783 fullName = "End User License Agreement for IceSL Software";
784 url = "https://icesl.loria.fr/assets/pdf/EULA_IceSL_binary.pdf";
785 free = false;
786 };
787
788 inria-zelus = {
789 fullName = "INRIA Non-Commercial License Agreement for the Zélus compiler";
790 url = "https://github.com/INRIA/zelus/raw/829f2b97cba93b0543a9ca0272269e6b8fdad356/LICENSE";
791 free = false;
792 };
793
794 interbase = {
795 spdxId = "Interbase-1.0";
796 fullName = "Interbase Public License v1.0";
797 };
798
799 ipa = {
800 spdxId = "IPA";
801 fullName = "IPA Font License";
802 };
803
804 ipl10 = {
805 spdxId = "IPL-1.0";
806 fullName = "IBM Public License v1.0";
807 };
808
809 isc = {
810 spdxId = "ISC";
811 fullName = "ISC License";
812 };
813
814 databricks = {
815 fullName = "Databricks License";
816 url = "https://www.databricks.com/legal/db-license";
817 free = false;
818 };
819
820 databricks-dbx = {
821 fullName = "DataBricks eXtensions aka dbx License";
822 url = "https://github.com/databrickslabs/dbx/blob/743b579a4ac44531f764c6e522dbe5a81a7dc0e4/LICENSE";
823 free = false;
824 redistributable = false;
825 };
826
827 databricks-license = {
828 fullName = "Databricks License";
829 url = "https://www.databricks.com/legal/db-license";
830 free = false;
831 };
832
833 fair = {
834 fullName = "Fair License";
835 spdxId = "Fair";
836 free = true;
837 };
838
839 fairsource09 = {
840 fullName = "Fair Source License, version 0.9";
841 url = "https://fair.io/v0.9.txt";
842 free = false;
843 redistributable = true;
844 };
845
846 hl3 = {
847 fullName = "Hippocratic License v3.0";
848 url = "https://firstdonoharm.dev/version/3/0/core.txt";
849 free = false;
850 redistributable = true;
851 };
852
853 issl = {
854 fullName = "Intel Simplified Software License";
855 url = "https://software.intel.com/en-us/license/intel-simplified-software-license";
856 free = false;
857 };
858
859 knuth = {
860 fullName = "Knuth CTAN License";
861 spdxId = "Knuth-CTAN";
862 };
863
864 lal12 = {
865 spdxId = "LAL-1.2";
866 fullName = "Licence Art Libre 1.2";
867 };
868
869 lal13 = {
870 spdxId = "LAL-1.3";
871 fullName = "Licence Art Libre 1.3";
872 };
873
874 lens = {
875 fullName = "Lens Terms of Service Agreement";
876 url = "https://k8slens.dev/legal/tos";
877 free = false;
878 };
879
880 lgpl2Only = {
881 spdxId = "LGPL-2.0-only";
882 fullName = "GNU Library General Public License v2 only";
883 };
884
885 lgpl2Plus = {
886 spdxId = "LGPL-2.0-or-later";
887 fullName = "GNU Library General Public License v2 or later";
888 };
889
890 lgpl21Only = {
891 spdxId = "LGPL-2.1-only";
892 fullName = "GNU Lesser General Public License v2.1 only";
893 };
894
895 lgpl21Plus = {
896 spdxId = "LGPL-2.1-or-later";
897 fullName = "GNU Lesser General Public License v2.1 or later";
898 };
899
900 lgpl3Only = {
901 spdxId = "LGPL-3.0-only";
902 fullName = "GNU Lesser General Public License v3.0 only";
903 };
904
905 lgpl3Plus = {
906 spdxId = "LGPL-3.0-or-later";
907 fullName = "GNU Lesser General Public License v3.0 or later";
908 };
909
910 lgpllr = {
911 spdxId = "LGPLLR";
912 fullName = "Lesser General Public License For Linguistic Resources";
913 };
914
915 libpng = {
916 spdxId = "Libpng";
917 fullName = "libpng License";
918 };
919
920 libpng2 = {
921 spdxId = "libpng-2.0"; # Used since libpng 1.6.36.
922 fullName = "PNG Reference Library version 2";
923 };
924
925 libtiff = {
926 spdxId = "libtiff";
927 fullName = "libtiff License";
928 };
929
930 llgpl21 = {
931 fullName = "Lisp LGPL; GNU Lesser General Public License version 2.1 with Franz Inc. preamble for clarification of LGPL terms in context of Lisp";
932 url = "https://opensource.franz.com/preamble.html";
933 };
934
935 llvm-exception = {
936 spdxId = "LLVM-exception";
937 fullName = "LLVM Exception"; # LLVM exceptions to the Apache 2.0 License
938 };
939
940 lppl1 = {
941 spdxId = "LPPL-1.0";
942 fullName = "LaTeX Project Public License v1.0";
943 };
944
945 lppl12 = {
946 spdxId = "LPPL-1.2";
947 fullName = "LaTeX Project Public License v1.2";
948 };
949
950 lppl13a = {
951 spdxId = "LPPL-1.3a";
952 fullName = "LaTeX Project Public License v1.3a";
953 };
954
955 lppl13c = {
956 spdxId = "LPPL-1.3c";
957 fullName = "LaTeX Project Public License v1.3c";
958 };
959
960 lpl-102 = {
961 spdxId = "LPL-1.02";
962 fullName = "Lucent Public License v1.02";
963 };
964
965 lsof = {
966 spdxId = "lsof";
967 fullName = "lsof License"; # also known as Purdue BSD-Style License
968 };
969
970 miros = {
971 spdxId = "MirOS";
972 fullName = "MirOS License";
973 };
974
975 mit = {
976 spdxId = "MIT";
977 fullName = "MIT License";
978 };
979
980 mit-cmu = {
981 spdxId = "MIT-CMU";
982 fullName = "CMU License";
983 };
984
985 mit-feh = {
986 spdxId = "MIT-feh";
987 fullName = "feh License";
988 };
989
990 mit-modern = {
991 # Also known as Zsh license
992 spdxId = "MIT-Modern-Variant";
993 fullName = "MIT License Modern Variant";
994 };
995
996 mitAdvertising = {
997 spdxId = "MIT-advertising";
998 fullName = "Enlightenment License (e16)";
999 };
1000
1001 mit0 = {
1002 spdxId = "MIT-0";
1003 fullName = "MIT No Attribution";
1004 };
1005
1006 mitOpenGroup = {
1007 spdxId = "MIT-open-group";
1008 fullName = "MIT Open Group variant";
1009 };
1010
1011 mpl10 = {
1012 spdxId = "MPL-1.0";
1013 fullName = "Mozilla Public License 1.0";
1014 };
1015
1016 mpl11 = {
1017 spdxId = "MPL-1.1";
1018 fullName = "Mozilla Public License 1.1";
1019 };
1020
1021 mpl20 = {
1022 spdxId = "MPL-2.0";
1023 fullName = "Mozilla Public License 2.0";
1024 };
1025
1026 mplus = {
1027 spdxId = "mplus";
1028 fullName = "M+ Font License";
1029 };
1030
1031 mspl = {
1032 spdxId = "MS-PL";
1033 fullName = "Microsoft Public License";
1034 };
1035
1036 mulan-psl2 = {
1037 spdxId = "MulanPSL-2.0";
1038 fullName = "Mulan Permissive Software License, Version 2";
1039 };
1040
1041 naist-2003 = {
1042 spdxId = "NAIST-2003";
1043 fullName = "Nara Institute of Science and Technology License (2003)";
1044 };
1045
1046 nasa13 = {
1047 spdxId = "NASA-1.3";
1048 fullName = "NASA Open Source Agreement 1.3";
1049 free = false;
1050 };
1051
1052 ncbiPd = {
1053 spdxId = "NCBI-PD";
1054 fullName = "NCBI Public Domain Notice";
1055 # Due to United States copyright law, anything with this "license" does not have a copyright in the
1056 # jurisdiction of the United States. However, other jurisdictions may assign the United States
1057 # government copyright to the work, and the license explicitly states that in such a case, no license
1058 # is granted. This is nonfree and nonredistributable in most jurisdictions other than the United States.
1059 free = false;
1060 redistributable = false;
1061 };
1062
1063 ncsa = {
1064 spdxId = "NCSA";
1065 fullName = "University of Illinois/NCSA Open Source License";
1066 };
1067
1068 ncul1 = {
1069 spdxId = "NCUL1";
1070 fullName = "Netdata Cloud UI License v1.0";
1071 free = false;
1072 redistributable = true; # Only if used in Netdata products.
1073 };
1074
1075 ngpl = {
1076 spdxId = "NGPL";
1077 fullName = "Nethack General Public License";
1078 };
1079
1080 nistSoftware = {
1081 spdxId = "NIST-Software";
1082 fullName = "NIST Software License";
1083 };
1084
1085 nlpl = {
1086 spdxId = "NLPL";
1087 fullName = "No Limit Public License";
1088 };
1089
1090 nposl3 = {
1091 spdxId = "NPOSL-3.0";
1092 fullName = "Non-Profit Open Software License 3.0";
1093 };
1094
1095 nvidiaCuda = {
1096 shortName = "CUDA EULA";
1097 fullName = "CUDA Toolkit End User License Agreement (EULA)";
1098 url = "https://docs.nvidia.com/cuda/eula/index.html#cuda-toolkit-supplement-license-agreement";
1099 free = false;
1100 };
1101
1102 nvidiaCudaRedist = {
1103 shortName = "CUDA EULA";
1104 fullName = "CUDA Toolkit End User License Agreement (EULA)";
1105 url = "https://docs.nvidia.com/cuda/eula/index.html#cuda-toolkit-supplement-license-agreement";
1106 free = false;
1107 redistributable = true;
1108 };
1109
1110 obsidian = {
1111 fullName = "Obsidian End User Agreement";
1112 url = "https://obsidian.md/eula";
1113 free = false;
1114 };
1115
1116 ocamlLgplLinkingException = {
1117 spdxId = "OCaml-LGPL-linking-exception";
1118 fullName = "OCaml LGPL Linking Exception";
1119 };
1120
1121 ocamlpro_nc = {
1122 fullName = "OCamlPro Non Commercial license version 1";
1123 url = "https://alt-ergo.ocamlpro.com/http/alt-ergo-2.2.0/OCamlPro-Non-Commercial-License.pdf";
1124 free = false;
1125 };
1126
1127 odbl = {
1128 spdxId = "ODbL-1.0";
1129 fullName = "Open Data Commons Open Database License v1.0";
1130 };
1131
1132 ofl = {
1133 spdxId = "OFL-1.1";
1134 fullName = "SIL Open Font License 1.1";
1135 };
1136
1137 oml = {
1138 spdxId = "OML";
1139 fullName = "Open Market License";
1140 };
1141
1142 openldap = {
1143 spdxId = "OLDAP-2.8";
1144 fullName = "Open LDAP Public License v2.8";
1145 };
1146
1147 openssl = {
1148 spdxId = "OpenSSL";
1149 fullName = "OpenSSL License";
1150 };
1151
1152 opubl = {
1153 spdxId = "OPUBL-1.0";
1154 fullName = "Open Publication License v1.0";
1155 };
1156
1157 osl2 = {
1158 spdxId = "OSL-2.0";
1159 fullName = "Open Software License 2.0";
1160 };
1161
1162 osl21 = {
1163 spdxId = "OSL-2.1";
1164 fullName = "Open Software License 2.1";
1165 };
1166
1167 osl3 = {
1168 spdxId = "OSL-3.0";
1169 fullName = "Open Software License 3.0";
1170 };
1171
1172 paratype = {
1173 fullName = "ParaType Free Font Licensing Agreement";
1174 url = "https://web.archive.org/web/20161209023955/http://www.paratype.ru/public/pt_openlicense_eng.asp";
1175 };
1176
1177 parity70 = {
1178 spdxId = "Parity-7.0.0";
1179 fullName = "Parity Public License 7.0.0";
1180 };
1181
1182 php301 = {
1183 spdxId = "PHP-3.01";
1184 fullName = "PHP License v3.01";
1185 };
1186
1187 postgresql = {
1188 spdxId = "PostgreSQL";
1189 fullName = "PostgreSQL License";
1190 };
1191
1192 postman = {
1193 fullName = "Postman EULA";
1194 url = "https://www.getpostman.com/licenses/postman_base_app";
1195 free = false;
1196 };
1197
1198 psfl = {
1199 spdxId = "Python-2.0";
1200 fullName = "Python Software Foundation License version 2";
1201 };
1202
1203 publicDomain = {
1204 fullName = "Public Domain";
1205 };
1206
1207 prosperity30 = {
1208 fullName = "Prosperity-3.0.0";
1209 free = false;
1210 url = "https://prosperitylicense.com/versions/3.0.0.html";
1211 };
1212
1213 qhull = {
1214 spdxId = "Qhull";
1215 fullName = "Qhull License";
1216 };
1217
1218 qpl = {
1219 spdxId = "QPL-1.0";
1220 fullName = "Q Public License 1.0";
1221 };
1222
1223 qwtException = {
1224 spdxId = "Qwt-exception-1.0";
1225 fullName = "Qwt exception 1.0";
1226 };
1227
1228 ruby = {
1229 spdxId = "Ruby";
1230 fullName = "Ruby License";
1231 };
1232
1233 sendmail = {
1234 spdxId = "Sendmail";
1235 fullName = "Sendmail License";
1236 };
1237
1238 sfl = {
1239 fullName = "Source First License 1.1";
1240 url = "https://gitlab.futo.org/videostreaming/grayjay/-/blob/master/LICENSE.md";
1241 free = false;
1242 redistributable = true;
1243 };
1244
1245 sgi-b-20 = {
1246 spdxId = "SGI-B-2.0";
1247 fullName = "SGI Free Software License B v2.0";
1248 };
1249
1250 # Gentoo seems to treat it as a license:
1251 # https://gitweb.gentoo.org/repo/gentoo.git/tree/licenses/SGMLUG?id=7d999af4a47bf55e53e54713d98d145f935935c1
1252 sgmlug = {
1253 fullName = "SGML UG SGML Parser Materials license";
1254 };
1255
1256 sissl11 = {
1257 spdxId = "SISSL";
1258 fullName = "Sun Industry Standards Source License 1.1";
1259 };
1260
1261 sleepycat = {
1262 spdxId = "Sleepycat";
1263 fullName = "Sleepycat License";
1264 };
1265
1266 smail = {
1267 spdxId = "SMAIL-GPL";
1268 fullName = "SMAIL General Public License";
1269 };
1270
1271 smlnj = {
1272 spdxId = "SMLNJ";
1273 fullName = "Standard ML of New Jersey License";
1274 };
1275
1276 sspl = {
1277 spdxId = "SSPL-1.0";
1278 fullName = "Server Side Public License";
1279 free = false;
1280 # NOTE Debatable.
1281 # The license a slightly modified AGPL but still considered unfree by the
1282 # OSI for what seem like political reasons
1283 redistributable = true; # Definitely redistributable though, it's an AGPL derivative
1284 };
1285
1286 stk = {
1287 shortName = "stk";
1288 fullName = "Synthesis Tool Kit 4.3";
1289 url = "https://github.com/thestk/stk/blob/master/LICENSE";
1290 };
1291
1292 sudo = {
1293 shortName = "sudo";
1294 fullName = "Sudo License (ISC-style)";
1295 url = "https://www.sudo.ws/about/license/";
1296 };
1297
1298 sustainableUse = {
1299 spdxId = "SUL-1.0";
1300 fullName = "Sustainable Use License";
1301 free = false;
1302 redistributable = false; # only free to redistribute "for non-commercial purposes"
1303 };
1304
1305 tcpWrappers = {
1306 spdxId = "TCP-wrappers";
1307 fullName = "TCP Wrappers License";
1308 };
1309
1310 teamspeak = {
1311 fullName = "Teamspeak client license";
1312 url = "https://www.teamspeak.com/en/privacy-and-terms/";
1313 free = false;
1314 redistributable = true; # we got a permit to redistribute it:
1315 # License issues:
1316 # Date: Mon, 10 Dec 2007 19:55:16 -0500
1317 # From: TeamSpeak Sales <sales@tritoncia.com>
1318 # To: 'Marc Weber' <marco-oweber@gmx.de>
1319 # Subject: RE: teamspeak on nix?
1320 #
1321 # Yes, that would be fine. As long as you are not renting servers or selling
1322 # TeamSpeak then you are more than welcome to distribute it.
1323 #
1324 # Thank you,
1325 #
1326 # TeamSpeak Sales Team
1327 # ________________________________
1328 # e-Mail: sales@tritoncia.com
1329 # TeamSpeak: http://www.TeamSpeak.com
1330 # Account Login: https://sales.TritonCIA.com/users
1331 #
1332 #
1333 #
1334 # -----Original Message-----
1335 # From: Marc Weber [mailto:marco-oweber@gmx.de]
1336 # Sent: Monday, December 10, 2007 5:03 PM
1337 # To: sales@tritoncia.com
1338 # Subject: teamspeak on nix?
1339 #
1340 # Hello,
1341 #
1342 # nix is very young software distribution system (http://nix.cs.uu.nl/)
1343 # I'd like to ask wether you permit us to add teamspeak (server/ client?)
1344 #
1345 # Sincerly
1346 # Marc Weber (small nix contributor)
1347 };
1348
1349 tekHvcLicense = {
1350 fullName = "TekHVC License";
1351 url = "https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/7f8305c779ac6948d7261764f5ffb8ae9aa975b1/COPYING#L138-171";
1352 # TODO: add spdxId when it gets accepted to spdx
1353 # https://tools.spdx.org/app/license_requests/458
1354 # https://github.com/spdx/license-list-XML/issues/2757
1355 };
1356
1357 torque11 = {
1358 spdxId = "TORQUE-1.1";
1359 fullName = "TORQUE v2.5+ Software License v1.1";
1360 };
1361
1362 tsl = {
1363 shortName = "TSL";
1364 fullName = "Timescale License Agreegment";
1365 url = "https://github.com/timescale/timescaledb/blob/main/tsl/LICENSE-TIMESCALE";
1366 free = false;
1367 };
1368
1369 tcltk = {
1370 spdxId = "TCL";
1371 fullName = "TCL/TK License";
1372 };
1373
1374 tost = {
1375 fullName = "Tomorrow Open Source Technology License 1.0";
1376 url = "https://github.com/PixarAnimationStudios/OpenUSD/blob/release/LICENSE.txt";
1377 };
1378
1379 ubdlException = {
1380 spdxId = "UBDL-exception";
1381 fullName = "Unmodified Binary Distribution exception";
1382 };
1383
1384 ucd = {
1385 fullName = "Unicode Character Database License";
1386 url = "https://fedoraproject.org/wiki/Licensing:UCD";
1387 };
1388
1389 ufl = {
1390 spdxId = "Ubuntu-font-1.0";
1391 fullName = "Ubuntu Font License 1.0";
1392 };
1393
1394 unfree = {
1395 fullName = "Unfree";
1396 free = false;
1397 };
1398
1399 unfreeRedistributable = {
1400 fullName = "Unfree redistributable";
1401 free = false;
1402 redistributable = true;
1403 };
1404
1405 unfreeRedistributableFirmware = {
1406 fullName = "Unfree redistributable firmware";
1407 redistributable = true;
1408 # Note: we currently consider these "free" for inclusion in the
1409 # channel and NixOS images.
1410 };
1411
1412 unicode-30 = {
1413 spdxId = "Unicode-3.0";
1414 fullName = "Unicode License v3";
1415 };
1416
1417 unicode-dfs-2015 = {
1418 spdxId = "Unicode-DFS-2015";
1419 fullName = "Unicode License Agreement - Data Files and Software (2015)";
1420 };
1421
1422 unicode-dfs-2016 = {
1423 spdxId = "Unicode-DFS-2016";
1424 fullName = "Unicode License Agreement - Data Files and Software (2016)";
1425 };
1426
1427 unicodeTOU = {
1428 spdxId = "Unicode-TOU";
1429 fullName = "Unicode Terms of Use";
1430 };
1431
1432 unlicense = {
1433 spdxId = "Unlicense";
1434 fullName = "The Unlicense";
1435 };
1436
1437 upl = {
1438 spdxId = "UPL-1.0";
1439 fullName = "Universal Permissive License";
1440 };
1441
1442 vim = {
1443 spdxId = "Vim";
1444 fullName = "Vim License";
1445 };
1446
1447 virtualbox-puel = {
1448 fullName = "Oracle VM VirtualBox Extension Pack Personal Use and Evaluation License (PUEL)";
1449 url = "https://www.virtualbox.org/wiki/VirtualBox_PUEL";
1450 free = false;
1451 };
1452
1453 vol-sl = {
1454 fullName = "Volatility Software License, Version 1.0";
1455 url = "https://www.volatilityfoundation.org/license/vsl-v1.0";
1456 };
1457
1458 vsl10 = {
1459 spdxId = "VSL-1.0";
1460 fullName = "Vovida Software License v1.0";
1461 };
1462
1463 watcom = {
1464 spdxId = "Watcom-1.0";
1465 fullName = "Sybase Open Watcom Public License 1.0";
1466 # Despite being OSI‐approved, this licence is not considered FOSS
1467 # by Debian, Fedora, or the FSF, due to an onerous restriction that
1468 # requires publication of even privately‐deployed modifications.
1469 # This violates the FSF’s freedom 3 and Debian’s “desert island
1470 # test” and “dissident test”.
1471 #
1472 # See: <https://en.wikipedia.org/wiki/Sybase_Open_Watcom_Public_License>
1473 free = false;
1474 redistributable = true;
1475 };
1476
1477 w3c = {
1478 spdxId = "W3C";
1479 fullName = "W3C Software Notice and License";
1480 };
1481
1482 wadalab = {
1483 fullName = "Wadalab Font License";
1484 url = "https://fedoraproject.org/wiki/Licensing:Wadalab?rd=Licensing/Wadalab";
1485 };
1486
1487 wtfpl = {
1488 spdxId = "WTFPL";
1489 fullName = "Do What The F*ck You Want To Public License";
1490 };
1491
1492 wxWindowsException31 = {
1493 spdxId = "WxWindows-exception-3.1";
1494 fullName = "wxWindows Library Licence, Version 3.1";
1495 };
1496
1497 x11 = {
1498 spdxId = "X11";
1499 fullName = "X11 License";
1500 };
1501
1502 xerox = {
1503 spdxId = "Xerox";
1504 fullName = "Xerox License";
1505 };
1506
1507 xfig = {
1508 spdxId = "Xfig";
1509 fullName = "xfig";
1510 };
1511
1512 xinetd = {
1513 spdxId = "xinetd";
1514 fullName = "xinetd License";
1515 };
1516
1517 xskat = {
1518 spdxId = "XSkat";
1519 fullName = "XSkat License";
1520 };
1521
1522 zlib = {
1523 spdxId = "Zlib";
1524 fullName = "zlib License";
1525 };
1526
1527 zpl20 = {
1528 spdxId = "ZPL-2.0";
1529 fullName = "Zope Public License 2.0";
1530 };
1531
1532 zpl21 = {
1533 spdxId = "ZPL-2.1";
1534 fullName = "Zope Public License 2.1";
1535 };
1536
1537 }
1538 // {
1539 # TODO: remove legacy aliases
1540 apsl10 = {
1541 # deprecated for consistency with `apple-psl20`; use `apple-psl10`
1542 spdxId = "APSL-1.0";
1543 fullName = "Apple Public Source License 1.0";
1544 deprecated = true;
1545 };
1546 apsl20 = {
1547 # deprecated due to confusion with Apache-2.0; use `apple-psl20`
1548 spdxId = "APSL-2.0";
1549 fullName = "Apple Public Source License 2.0";
1550 deprecated = true;
1551 };
1552 gpl2 = {
1553 spdxId = "GPL-2.0";
1554 fullName = "GNU General Public License v2.0";
1555 deprecated = true;
1556 };
1557 gpl3 = {
1558 spdxId = "GPL-3.0";
1559 fullName = "GNU General Public License v3.0";
1560 deprecated = true;
1561 };
1562 lgpl2 = {
1563 spdxId = "LGPL-2.0";
1564 fullName = "GNU Library General Public License v2";
1565 deprecated = true;
1566 };
1567 lgpl21 = {
1568 spdxId = "LGPL-2.1";
1569 fullName = "GNU Lesser General Public License v2.1";
1570 deprecated = true;
1571 };
1572 lgpl3 = {
1573 spdxId = "LGPL-3.0";
1574 fullName = "GNU Lesser General Public License v3.0";
1575 deprecated = true;
1576 };
1577 }
1578)