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