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