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