Commit | Line | Data |
---|---|---|
233e7676 | 1 | ;;; GNU Guix --- Functional package management for GNU |
2b8a9cca | 2 | ;;; Copyright © 2012, 2014, 2015, 2017, 2019, 2020 Ludovic Courtès <ludo@gnu.org> |
6d5e7ef3 | 3 | ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr> |
e2034de5 | 4 | ;;; Copyright © 2012, 2013 Nikita Karetnikov <nikita@karetnikov.org> |
e5c35d9a | 5 | ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> |
da945758 | 6 | ;;; Copyright © 2015, 2019 Ricardo Wurmus <rekado@elephly.net> |
ea4a0e81 | 7 | ;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org> |
aaa49e8c | 8 | ;;; Copyright © 2016 Leo Famulari <leo@famulari.name> |
ca9eb489 | 9 | ;;; Copyright © 2016 Fabian Harfert <fhmgufs@web.de> |
a10bf139 | 10 | ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org> |
3c986a7d | 11 | ;;; Copyright © 2016, 2017 Nikita <nikita@n0.is> |
33143961 | 12 | ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org> |
2f3108ad | 13 | ;;; Copyright © 2017 Petter <petter@mykolab.ch> |
8b8bf88f | 14 | ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com> |
41209a6f | 15 | ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net> |
00cf98eb | 16 | ;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com> |
9c4aaa63 | 17 | ;;; Copyright © 2020 André Batista <nandre@riseup.net> |
f045a7a9 | 18 | ;;; Copyright © 2020 Helio Machado <0x2b3bfa0+guix@googlemail.com> |
74a625eb | 19 | ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net> |
838d78e3 | 20 | ;;; |
233e7676 | 21 | ;;; This file is part of GNU Guix. |
838d78e3 | 22 | ;;; |
233e7676 | 23 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
838d78e3 NK |
24 | ;;; under the terms of the GNU General Public License as published by |
25 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
26 | ;;; your option) any later version. | |
27 | ;;; | |
233e7676 | 28 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
838d78e3 NK |
29 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
30 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
31 | ;;; GNU General Public License for more details. | |
32 | ;;; | |
33 | ;;; You should have received a copy of the GNU General Public License | |
233e7676 | 34 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
838d78e3 NK |
35 | |
36 | (define-module (guix licenses) | |
37 | #:use-module (srfi srfi-9) | |
15976134 | 38 | #:export (license? license-name license-uri license-comment |
59b20347 | 39 | agpl1 agpl3 agpl3+ |
9c4aaa63 | 40 | apsl2 |
f88ce395 | 41 | asl1.1 asl2.0 |
838d78e3 | 42 | boost1.0 |
60d1df78 | 43 | bsd-0 bsd-2 bsd-3 bsd-4 |
b3345dc4 | 44 | non-copyleft |
71639e1f | 45 | cc0 |
8b8bf88f MB |
46 | cc-by2.0 cc-by3.0 cc-by4.0 |
47 | cc-by-sa2.0 cc-by-sa3.0 cc-by-sa4.0 | |
2374dee7 | 48 | cc-sampling-plus-1.0 |
965ba54b | 49 | cddl1.0 cddl1.1 |
756be979 | 50 | cecill cecill-b cecill-c |
f8e36623 | 51 | artistic2.0 clarified-artistic |
0eed5501 | 52 | copyleft-next |
838d78e3 | 53 | cpl1.0 |
f045a7a9 | 54 | cua-opl1.0 |
095494ed | 55 | edl1.0 |
838d78e3 | 56 | epl1.0 |
8057c9e9 | 57 | epl2.0 |
f15b31c5 | 58 | expat |
b387a1c5 | 59 | freetype |
7e67fdd1 | 60 | freebsd-doc |
921d9dc7 | 61 | giftware |
f15b31c5 | 62 | gpl1 gpl1+ gpl2 gpl2+ gpl3 gpl3+ |
dee38b7b | 63 | gfl1.0 |
b58691fa | 64 | fdl1.1+ fdl1.2+ fdl1.3+ |
446c7113 | 65 | opl1.0+ osl2.1 |
b1426f17 | 66 | isc |
838d78e3 NK |
67 | ijg |
68 | ibmpl1.0 | |
8835aed4 | 69 | imlib2 |
6d5e7ef3 | 70 | ipa |
942c4f81 | 71 | knuth |
74a625eb | 72 | lal1.3 |
cd0a9c91 | 73 | lgpl2.0 lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3 lgpl3+ llgpl |
da945758 | 74 | lppl lppl1.0+ lppl1.1+ lppl1.2 lppl1.2+ |
942c4f81 RW |
75 | lppl1.3 lppl1.3+ |
76 | lppl1.3a lppl1.3a+ | |
77 | lppl1.3b lppl1.3b+ | |
78 | lppl1.3c lppl1.3c+ | |
41209a6f | 79 | miros |
ea4a0e81 | 80 | mpl1.0 mpl1.1 mpl2.0 |
fdbb9ded | 81 | ms-pl |
499cdcc6 | 82 | ncsa |
2dba37e2 | 83 | nmap |
5d33e789 | 84 | ogl-psi1.0 |
1ca98280 | 85 | openldap2.8 openssl |
2f3108ad | 86 | perl-license |
e2034de5 | 87 | psfl public-domain |
d192efae | 88 | qpl |
d13d2826 | 89 | qwt1.0 |
0db71dd2 | 90 | repoze |
6ef8c59a | 91 | ruby |
e5c35d9a | 92 | sgifreeb2.0 |
d9e56454 | 93 | silofl1.1 |
2824146b | 94 | sleepycat |
d29f6470 | 95 | tcl/tk |
cb9cb2e8 | 96 | unicode |
aaa49e8c | 97 | unlicense |
99e6c1b1 | 98 | vim |
0a574d7b | 99 | w3c |
bbd60260 | 100 | x11 x11-style |
4a4dac20 | 101 | zpl2.1 |
6d36a6f3 | 102 | zlib |
d8c8e423 | 103 | fsf-free |
33143961 | 104 | wtfpl2 |
00cf98eb | 105 | wxwindows3.1+ |
78407a27 | 106 | hpnd |
33143961 | 107 | fsdg-compatible)) |
838d78e3 NK |
108 | |
109 | (define-record-type <license> | |
110 | (license name uri comment) | |
111 | license? | |
112 | (name license-name) | |
113 | (uri license-uri) | |
114 | (comment license-comment)) | |
115 | ||
116 | ;;; Commentary: | |
117 | ;;; | |
118 | ;;; Available licenses. | |
119 | ;;; | |
120 | ;;; This list is based on these links: | |
ca534666 | 121 | ;;; https://github.com/NixOS/nixpkgs/blob/master/lib/licenses.nix |
838d78e3 NK |
122 | ;;; https://www.gnu.org/licenses/license-list |
123 | ;;; | |
f045a7a9 HM |
124 | ;;; Please update spdx-string->license from guix/import/utils.scm |
125 | ;;; when modifying this list to avoid mismatches. | |
126 | ;;; | |
838d78e3 NK |
127 | ;;; Code: |
128 | ||
59b20347 DC |
129 | (define agpl1 |
130 | (license "AGPL 1" | |
131 | "https://gnu.org/licenses/agpl.html" | |
132 | "https://gnu.org/licenses/why-affero-gpl.html")) | |
133 | ||
ef7cf291 NK |
134 | (define agpl3 |
135 | (license "AGPL 3" | |
136 | "https://gnu.org/licenses/agpl.html" | |
137 | "https://gnu.org/licenses/why-affero-gpl.html")) | |
138 | ||
139 | (define agpl3+ | |
140 | (license "AGPL 3+" | |
141 | "https://gnu.org/licenses/agpl.html" | |
142 | "https://gnu.org/licenses/why-affero-gpl.html")) | |
143 | ||
9c4aaa63 AB |
144 | (define apsl2 |
145 | (license "APSL 2.0" | |
146 | "https://directory.fsf.org/wiki/License:APSL-2.0" | |
147 | "https://www.gnu.org/licenses/license-list.html#apsl2")) | |
148 | ||
f88ce395 RJ |
149 | (define asl1.1 |
150 | (license "ASL 1.1" | |
151 | "http://directory.fsf.org/wiki/License:Apache1.1" | |
152 | "https://www.gnu.org/licenses/license-list#apache1")) | |
153 | ||
838d78e3 NK |
154 | (define asl2.0 |
155 | (license "ASL 2.0" | |
156 | "http://directory.fsf.org/wiki/License:Apache2.0" | |
157 | "https://www.gnu.org/licenses/license-list#apache2")) | |
158 | ||
159 | (define boost1.0 | |
160 | (license "Boost 1.0" | |
161 | "http://directory.fsf.org/wiki/License:Boost1.0" | |
162 | "https://www.gnu.org/licenses/license-list#boost")) | |
163 | ||
60d1df78 AT |
164 | (define bsd-0 |
165 | (license "Zero-Clause BSD" | |
166 | "https://spdx.org/licenses/0BSD.html" | |
167 | "https://opensource.org/licenses/0BSD")) | |
168 | ||
838d78e3 NK |
169 | (define bsd-2 |
170 | (license "FreeBSD" | |
171 | "http://directory.fsf.org/wiki/License:FreeBSD" | |
172 | "https://www.gnu.org/licenses/license-list#FreeBSD")) | |
173 | ||
174 | (define bsd-3 | |
175 | (license "Modified BSD" | |
176 | "http://directory.fsf.org/wiki/License:BSD_3Clause" | |
177 | "https://www.gnu.org/licenses/license-list#ModifiedBSD")) | |
178 | ||
179 | (define bsd-4 | |
180 | (license "Original BSD" | |
181 | "http://directory.fsf.org/wiki/License:BSD_4Clause" | |
182 | "https://www.gnu.org/licenses/license-list#OriginalBSD")) | |
183 | ||
b3345dc4 LC |
184 | (define* (non-copyleft uri #:optional (comment "")) |
185 | "Return a lax, permissive, non-copyleft license (for example a variant of | |
186 | the 3-clause BSD license or the Expat license), whose full text can be found | |
187 | at URI, which may be a file:// URI pointing the package's tree." | |
188 | (license "non-copyleft" | |
f15b31c5 NK |
189 | uri |
190 | (string-append | |
b3345dc4 | 191 | "This is a lax, non-copyleft free software license. " |
f15b31c5 NK |
192 | "Check the URI for details. " |
193 | comment))) | |
194 | ||
71639e1f EB |
195 | (define cc0 |
196 | (license "CC0" | |
197 | "http://directory.fsf.org/wiki/License:CC0" | |
198 | "http://www.gnu.org/licenses/license-list.html#CC0")) | |
199 | ||
12abc6e3 LC |
200 | (define cc-by-sa4.0 |
201 | (license "CC-BY-SA 4.0" | |
202 | "http://creativecommons.org/licenses/by-sa/4.0/" | |
203 | "Creative Commons Attribution-ShareAlike 4.0 International")) | |
204 | ||
b7fa2f93 RW |
205 | (define cc-by-sa3.0 |
206 | (license "CC-BY-SA 3.0" | |
207 | "http://creativecommons.org/licenses/by-sa/3.0/" | |
208 | "Creative Commons Attribution-ShareAlike 3.0 Unported")) | |
209 | ||
a10bf139 RS |
210 | (define cc-by-sa2.0 |
211 | (license "CC-BY-SA 2.0" | |
212 | "http://creativecommons.org/licenses/by-sa/2.0/" | |
213 | "Creative Commons Attribution-ShareAlike 2.0 Generic")) | |
214 | ||
8b8bf88f MB |
215 | (define cc-by4.0 |
216 | (license "CC-BY 4.0" | |
217 | "http://creativecommons.org/licenses/by/4.0/" | |
218 | "Creative Commons Attribution 4.0 Unported")) | |
219 | ||
12abc6e3 LC |
220 | (define cc-by3.0 |
221 | (license "CC-BY 3.0" | |
222 | "http://creativecommons.org/licenses/by/3.0/" | |
223 | "Creative Commons Attribution 3.0 Unported")) | |
224 | ||
a10bf139 RS |
225 | (define cc-by2.0 |
226 | (license "CC-BY 2.0" | |
227 | "http://creativecommons.org/licenses/by/2.0/" | |
228 | "Creative Commons Attribution 2.0 Generic")) | |
229 | ||
2374dee7 AI |
230 | (define cc-sampling-plus-1.0 |
231 | (license "CC-Sampling+ 1.0" | |
232 | "https://creativecommons.org/licenses/sampling+/1.0" | |
233 | "Creative Commons Sampling Plus 1.0")) | |
234 | ||
838d78e3 NK |
235 | (define cddl1.0 |
236 | (license "CDDL 1.0" | |
237 | "http://directory.fsf.org/wiki/License:CDDLv1.0" | |
238 | "https://www.gnu.org/licenses/license-list#CDDL")) | |
239 | ||
965ba54b JL |
240 | ;; CDDL1.1 is the same as 1.0, except that "Sun Microsystems, Inc" becomes "Oracle", |
241 | ;; "LOST PROFITS" becoms "LOSS OF GOODWILL" and a section is added between 6.2 | |
242 | ;; and 6.3. | |
243 | (define cddl1.1 | |
244 | (license "CDDL 1.1" | |
245 | "https://oss.oracle.com/licenses/CDDL+GPL-1.1" | |
246 | "https://www.gnu.org/licenses/license-list#CDDL")) | |
247 | ||
756be979 LC |
248 | (define cecill ;copyleft |
249 | (license "CeCILL" | |
250 | "http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html" | |
251 | "https://www.gnu.org/licenses/license-list.html#CeCILL")) | |
252 | ||
253 | (define cecill-b ;non-copyleft | |
254 | (license "CeCILL-B" | |
255 | "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html" | |
256 | "https://www.gnu.org/licenses/license-list.html#CeCILL")) | |
257 | ||
258 | (define cecill-c ;weak copyleft | |
c711f07c EB |
259 | (license "CeCILL-C" |
260 | "http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html" | |
261 | "https://www.gnu.org/licenses/license-list.html#CeCILL")) | |
262 | ||
f8e36623 EB |
263 | (define artistic2.0 |
264 | (license "Artistic License 2.0" | |
265 | "http://www.perlfoundation.org/artistic_license_2_0" | |
266 | "http://www.gnu.org/licenses/license-list.html#ArtisticLicense2")) | |
267 | ||
af8c2a15 LC |
268 | (define clarified-artistic |
269 | (license "Clarified Artistic" | |
270 | ;; http://directory.fsf.org/wiki/User:Jgay/license-categorization#Clarified_Artistic_License | |
271 | "http://gianluca.dellavedova.org/2011/01/03/clarified-artistic-license/" | |
272 | "https://www.gnu.org/licenses/license-list.html#ArtisticLicense2")) | |
273 | ||
0eed5501 LC |
274 | (define copyleft-next |
275 | (license "copyleft-next" | |
276 | "https://raw.github.com/richardfontana/copyleft-next/master/Releases/copyleft-next-0.3.0" | |
277 | "GPL-compatible copyleft license")) | |
278 | ||
838d78e3 NK |
279 | (define cpl1.0 |
280 | (license "CPL 1.0" | |
281 | "http://directory.fsf.org/wiki/License:CPLv1.0" | |
282 | "https://www.gnu.org/licenses/license-list#CommonPublicLicense10")) | |
283 | ||
f045a7a9 HM |
284 | (define cua-opl1.0 |
285 | (license "CUA Office Public License v1.0" | |
286 | "https://spdx.org/licenses/CUA-OPL-1.0.html" | |
287 | "https://opensource.org/licenses/CUA-OPL-1.0")) | |
288 | ||
095494ed RW |
289 | (define edl1.0 |
290 | (license "EDL 1.0" | |
291 | "http://directory.fsf.org/wiki/License:EDLv1.0" | |
292 | "https://eclipse.org/org/documents/edl-v10.php")) | |
293 | ||
838d78e3 NK |
294 | (define epl1.0 |
295 | (license "EPL 1.0" | |
296 | "http://directory.fsf.org/wiki/License:EPLv1.0" | |
297 | "https://www.gnu.org/licenses/license-list#EPL")) | |
298 | ||
8057c9e9 RW |
299 | (define epl2.0 |
300 | (license "EPL 2.0" | |
301 | "https://www.eclipse.org/legal/epl-2.0/" | |
302 | "https://www.gnu.org/licenses/license-list#EPL2")) | |
303 | ||
f15b31c5 NK |
304 | (define expat |
305 | (license "Expat" | |
306 | "http://directory.fsf.org/wiki/License:Expat" | |
307 | "https://www.gnu.org/licenses/license-list.html#Expat")) | |
308 | ||
b387a1c5 AE |
309 | (define freetype |
310 | (license "Freetype" | |
311 | "http://directory.fsf.org/wiki/License:Freetype" | |
312 | "https://www.gnu.org/licenses/license-list.html#freetype")) | |
313 | ||
921d9dc7 DT |
314 | (define giftware |
315 | (license "Giftware" | |
4968ea2c | 316 | "https://liballeg.org/license.html" |
921d9dc7 DT |
317 | "The Allegro 4 license")) |
318 | ||
f15b31c5 NK |
319 | (define gpl1 |
320 | (license "GPL 1" | |
321 | "https://www.gnu.org/licenses/old-licenses/gpl-1.0.html" | |
322 | #f)) | |
323 | ||
324 | (define gpl1+ | |
325 | (license "GPL 1+" | |
326 | "https://www.gnu.org/licenses/old-licenses/gpl-1.0.html" | |
327 | #f)) | |
328 | ||
838d78e3 NK |
329 | (define gpl2 |
330 | (license "GPL 2" | |
331 | "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html" | |
332 | "https://www.gnu.org/licenses/license-list#GPLv2")) | |
333 | ||
334 | (define gpl2+ | |
335 | (license "GPL 2+" | |
336 | "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html" | |
337 | "https://www.gnu.org/licenses/license-list#GPLv2")) | |
338 | ||
339 | (define gpl3 | |
340 | (license "GPL 3" | |
341 | "https://www.gnu.org/licenses/gpl.html" | |
342 | "https://www.gnu.org/licenses/license-list#GNUGPLv3")) | |
343 | ||
344 | (define gpl3+ | |
345 | (license "GPL 3+" | |
346 | "https://www.gnu.org/licenses/gpl.html" | |
347 | "https://www.gnu.org/licenses/license-list#GNUGPLv3")) | |
348 | ||
dee38b7b RW |
349 | ;; The “GUST font license” is legally equivalent to LPPL v1.3c as it only |
350 | ;; extends the LPPL with an optional request. | |
351 | (define gfl1.0 | |
352 | (license "GUST font license 1.0" | |
353 | "http://www.gust.org.pl/projects/e-foundry/licenses/GUST-FONT-LICENSE.txt" | |
354 | "https://www.gnu.org/licenses/license-list#LPPL-1.3a")) | |
355 | ||
ca9eb489 FH |
356 | (define fdl1.1+ |
357 | (license "FDL 1.1+" | |
358 | "https://www.gnu.org/licenses/fdl-1.1" | |
359 | "https://www.gnu.org/licenses/license-list#FDL")) | |
360 | ||
59b20347 DC |
361 | (define fdl1.2+ |
362 | (license "FDL 1.2+" | |
363 | "https://www.gnu.org/licenses/fdl-1.2" | |
364 | "https://www.gnu.org/licenses/license-list#FDL")) | |
365 | ||
66ea6713 LC |
366 | (define fdl1.3+ |
367 | (license "FDL 1.3+" | |
368 | "https://www.gnu.org/licenses/fdl.html" | |
369 | "https://www.gnu.org/licenses/license-list#FDL")) | |
370 | ||
7e67fdd1 | 371 | (define freebsd-doc |
372 | (license "FreeBSD Documentation License" | |
373 | "https://www.freebsd.org/copyright/freebsd-doc-license.html" | |
374 | "https://www.gnu.org/licenses/license-list.html#FreeBSDDL")) | |
375 | ||
c058f4ec MW |
376 | (define opl1.0+ |
377 | (license "Open Publication License 1.0 or later" | |
378 | "http://opencontent.org/openpub/" | |
379 | "https://www.gnu.org/licenses/license-list#OpenPublicationL")) | |
380 | ||
446c7113 RW |
381 | (define osl2.1 |
382 | (license "The Open Software License 2.1" | |
383 | "https://opensource.org/licenses/osl-2.1.php" | |
384 | "https://www.gnu.org/licenses/license-list#OSL")) | |
385 | ||
b1426f17 CR |
386 | (define isc |
387 | (license "ISC" | |
388 | "http://directory.fsf.org/wiki/License:ISC" | |
389 | "https://www.gnu.org/licenses/license-list.html#ISC")) | |
390 | ||
838d78e3 NK |
391 | (define ijg |
392 | (license "IJG" | |
393 | "http://directory.fsf.org/wiki/License:JPEG" | |
394 | "https://www.gnu.org/licenses/license-list#ijg")) | |
395 | ||
396 | (define ibmpl1.0 | |
397 | (license "IBMPL 1.0" | |
398 | "http://directory.fsf.org/wiki/License:IBMPLv1.0" | |
399 | "https://www.gnu.org/licenses/license-list#IBMPL")) | |
400 | ||
8835aed4 AK |
401 | (define imlib2 |
402 | (license "Imlib2" | |
403 | "http://directory.fsf.org/wiki/License:Imlib2" | |
404 | "https://www.gnu.org/licenses/license-list#imlib")) | |
405 | ||
6d5e7ef3 AE |
406 | (define ipa |
407 | (license "IPA Font License" | |
408 | "http://directory.fsf.org/wiki/License:IPA_Font_License" | |
409 | "https://www.gnu.org/licenses/license-list#IPAFONT")) | |
410 | ||
942c4f81 RW |
411 | (define knuth |
412 | (license "Donald Knuth's license for TeX" | |
413 | "http://www.ctan.org/license/knuth" | |
414 | "Modification are only permitted under a different name.")) | |
415 | ||
74a625eb FG |
416 | (define lal1.3 |
417 | (license "Free Art License 1.3" | |
418 | "http://artlibre.org/licence/lal/en/" | |
419 | "https://www.gnu.org/licenses/license-list#FreeArt")) | |
420 | ||
f15b31c5 NK |
421 | (define lgpl2.0 |
422 | (license "LGPL 2.0" | |
423 | "https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html" | |
424 | "https://www.gnu.org/licenses/why-not-lgpl.html")) | |
425 | ||
426 | (define lgpl2.0+ | |
427 | (license "LGPL 2.0+" | |
428 | "https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html" | |
429 | "https://www.gnu.org/licenses/why-not-lgpl.html")) | |
430 | ||
838d78e3 NK |
431 | (define lgpl2.1 |
432 | (license "LGPL 2.1" | |
433 | "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html" | |
434 | "https://www.gnu.org/licenses/license-list#LGPLv2.1")) | |
435 | ||
436 | (define lgpl2.1+ | |
437 | (license "LGPL 2.1+" | |
438 | "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html" | |
439 | "https://www.gnu.org/licenses/license-list#LGPLv2.1")) | |
440 | ||
441 | (define lgpl3 | |
442 | (license "LGPL 3" | |
443 | "https://www.gnu.org/licenses/lgpl.html" | |
444 | "https://www.gnu.org/licenses/license-list#LGPLv3")) | |
445 | ||
446 | (define lgpl3+ | |
447 | (license "LGPL 3+" | |
448 | "https://www.gnu.org/licenses/lgpl.html" | |
449 | "https://www.gnu.org/licenses/license-list#LGPLv3")) | |
450 | ||
cd0a9c91 KCB |
451 | (define llgpl |
452 | (license "LLGPL" | |
453 | "https://opensource.franz.com/preamble.html" | |
454 | "Lisp Lesser General Public License")) | |
455 | ||
942c4f81 RW |
456 | (define lppl |
457 | (license "LPPL (any version)" | |
458 | "https://www.latex-project.org/lppl/lppl-1-0/" | |
459 | "LaTeX Project Public License 1.0")) | |
460 | ||
461 | (define lppl1.0+ | |
462 | (license "LPPL 1.0+" | |
463 | "https://www.latex-project.org/lppl/lppl-1-0/" | |
464 | "LaTeX Project Public License 1.0")) | |
465 | ||
da945758 RW |
466 | (define lppl1.1+ |
467 | (license "LPPL 1.1+" | |
468 | "https://www.latex-project.org/lppl/lppl-1-1/" | |
469 | "LaTeX Project Public License 1.1")) | |
470 | ||
942c4f81 RW |
471 | (define lppl1.2 |
472 | (license "LPPL 1.2" | |
473 | "http://directory.fsf.org/wiki/License:LPPLv1.2" | |
474 | "https://www.gnu.org/licenses/license-list#LPPL-1.2")) | |
475 | ||
476 | (define lppl1.2+ | |
477 | (license "LPPL 1.2+" | |
478 | "http://directory.fsf.org/wiki/License:LPPLv1.2" | |
479 | "https://www.gnu.org/licenses/license-list#LPPL-1.2")) | |
480 | ||
481 | (define lppl1.3 | |
482 | (license "LPPL 1.3" | |
483 | "https://www.latex-project.org/lppl/lppl-1-3/" | |
484 | "LaTeX Project Public License 1.3")) | |
485 | ||
486 | (define lppl1.3+ | |
487 | (license "LPPL 1.3+" | |
488 | "https://www.latex-project.org/lppl/lppl-1-3/" | |
489 | "LaTeX Project Public License 1.3+")) | |
490 | ||
491 | (define lppl1.3a | |
492 | (license "LPPL 1.3a" | |
493 | "http://directory.fsf.org/wiki/License:LPPLv1.3a" | |
494 | "https://www.gnu.org/licenses/license-list#LPPL-1.3a")) | |
495 | ||
496 | (define lppl1.3a+ | |
497 | (license "LPPL 1.3a+" | |
498 | "http://directory.fsf.org/wiki/License:LPPLv1.3a" | |
499 | "https://www.gnu.org/licenses/license-list#LPPL-1.3a")) | |
500 | ||
501 | (define lppl1.3b | |
502 | (license "LPPL 1.3b" | |
503 | "https://www.latex-project.org/lppl/lppl-1-3b/" | |
504 | "LaTeX Project Public License 1.3b")) | |
505 | ||
506 | (define lppl1.3b+ | |
507 | (license "LPPL 1.3b+" | |
508 | "https://www.latex-project.org/lppl/lppl-1-3b/" | |
509 | "LaTeX Project Public License 1.3b or later")) | |
510 | ||
511 | (define lppl1.3c | |
512 | (license "LPPL 1.3c" | |
513 | "https://www.latex-project.org/lppl/lppl-1-3c/" | |
514 | "LaTeX Project Public License 1.3c")) | |
515 | ||
516 | (define lppl1.3c+ | |
517 | (license "LPPL 1.3c+" | |
518 | "https://www.latex-project.org/lppl/lppl-1-3c/" | |
519 | "LaTeX Project Public License 1.3c or later")) | |
520 | ||
41209a6f AI |
521 | (define miros |
522 | (license "MirOS" | |
523 | "https://www.mirbsd.org/MirOS-Licence.htm" | |
524 | "MirOS License")) | |
525 | ||
ea4a0e81 EB |
526 | (define mpl1.0 |
527 | (license "MPL 1.0" | |
528 | "http://www.mozilla.org/MPL/1.0/" | |
529 | "https://www.gnu.org/licenses/license-list.html#MPL")) | |
530 | ||
0ae332d3 LC |
531 | (define mpl1.1 |
532 | (license "MPL 1.1" | |
533 | "http://directory.fsf.org/wiki/License:MPLv1.1" | |
534 | "https://www.gnu.org/licenses/license-list#MPL")) | |
535 | ||
838d78e3 NK |
536 | (define mpl2.0 |
537 | (license "MPL 2.0" | |
538 | "http://directory.fsf.org/wiki/License:MPLv2.0" | |
539 | "https://www.gnu.org/licenses/license-list#MPL-2.0")) | |
540 | ||
fdbb9ded LC |
541 | (define ms-pl |
542 | (license "Ms-PL" ;Microsoft Public License | |
543 | "http://directory.fsf.org/wiki/License:MsPL" | |
544 | "http://www.gnu.org/licenses/license-list.html#ms-pl")) | |
545 | ||
499cdcc6 EB |
546 | (define ncsa |
547 | (license "NCSA/University of Illinois Open Source License" | |
548 | "http://directory.fsf.org/wiki/License:IllinoisNCSA" | |
549 | "https://www.gnu.org/licenses/license-list#NCSA")) | |
550 | ||
2dba37e2 LP |
551 | (define nmap |
552 | (license "Nmap license" | |
553 | "https://svn.nmap.org/nmap/COPYING" | |
554 | "https://fedoraproject.org/wiki/Licensing/Nmap")) | |
dcd19c0a | 555 | |
5d33e789 AI |
556 | (define ogl-psi1.0 |
557 | (license "Open Government Licence for Public Sector Information" | |
558 | "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/1/" | |
559 | #f)) | |
560 | ||
838d78e3 NK |
561 | (define openssl |
562 | (license "OpenSSL" | |
563 | "http://directory.fsf.org/wiki/License:OpenSSL" | |
564 | "https://www.gnu.org/licenses/license-list#OpenSSL")) | |
565 | ||
1ca98280 AE |
566 | (define openldap2.8 |
567 | (license "OpenLDAPv2.8" | |
568 | "http://directory.fsf.org/wiki/License:OpenLDAPv2.8" | |
569 | "https://www.gnu.org/licenses/license-list#newOpenLDAP")) | |
570 | ;; lists OpenLDAPv2.7, which is virtually identical | |
571 | ||
2f3108ad P |
572 | (define perl-license |
573 | ;; The license of Perl, GPLv1+ or Artistic (we ignore the latter here). | |
574 | ;; We define this alias to avoid circular dependencies introduced by the use | |
575 | ;; of the '(package-license perl)' idiom. | |
576 | gpl1+) | |
577 | ||
e2034de5 NK |
578 | (define psfl |
579 | (license "Python Software Foundation License" | |
580 | "http://docs.python.org/license.html" | |
581 | #f)) | |
582 | ||
838d78e3 NK |
583 | (define public-domain |
584 | (license "Public Domain" | |
585 | "http://directory.fsf.org/wiki/License:PublicDomain" | |
586 | "https://www.gnu.org/licenses/license-list#PublicDomain")) | |
587 | ||
d192efae CR |
588 | (define qpl |
589 | (license "QPL" | |
590 | "http://directory.fsf.org/wiki/License:QPLv1.0" | |
591 | "http://www.gnu.org/licenses/license-list.html#QPL")) | |
592 | ||
d13d2826 AI |
593 | (define qwt1.0 |
594 | (license "QWT 1.0" | |
595 | "http://qwt.sourceforge.net/qwtlicense.html" | |
596 | "GNU Lesser General Public License with exceptions")) | |
597 | ||
0db71dd2 LF |
598 | (define repoze |
599 | (license "Repoze" | |
600 | "http://repoze.org/LICENSE.txt" | |
601 | "A BSD-like license with a clause requiring all changes to be | |
602 | attributed by author and date.")) | |
603 | ||
6ef8c59a PP |
604 | (define ruby |
605 | (license "Ruby License" | |
606 | "http://directory.fsf.org/wiki/License:Ruby" | |
607 | "https://www.ruby-lang.org/en/about/license.txt")) | |
608 | ||
e5c35d9a MW |
609 | (define sgifreeb2.0 |
610 | (license "SGI Free Software License B, version 2.0" | |
611 | "http://directory.fsf.org/wiki/License:SGIFreeBv2" | |
612 | "https://www.gnu.org/licenses/license-list.html#SGIFreeB")) | |
613 | ||
d9e56454 AK |
614 | (define silofl1.1 |
615 | (license "SIL OFL 1.1" | |
616 | "http://scripts.sil.org/OFL_web" | |
617 | "https://www.gnu.org/licenses/license-list#SILOFL")) | |
618 | ||
2824146b RW |
619 | (define sleepycat |
620 | (license "Sleepycat" | |
621 | "http://directory.fsf.org/wiki/License:Sleepycat" | |
622 | "https://www.gnu.org/licenses/license-list#BerkeleyDB")) | |
623 | ||
d29f6470 JN |
624 | (define tcl/tk |
625 | (license "Tcl/Tk" | |
626 | "http://www.tcl.tk/software/tcltk/license.html" | |
627 | "A non-copyleft free software license from the Tcl/Tk project")) | |
628 | ||
99e6c1b1 AE |
629 | (define vim |
630 | (license "Vim" | |
631 | "http://directory.fsf.org/wiki/License:Vim7.2" | |
632 | "http://www.gnu.org/licenses/license-list.html#Vim")) | |
633 | ||
cb9cb2e8 LP |
634 | (define unicode |
635 | (license "Unicode" | |
636 | "https://directory.fsf.org/wiki/License:Unicode" | |
637 | "http://www.gnu.org/licenses/license-list.html#Unicode")) | |
638 | ||
aaa49e8c LF |
639 | (define unlicense |
640 | (license "Unlicense" | |
641 | "https://unlicense.org/" | |
642 | "https://www.gnu.org/licenses/license-list.html#Unlicense")) | |
643 | ||
0a574d7b BH |
644 | (define w3c |
645 | (license "W3C Software Notice and License" | |
646 | "https://directory.fsf.org/wiki/License:W3C_31Dec2002" | |
647 | "https://www.gnu.org/licenses/license-list.en.html#W3C")) | |
648 | ||
d8c8e423 | 649 | (define wtfpl2 |
650 | (license "WTFPL 2" | |
651 | "http://www.wtfpl.net" | |
652 | "http://www.wtfpl.net/about/")) | |
653 | ||
00cf98eb RH |
654 | (define wxwindows3.1+ |
655 | (license "wxWindows 3.1+" | |
656 | "https://wxwidgets.org/about/licence" | |
657 | "https://www.gnu.org/licenses/license-list.html#Wxwind")) | |
658 | ||
838d78e3 NK |
659 | (define x11 |
660 | (license "X11" | |
661 | "http://directory.fsf.org/wiki/License:X11" | |
662 | "https://www.gnu.org/licenses/license-list#X11License")) | |
663 | ||
bbd60260 NK |
664 | (define* (x11-style uri #:optional (comment "")) |
665 | "Return an X11-style license, whose full text can be found at URI, | |
666 | which may be a file:// URI pointing the package's tree." | |
667 | (license "X11-style" | |
668 | uri | |
669 | (string-append | |
670 | "This is an X11-style, non-copyleft free software license. " | |
671 | "Check the URI for details. " | |
672 | comment))) | |
673 | ||
4a4dac20 RW |
674 | (define zpl2.1 |
675 | (license "Zope Public License 2.1" | |
676 | "http://directory.fsf.org/wiki?title=License:ZopePLv2.1" | |
677 | "https://www.gnu.org/licenses/license-list.html#Zope2.0")) | |
678 | ||
838d78e3 NK |
679 | (define zlib |
680 | (license "Zlib" | |
2b8a9cca | 681 | "https://zlib.net/zlib_license.html" |
838d78e3 NK |
682 | "https://www.gnu.org/licenses/license-list#ZLib")) |
683 | ||
78407a27 GB |
684 | (define hpnd |
685 | (license "HPND" | |
686 | "https://directory.fsf.org/wiki/License:HPND" | |
687 | "https://www.gnu.org/licenses/license-list#HPND")) | |
688 | ||
6d36a6f3 AE |
689 | (define* (fsf-free uri #:optional (comment "")) |
690 | "Return a license that does not fit any of the ones above or a collection | |
691 | of licenses, approved as free by the FSF. More details can be found at URI." | |
692 | (license "FSF-free" | |
693 | uri | |
694 | comment)) | |
695 | ||
33143961 CL |
696 | (define* (fsdg-compatible uri #:optional (comment "")) |
697 | "Return a license that does not fit any of the ones above or a collection | |
698 | of licenses, not necessarily free, but in accordance with FSDG as Non-functional | |
699 | Data. More details can be found at URI. See also | |
700 | https://www.gnu.org/distros/free-system-distribution-guidelines.en.html#non-functional-data." | |
701 | (license "FSDG-compatible" | |
702 | uri | |
703 | comment)) | |
704 | ||
838d78e3 | 705 | ;;; licenses.scm ends here |