licenses: Remove 'bsd-style'.
[jackhill/guix/guix.git] / guix / licenses.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2012, 2014, 2015, 2017, 2019 Ludovic Courtès <ludo@gnu.org>
3 ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
4 ;;; Copyright © 2012, 2013 Nikita Karetnikov <nikita@karetnikov.org>
5 ;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
6 ;;; Copyright © 2015, 2019 Ricardo Wurmus <rekado@elephly.net>
7 ;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
8 ;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
9 ;;; Copyright © 2016 Fabian Harfert <fhmgufs@web.de>
10 ;;; Copyright © 2016 Rene Saavedra <rennes@openmailbox.org>
11 ;;; Copyright © 2016, 2017 ng0 <ng0@n0.is>
12 ;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
13 ;;; Copyright © 2017 Petter <petter@mykolab.ch>
14 ;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
15 ;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
16 ;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com>
17 ;;;
18 ;;; This file is part of GNU Guix.
19 ;;;
20 ;;; GNU Guix is free software; you can redistribute it and/or modify it
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 ;;;
25 ;;; GNU Guix is distributed in the hope that it will be useful, but
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
31 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
32
33 (define-module (guix licenses)
34 #:use-module (srfi srfi-9)
35 #:export (license? license-name license-uri license-comment
36 agpl1 agpl3 agpl3+
37 asl1.1 asl2.0
38 boost1.0
39 bsd-2 bsd-3 bsd-4
40 non-copyleft
41 cc0
42 cc-by2.0 cc-by3.0 cc-by4.0
43 cc-by-sa2.0 cc-by-sa3.0 cc-by-sa4.0
44 cc-sampling-plus-1.0
45 cddl1.0 cddl1.1
46 cecill cecill-b cecill-c
47 artistic2.0 clarified-artistic
48 copyleft-next
49 cpl1.0
50 edl1.0
51 epl1.0
52 epl2.0
53 expat
54 freetype
55 freebsd-doc
56 giftware
57 gpl1 gpl1+ gpl2 gpl2+ gpl3 gpl3+
58 gfl1.0
59 fdl1.1+ fdl1.2+ fdl1.3+
60 opl1.0+
61 isc
62 ijg
63 ibmpl1.0
64 imlib2
65 ipa
66 knuth
67 lgpl2.0 lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3 lgpl3+ llgpl
68 lppl lppl1.0+ lppl1.1+ lppl1.2 lppl1.2+
69 lppl1.3 lppl1.3+
70 lppl1.3a lppl1.3a+
71 lppl1.3b lppl1.3b+
72 lppl1.3c lppl1.3c+
73 miros
74 mpl1.0 mpl1.1 mpl2.0
75 ms-pl
76 ncsa
77 nmap
78 openldap2.8 openssl
79 perl-license
80 psfl public-domain
81 qpl
82 repoze
83 ruby
84 sgifreeb2.0
85 silofl1.1
86 sleepycat
87 tcl/tk
88 unlicense
89 vim
90 w3c
91 x11 x11-style
92 zpl2.1
93 zlib
94 fsf-free
95 wtfpl2
96 wxwindows3.1+
97 fsdg-compatible))
98
99 (define-record-type <license>
100 (license name uri comment)
101 license?
102 (name license-name)
103 (uri license-uri)
104 (comment license-comment))
105
106 ;;; Commentary:
107 ;;;
108 ;;; Available licenses.
109 ;;;
110 ;;; This list is based on these links:
111 ;;; https://github.com/NixOS/nixpkgs/blob/master/lib/licenses.nix
112 ;;; https://www.gnu.org/licenses/license-list
113 ;;;
114 ;;; Code:
115
116 (define agpl1
117 (license "AGPL 1"
118 "https://gnu.org/licenses/agpl.html"
119 "https://gnu.org/licenses/why-affero-gpl.html"))
120
121 (define agpl3
122 (license "AGPL 3"
123 "https://gnu.org/licenses/agpl.html"
124 "https://gnu.org/licenses/why-affero-gpl.html"))
125
126 (define agpl3+
127 (license "AGPL 3+"
128 "https://gnu.org/licenses/agpl.html"
129 "https://gnu.org/licenses/why-affero-gpl.html"))
130
131 (define asl1.1
132 (license "ASL 1.1"
133 "http://directory.fsf.org/wiki/License:Apache1.1"
134 "https://www.gnu.org/licenses/license-list#apache1"))
135
136 (define asl2.0
137 (license "ASL 2.0"
138 "http://directory.fsf.org/wiki/License:Apache2.0"
139 "https://www.gnu.org/licenses/license-list#apache2"))
140
141 (define boost1.0
142 (license "Boost 1.0"
143 "http://directory.fsf.org/wiki/License:Boost1.0"
144 "https://www.gnu.org/licenses/license-list#boost"))
145
146 (define bsd-2
147 (license "FreeBSD"
148 "http://directory.fsf.org/wiki/License:FreeBSD"
149 "https://www.gnu.org/licenses/license-list#FreeBSD"))
150
151 (define bsd-3
152 (license "Modified BSD"
153 "http://directory.fsf.org/wiki/License:BSD_3Clause"
154 "https://www.gnu.org/licenses/license-list#ModifiedBSD"))
155
156 (define bsd-4
157 (license "Original BSD"
158 "http://directory.fsf.org/wiki/License:BSD_4Clause"
159 "https://www.gnu.org/licenses/license-list#OriginalBSD"))
160
161 (define* (non-copyleft uri #:optional (comment ""))
162 "Return a lax, permissive, non-copyleft license (for example a variant of
163 the 3-clause BSD license or the Expat license), whose full text can be found
164 at URI, which may be a file:// URI pointing the package's tree."
165 (license "non-copyleft"
166 uri
167 (string-append
168 "This is a lax, non-copyleft free software license. "
169 "Check the URI for details. "
170 comment)))
171
172 (define cc0
173 (license "CC0"
174 "http://directory.fsf.org/wiki/License:CC0"
175 "http://www.gnu.org/licenses/license-list.html#CC0"))
176
177 (define cc-by-sa4.0
178 (license "CC-BY-SA 4.0"
179 "http://creativecommons.org/licenses/by-sa/4.0/"
180 "Creative Commons Attribution-ShareAlike 4.0 International"))
181
182 (define cc-by-sa3.0
183 (license "CC-BY-SA 3.0"
184 "http://creativecommons.org/licenses/by-sa/3.0/"
185 "Creative Commons Attribution-ShareAlike 3.0 Unported"))
186
187 (define cc-by-sa2.0
188 (license "CC-BY-SA 2.0"
189 "http://creativecommons.org/licenses/by-sa/2.0/"
190 "Creative Commons Attribution-ShareAlike 2.0 Generic"))
191
192 (define cc-by4.0
193 (license "CC-BY 4.0"
194 "http://creativecommons.org/licenses/by/4.0/"
195 "Creative Commons Attribution 4.0 Unported"))
196
197 (define cc-by3.0
198 (license "CC-BY 3.0"
199 "http://creativecommons.org/licenses/by/3.0/"
200 "Creative Commons Attribution 3.0 Unported"))
201
202 (define cc-by2.0
203 (license "CC-BY 2.0"
204 "http://creativecommons.org/licenses/by/2.0/"
205 "Creative Commons Attribution 2.0 Generic"))
206
207 (define cc-sampling-plus-1.0
208 (license "CC-Sampling+ 1.0"
209 "https://creativecommons.org/licenses/sampling+/1.0"
210 "Creative Commons Sampling Plus 1.0"))
211
212 (define cddl1.0
213 (license "CDDL 1.0"
214 "http://directory.fsf.org/wiki/License:CDDLv1.0"
215 "https://www.gnu.org/licenses/license-list#CDDL"))
216
217 ;; CDDL1.1 is the same as 1.0, except that "Sun Microsystems, Inc" becomes "Oracle",
218 ;; "LOST PROFITS" becoms "LOSS OF GOODWILL" and a section is added between 6.2
219 ;; and 6.3.
220 (define cddl1.1
221 (license "CDDL 1.1"
222 "https://oss.oracle.com/licenses/CDDL+GPL-1.1"
223 "https://www.gnu.org/licenses/license-list#CDDL"))
224
225 (define cecill ;copyleft
226 (license "CeCILL"
227 "http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html"
228 "https://www.gnu.org/licenses/license-list.html#CeCILL"))
229
230 (define cecill-b ;non-copyleft
231 (license "CeCILL-B"
232 "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html"
233 "https://www.gnu.org/licenses/license-list.html#CeCILL"))
234
235 (define cecill-c ;weak copyleft
236 (license "CeCILL-C"
237 "http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html"
238 "https://www.gnu.org/licenses/license-list.html#CeCILL"))
239
240 (define artistic2.0
241 (license "Artistic License 2.0"
242 "http://www.perlfoundation.org/artistic_license_2_0"
243 "http://www.gnu.org/licenses/license-list.html#ArtisticLicense2"))
244
245 (define clarified-artistic
246 (license "Clarified Artistic"
247 ;; http://directory.fsf.org/wiki/User:Jgay/license-categorization#Clarified_Artistic_License
248 "http://gianluca.dellavedova.org/2011/01/03/clarified-artistic-license/"
249 "https://www.gnu.org/licenses/license-list.html#ArtisticLicense2"))
250
251 (define copyleft-next
252 (license "copyleft-next"
253 "https://raw.github.com/richardfontana/copyleft-next/master/Releases/copyleft-next-0.3.0"
254 "GPL-compatible copyleft license"))
255
256 (define cpl1.0
257 (license "CPL 1.0"
258 "http://directory.fsf.org/wiki/License:CPLv1.0"
259 "https://www.gnu.org/licenses/license-list#CommonPublicLicense10"))
260
261 (define edl1.0
262 (license "EDL 1.0"
263 "http://directory.fsf.org/wiki/License:EDLv1.0"
264 "https://eclipse.org/org/documents/edl-v10.php"))
265
266 (define epl1.0
267 (license "EPL 1.0"
268 "http://directory.fsf.org/wiki/License:EPLv1.0"
269 "https://www.gnu.org/licenses/license-list#EPL"))
270
271 (define epl2.0
272 (license "EPL 2.0"
273 "https://www.eclipse.org/legal/epl-2.0/"
274 "https://www.gnu.org/licenses/license-list#EPL2"))
275
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
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
286 (define giftware
287 (license "Giftware"
288 "http://liballeg.org/license.html"
289 "The Allegro 4 license"))
290
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
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
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
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
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
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
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
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
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
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
368 (define imlib2
369 (license "Imlib2"
370 "http://directory.fsf.org/wiki/License:Imlib2"
371 "https://www.gnu.org/licenses/license-list#imlib"))
372
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
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
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
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
413 (define llgpl
414 (license "LLGPL"
415 "https://opensource.franz.com/preamble.html"
416 "Lisp Lesser General Public License"))
417
418 (define lppl
419 (license "LPPL (any version)"
420 "https://www.latex-project.org/lppl/lppl-1-0/"
421 "LaTeX Project Public License 1.0"))
422
423 (define lppl1.0+
424 (license "LPPL 1.0+"
425 "https://www.latex-project.org/lppl/lppl-1-0/"
426 "LaTeX Project Public License 1.0"))
427
428 (define lppl1.1+
429 (license "LPPL 1.1+"
430 "https://www.latex-project.org/lppl/lppl-1-1/"
431 "LaTeX Project Public License 1.1"))
432
433 (define lppl1.2
434 (license "LPPL 1.2"
435 "http://directory.fsf.org/wiki/License:LPPLv1.2"
436 "https://www.gnu.org/licenses/license-list#LPPL-1.2"))
437
438 (define lppl1.2+
439 (license "LPPL 1.2+"
440 "http://directory.fsf.org/wiki/License:LPPLv1.2"
441 "https://www.gnu.org/licenses/license-list#LPPL-1.2"))
442
443 (define lppl1.3
444 (license "LPPL 1.3"
445 "https://www.latex-project.org/lppl/lppl-1-3/"
446 "LaTeX Project Public License 1.3"))
447
448 (define lppl1.3+
449 (license "LPPL 1.3+"
450 "https://www.latex-project.org/lppl/lppl-1-3/"
451 "LaTeX Project Public License 1.3+"))
452
453 (define lppl1.3a
454 (license "LPPL 1.3a"
455 "http://directory.fsf.org/wiki/License:LPPLv1.3a"
456 "https://www.gnu.org/licenses/license-list#LPPL-1.3a"))
457
458 (define lppl1.3a+
459 (license "LPPL 1.3a+"
460 "http://directory.fsf.org/wiki/License:LPPLv1.3a"
461 "https://www.gnu.org/licenses/license-list#LPPL-1.3a"))
462
463 (define lppl1.3b
464 (license "LPPL 1.3b"
465 "https://www.latex-project.org/lppl/lppl-1-3b/"
466 "LaTeX Project Public License 1.3b"))
467
468 (define lppl1.3b+
469 (license "LPPL 1.3b+"
470 "https://www.latex-project.org/lppl/lppl-1-3b/"
471 "LaTeX Project Public License 1.3b or later"))
472
473 (define lppl1.3c
474 (license "LPPL 1.3c"
475 "https://www.latex-project.org/lppl/lppl-1-3c/"
476 "LaTeX Project Public License 1.3c"))
477
478 (define lppl1.3c+
479 (license "LPPL 1.3c+"
480 "https://www.latex-project.org/lppl/lppl-1-3c/"
481 "LaTeX Project Public License 1.3c or later"))
482
483 (define miros
484 (license "MirOS"
485 "https://www.mirbsd.org/MirOS-Licence.htm"
486 "MirOS License"))
487
488 (define mpl1.0
489 (license "MPL 1.0"
490 "http://www.mozilla.org/MPL/1.0/"
491 "https://www.gnu.org/licenses/license-list.html#MPL"))
492
493 (define mpl1.1
494 (license "MPL 1.1"
495 "http://directory.fsf.org/wiki/License:MPLv1.1"
496 "https://www.gnu.org/licenses/license-list#MPL"))
497
498 (define mpl2.0
499 (license "MPL 2.0"
500 "http://directory.fsf.org/wiki/License:MPLv2.0"
501 "https://www.gnu.org/licenses/license-list#MPL-2.0"))
502
503 (define ms-pl
504 (license "Ms-PL" ;Microsoft Public License
505 "http://directory.fsf.org/wiki/License:MsPL"
506 "http://www.gnu.org/licenses/license-list.html#ms-pl"))
507
508 (define ncsa
509 (license "NCSA/University of Illinois Open Source License"
510 "http://directory.fsf.org/wiki/License:IllinoisNCSA"
511 "https://www.gnu.org/licenses/license-list#NCSA"))
512
513 (define nmap
514 (license "Nmap license"
515 "https://svn.nmap.org/nmap/COPYING"
516 "https://fedoraproject.org/wiki/Licensing/Nmap"))
517
518 (define openssl
519 (license "OpenSSL"
520 "http://directory.fsf.org/wiki/License:OpenSSL"
521 "https://www.gnu.org/licenses/license-list#OpenSSL"))
522
523 (define openldap2.8
524 (license "OpenLDAPv2.8"
525 "http://directory.fsf.org/wiki/License:OpenLDAPv2.8"
526 "https://www.gnu.org/licenses/license-list#newOpenLDAP"))
527 ;; lists OpenLDAPv2.7, which is virtually identical
528
529 (define perl-license
530 ;; The license of Perl, GPLv1+ or Artistic (we ignore the latter here).
531 ;; We define this alias to avoid circular dependencies introduced by the use
532 ;; of the '(package-license perl)' idiom.
533 gpl1+)
534
535 (define psfl
536 (license "Python Software Foundation License"
537 "http://docs.python.org/license.html"
538 #f))
539
540 (define public-domain
541 (license "Public Domain"
542 "http://directory.fsf.org/wiki/License:PublicDomain"
543 "https://www.gnu.org/licenses/license-list#PublicDomain"))
544
545 (define qpl
546 (license "QPL"
547 "http://directory.fsf.org/wiki/License:QPLv1.0"
548 "http://www.gnu.org/licenses/license-list.html#QPL"))
549
550 (define repoze
551 (license "Repoze"
552 "http://repoze.org/LICENSE.txt"
553 "A BSD-like license with a clause requiring all changes to be
554 attributed by author and date."))
555
556 (define ruby
557 (license "Ruby License"
558 "http://directory.fsf.org/wiki/License:Ruby"
559 "https://www.ruby-lang.org/en/about/license.txt"))
560
561 (define sgifreeb2.0
562 (license "SGI Free Software License B, version 2.0"
563 "http://directory.fsf.org/wiki/License:SGIFreeBv2"
564 "https://www.gnu.org/licenses/license-list.html#SGIFreeB"))
565
566 (define silofl1.1
567 (license "SIL OFL 1.1"
568 "http://scripts.sil.org/OFL_web"
569 "https://www.gnu.org/licenses/license-list#SILOFL"))
570
571 (define sleepycat
572 (license "Sleepycat"
573 "http://directory.fsf.org/wiki/License:Sleepycat"
574 "https://www.gnu.org/licenses/license-list#BerkeleyDB"))
575
576 (define tcl/tk
577 (license "Tcl/Tk"
578 "http://www.tcl.tk/software/tcltk/license.html"
579 "A non-copyleft free software license from the Tcl/Tk project"))
580
581 (define vim
582 (license "Vim"
583 "http://directory.fsf.org/wiki/License:Vim7.2"
584 "http://www.gnu.org/licenses/license-list.html#Vim"))
585
586 (define unlicense
587 (license "Unlicense"
588 "https://unlicense.org/"
589 "https://www.gnu.org/licenses/license-list.html#Unlicense"))
590
591 (define w3c
592 (license "W3C Software Notice and License"
593 "https://directory.fsf.org/wiki/License:W3C_31Dec2002"
594 "https://www.gnu.org/licenses/license-list.en.html#W3C"))
595
596 (define wtfpl2
597 (license "WTFPL 2"
598 "http://www.wtfpl.net"
599 "http://www.wtfpl.net/about/"))
600
601 (define wxwindows3.1+
602 (license "wxWindows 3.1+"
603 "https://wxwidgets.org/about/licence"
604 "https://www.gnu.org/licenses/license-list.html#Wxwind"))
605
606 (define x11
607 (license "X11"
608 "http://directory.fsf.org/wiki/License:X11"
609 "https://www.gnu.org/licenses/license-list#X11License"))
610
611 (define* (x11-style uri #:optional (comment ""))
612 "Return an X11-style license, whose full text can be found at URI,
613 which may be a file:// URI pointing the package's tree."
614 (license "X11-style"
615 uri
616 (string-append
617 "This is an X11-style, non-copyleft free software license. "
618 "Check the URI for details. "
619 comment)))
620
621 (define zpl2.1
622 (license "Zope Public License 2.1"
623 "http://directory.fsf.org/wiki?title=License:ZopePLv2.1"
624 "https://www.gnu.org/licenses/license-list.html#Zope2.0"))
625
626 (define zlib
627 (license "Zlib"
628 "http://www.gzip.org/zlib/zlib_license.html"
629 "https://www.gnu.org/licenses/license-list#ZLib"))
630
631 (define* (fsf-free uri #:optional (comment ""))
632 "Return a license that does not fit any of the ones above or a collection
633 of licenses, approved as free by the FSF. More details can be found at URI."
634 (license "FSF-free"
635 uri
636 comment))
637
638 (define* (fsdg-compatible uri #:optional (comment ""))
639 "Return a license that does not fit any of the ones above or a collection
640 of licenses, not necessarily free, but in accordance with FSDG as Non-functional
641 Data. More details can be found at URI. See also
642 https://www.gnu.org/distros/free-system-distribution-guidelines.en.html#non-functional-data."
643 (license "FSDG-compatible"
644 uri
645 comment))
646
647 ;;; licenses.scm ends here