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