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