Merge branch 'master' into staging
[jackhill/guix/guix.git] / guix / licenses.scm
CommitLineData
233e7676 1;;; GNU Guix --- Functional package management for GNU
b227457f 2;;; Copyright © 2012, 2014, 2015, 2017, 2019 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
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
1ca98280 78 openldap2.8 openssl
2f3108ad 79 perl-license
e2034de5 80 psfl public-domain
d192efae 81 qpl
0db71dd2 82 repoze
6ef8c59a 83 ruby
e5c35d9a 84 sgifreeb2.0
d9e56454 85 silofl1.1
2824146b 86 sleepycat
d29f6470 87 tcl/tk
cb9cb2e8 88 unicode
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+
78407a27 98 hpnd
33143961 99 fsdg-compatible))
838d78e3
NK
100
101(define-record-type <license>
102 (license name uri comment)
103 license?
104 (name license-name)
105 (uri license-uri)
106 (comment license-comment))
107
108;;; Commentary:
109;;;
110;;; Available licenses.
111;;;
112;;; This list is based on these links:
ca534666 113;;; https://github.com/NixOS/nixpkgs/blob/master/lib/licenses.nix
838d78e3
NK
114;;; https://www.gnu.org/licenses/license-list
115;;;
116;;; Code:
117
59b20347
DC
118(define agpl1
119 (license "AGPL 1"
120 "https://gnu.org/licenses/agpl.html"
121 "https://gnu.org/licenses/why-affero-gpl.html"))
122
ef7cf291
NK
123(define agpl3
124 (license "AGPL 3"
125 "https://gnu.org/licenses/agpl.html"
126 "https://gnu.org/licenses/why-affero-gpl.html"))
127
128(define agpl3+
129 (license "AGPL 3+"
130 "https://gnu.org/licenses/agpl.html"
131 "https://gnu.org/licenses/why-affero-gpl.html"))
132
f88ce395
RJ
133(define asl1.1
134 (license "ASL 1.1"
135 "http://directory.fsf.org/wiki/License:Apache1.1"
136 "https://www.gnu.org/licenses/license-list#apache1"))
137
838d78e3
NK
138(define asl2.0
139 (license "ASL 2.0"
140 "http://directory.fsf.org/wiki/License:Apache2.0"
141 "https://www.gnu.org/licenses/license-list#apache2"))
142
143(define boost1.0
144 (license "Boost 1.0"
145 "http://directory.fsf.org/wiki/License:Boost1.0"
146 "https://www.gnu.org/licenses/license-list#boost"))
147
148(define bsd-2
149 (license "FreeBSD"
150 "http://directory.fsf.org/wiki/License:FreeBSD"
151 "https://www.gnu.org/licenses/license-list#FreeBSD"))
152
153(define bsd-3
154 (license "Modified BSD"
155 "http://directory.fsf.org/wiki/License:BSD_3Clause"
156 "https://www.gnu.org/licenses/license-list#ModifiedBSD"))
157
158(define bsd-4
159 (license "Original BSD"
160 "http://directory.fsf.org/wiki/License:BSD_4Clause"
161 "https://www.gnu.org/licenses/license-list#OriginalBSD"))
162
b3345dc4
LC
163(define* (non-copyleft uri #:optional (comment ""))
164 "Return a lax, permissive, non-copyleft license (for example a variant of
165the 3-clause BSD license or the Expat license), whose full text can be found
166at URI, which may be a file:// URI pointing the package's tree."
167 (license "non-copyleft"
f15b31c5
NK
168 uri
169 (string-append
b3345dc4 170 "This is a lax, non-copyleft free software license. "
f15b31c5
NK
171 "Check the URI for details. "
172 comment)))
173
71639e1f
EB
174(define cc0
175 (license "CC0"
176 "http://directory.fsf.org/wiki/License:CC0"
177 "http://www.gnu.org/licenses/license-list.html#CC0"))
178
12abc6e3
LC
179(define cc-by-sa4.0
180 (license "CC-BY-SA 4.0"
181 "http://creativecommons.org/licenses/by-sa/4.0/"
182 "Creative Commons Attribution-ShareAlike 4.0 International"))
183
b7fa2f93
RW
184(define cc-by-sa3.0
185 (license "CC-BY-SA 3.0"
186 "http://creativecommons.org/licenses/by-sa/3.0/"
187 "Creative Commons Attribution-ShareAlike 3.0 Unported"))
188
a10bf139
RS
189(define cc-by-sa2.0
190 (license "CC-BY-SA 2.0"
191 "http://creativecommons.org/licenses/by-sa/2.0/"
192 "Creative Commons Attribution-ShareAlike 2.0 Generic"))
193
8b8bf88f
MB
194(define cc-by4.0
195 (license "CC-BY 4.0"
196 "http://creativecommons.org/licenses/by/4.0/"
197 "Creative Commons Attribution 4.0 Unported"))
198
12abc6e3
LC
199(define cc-by3.0
200 (license "CC-BY 3.0"
201 "http://creativecommons.org/licenses/by/3.0/"
202 "Creative Commons Attribution 3.0 Unported"))
203
a10bf139
RS
204(define cc-by2.0
205 (license "CC-BY 2.0"
206 "http://creativecommons.org/licenses/by/2.0/"
207 "Creative Commons Attribution 2.0 Generic"))
208
2374dee7
AI
209(define cc-sampling-plus-1.0
210 (license "CC-Sampling+ 1.0"
211 "https://creativecommons.org/licenses/sampling+/1.0"
212 "Creative Commons Sampling Plus 1.0"))
213
838d78e3
NK
214(define cddl1.0
215 (license "CDDL 1.0"
216 "http://directory.fsf.org/wiki/License:CDDLv1.0"
217 "https://www.gnu.org/licenses/license-list#CDDL"))
218
965ba54b
JL
219;; CDDL1.1 is the same as 1.0, except that "Sun Microsystems, Inc" becomes "Oracle",
220;; "LOST PROFITS" becoms "LOSS OF GOODWILL" and a section is added between 6.2
221;; and 6.3.
222(define cddl1.1
223 (license "CDDL 1.1"
224 "https://oss.oracle.com/licenses/CDDL+GPL-1.1"
225 "https://www.gnu.org/licenses/license-list#CDDL"))
226
756be979
LC
227(define cecill ;copyleft
228 (license "CeCILL"
229 "http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html"
230 "https://www.gnu.org/licenses/license-list.html#CeCILL"))
231
232(define cecill-b ;non-copyleft
233 (license "CeCILL-B"
234 "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html"
235 "https://www.gnu.org/licenses/license-list.html#CeCILL"))
236
237(define cecill-c ;weak copyleft
c711f07c
EB
238 (license "CeCILL-C"
239 "http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html"
240 "https://www.gnu.org/licenses/license-list.html#CeCILL"))
241
f8e36623
EB
242(define artistic2.0
243 (license "Artistic License 2.0"
244 "http://www.perlfoundation.org/artistic_license_2_0"
245 "http://www.gnu.org/licenses/license-list.html#ArtisticLicense2"))
246
af8c2a15
LC
247(define clarified-artistic
248 (license "Clarified Artistic"
249 ;; http://directory.fsf.org/wiki/User:Jgay/license-categorization#Clarified_Artistic_License
250 "http://gianluca.dellavedova.org/2011/01/03/clarified-artistic-license/"
251 "https://www.gnu.org/licenses/license-list.html#ArtisticLicense2"))
252
0eed5501
LC
253(define copyleft-next
254 (license "copyleft-next"
255 "https://raw.github.com/richardfontana/copyleft-next/master/Releases/copyleft-next-0.3.0"
256 "GPL-compatible copyleft license"))
257
838d78e3
NK
258(define cpl1.0
259 (license "CPL 1.0"
260 "http://directory.fsf.org/wiki/License:CPLv1.0"
261 "https://www.gnu.org/licenses/license-list#CommonPublicLicense10"))
262
095494ed
RW
263(define edl1.0
264 (license "EDL 1.0"
265 "http://directory.fsf.org/wiki/License:EDLv1.0"
266 "https://eclipse.org/org/documents/edl-v10.php"))
267
838d78e3
NK
268(define epl1.0
269 (license "EPL 1.0"
270 "http://directory.fsf.org/wiki/License:EPLv1.0"
271 "https://www.gnu.org/licenses/license-list#EPL"))
272
8057c9e9
RW
273(define epl2.0
274 (license "EPL 2.0"
275 "https://www.eclipse.org/legal/epl-2.0/"
276 "https://www.gnu.org/licenses/license-list#EPL2"))
277
f15b31c5
NK
278(define expat
279 (license "Expat"
280 "http://directory.fsf.org/wiki/License:Expat"
281 "https://www.gnu.org/licenses/license-list.html#Expat"))
282
b387a1c5
AE
283(define freetype
284 (license "Freetype"
285 "http://directory.fsf.org/wiki/License:Freetype"
286 "https://www.gnu.org/licenses/license-list.html#freetype"))
287
921d9dc7
DT
288(define giftware
289 (license "Giftware"
4968ea2c 290 "https://liballeg.org/license.html"
921d9dc7
DT
291 "The Allegro 4 license"))
292
f15b31c5
NK
293(define gpl1
294 (license "GPL 1"
295 "https://www.gnu.org/licenses/old-licenses/gpl-1.0.html"
296 #f))
297
298(define gpl1+
299 (license "GPL 1+"
300 "https://www.gnu.org/licenses/old-licenses/gpl-1.0.html"
301 #f))
302
838d78e3
NK
303(define gpl2
304 (license "GPL 2"
305 "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
306 "https://www.gnu.org/licenses/license-list#GPLv2"))
307
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 gpl3
314 (license "GPL 3"
315 "https://www.gnu.org/licenses/gpl.html"
316 "https://www.gnu.org/licenses/license-list#GNUGPLv3"))
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
dee38b7b
RW
323;; The “GUST font license” is legally equivalent to LPPL v1.3c as it only
324;; extends the LPPL with an optional request.
325(define gfl1.0
326 (license "GUST font license 1.0"
327 "http://www.gust.org.pl/projects/e-foundry/licenses/GUST-FONT-LICENSE.txt"
328 "https://www.gnu.org/licenses/license-list#LPPL-1.3a"))
329
ca9eb489
FH
330(define fdl1.1+
331 (license "FDL 1.1+"
332 "https://www.gnu.org/licenses/fdl-1.1"
333 "https://www.gnu.org/licenses/license-list#FDL"))
334
59b20347
DC
335(define fdl1.2+
336 (license "FDL 1.2+"
337 "https://www.gnu.org/licenses/fdl-1.2"
338 "https://www.gnu.org/licenses/license-list#FDL"))
339
66ea6713
LC
340(define fdl1.3+
341 (license "FDL 1.3+"
342 "https://www.gnu.org/licenses/fdl.html"
343 "https://www.gnu.org/licenses/license-list#FDL"))
344
7e67fdd1 345(define freebsd-doc
346 (license "FreeBSD Documentation License"
347 "https://www.freebsd.org/copyright/freebsd-doc-license.html"
348 "https://www.gnu.org/licenses/license-list.html#FreeBSDDL"))
349
c058f4ec
MW
350(define opl1.0+
351 (license "Open Publication License 1.0 or later"
352 "http://opencontent.org/openpub/"
353 "https://www.gnu.org/licenses/license-list#OpenPublicationL"))
354
b1426f17
CR
355(define isc
356 (license "ISC"
357 "http://directory.fsf.org/wiki/License:ISC"
358 "https://www.gnu.org/licenses/license-list.html#ISC"))
359
838d78e3
NK
360(define ijg
361 (license "IJG"
362 "http://directory.fsf.org/wiki/License:JPEG"
363 "https://www.gnu.org/licenses/license-list#ijg"))
364
365(define ibmpl1.0
366 (license "IBMPL 1.0"
367 "http://directory.fsf.org/wiki/License:IBMPLv1.0"
368 "https://www.gnu.org/licenses/license-list#IBMPL"))
369
8835aed4
AK
370(define imlib2
371 (license "Imlib2"
372 "http://directory.fsf.org/wiki/License:Imlib2"
373 "https://www.gnu.org/licenses/license-list#imlib"))
374
6d5e7ef3
AE
375(define ipa
376 (license "IPA Font License"
377 "http://directory.fsf.org/wiki/License:IPA_Font_License"
378 "https://www.gnu.org/licenses/license-list#IPAFONT"))
379
942c4f81
RW
380(define knuth
381 (license "Donald Knuth's license for TeX"
382 "http://www.ctan.org/license/knuth"
383 "Modification are only permitted under a different name."))
384
f15b31c5
NK
385(define lgpl2.0
386 (license "LGPL 2.0"
387 "https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html"
388 "https://www.gnu.org/licenses/why-not-lgpl.html"))
389
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
838d78e3
NK
395(define lgpl2.1
396 (license "LGPL 2.1"
397 "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"
398 "https://www.gnu.org/licenses/license-list#LGPLv2.1"))
399
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 lgpl3
406 (license "LGPL 3"
407 "https://www.gnu.org/licenses/lgpl.html"
408 "https://www.gnu.org/licenses/license-list#LGPLv3"))
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
cd0a9c91
KCB
415(define llgpl
416 (license "LLGPL"
417 "https://opensource.franz.com/preamble.html"
418 "Lisp Lesser General Public License"))
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
cb9cb2e8
LP
588(define unicode
589 (license "Unicode"
590 "https://directory.fsf.org/wiki/License:Unicode"
591 "http://www.gnu.org/licenses/license-list.html#Unicode"))
592
aaa49e8c
LF
593(define unlicense
594 (license "Unlicense"
595 "https://unlicense.org/"
596 "https://www.gnu.org/licenses/license-list.html#Unlicense"))
597
0a574d7b
BH
598(define w3c
599 (license "W3C Software Notice and License"
600 "https://directory.fsf.org/wiki/License:W3C_31Dec2002"
601 "https://www.gnu.org/licenses/license-list.en.html#W3C"))
602
d8c8e423 603(define wtfpl2
604 (license "WTFPL 2"
605 "http://www.wtfpl.net"
606 "http://www.wtfpl.net/about/"))
607
00cf98eb
RH
608(define wxwindows3.1+
609 (license "wxWindows 3.1+"
610 "https://wxwidgets.org/about/licence"
611 "https://www.gnu.org/licenses/license-list.html#Wxwind"))
612
838d78e3
NK
613(define x11
614 (license "X11"
615 "http://directory.fsf.org/wiki/License:X11"
616 "https://www.gnu.org/licenses/license-list#X11License"))
617
bbd60260
NK
618(define* (x11-style uri #:optional (comment ""))
619 "Return an X11-style license, whose full text can be found at URI,
620which may be a file:// URI pointing the package's tree."
621 (license "X11-style"
622 uri
623 (string-append
624 "This is an X11-style, non-copyleft free software license. "
625 "Check the URI for details. "
626 comment)))
627
4a4dac20
RW
628(define zpl2.1
629 (license "Zope Public License 2.1"
630 "http://directory.fsf.org/wiki?title=License:ZopePLv2.1"
631 "https://www.gnu.org/licenses/license-list.html#Zope2.0"))
632
838d78e3
NK
633(define zlib
634 (license "Zlib"
635 "http://www.gzip.org/zlib/zlib_license.html"
636 "https://www.gnu.org/licenses/license-list#ZLib"))
637
78407a27
GB
638(define hpnd
639 (license "HPND"
640 "https://directory.fsf.org/wiki/License:HPND"
641 "https://www.gnu.org/licenses/license-list#HPND"))
642
6d36a6f3
AE
643(define* (fsf-free uri #:optional (comment ""))
644 "Return a license that does not fit any of the ones above or a collection
645of licenses, approved as free by the FSF. More details can be found at URI."
646 (license "FSF-free"
647 uri
648 comment))
649
33143961
CL
650(define* (fsdg-compatible uri #:optional (comment ""))
651 "Return a license that does not fit any of the ones above or a collection
652of licenses, not necessarily free, but in accordance with FSDG as Non-functional
653Data. More details can be found at URI. See also
654https://www.gnu.org/distros/free-system-distribution-guidelines.en.html#non-functional-data."
655 (license "FSDG-compatible"
656 uri
657 comment))
658
838d78e3 659;;; licenses.scm ends here