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