gnu: Add emacs-exec-path-from-shell.
[jackhill/guix/guix.git] / guix / licenses.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2012, 2014, 2015, 2017 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 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@libertad.pw>
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 bsd-style ;deprecated!
42 cc0
43 cc-by2.0 cc-by3.0 cc-by4.0
44 cc-by-sa2.0 cc-by-sa3.0 cc-by-sa4.0
45 cc-sampling-plus-1.0
46 cddl1.0 cddl1.1
47 cecill cecill-b cecill-c
48 artistic2.0 clarified-artistic
49 copyleft-next
50 cpl1.0
51 edl1.0
52 epl1.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+
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+
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 bsd-style
173 ;; This alias is kept for backward-compatibility. Do not use it for new
174 ;; packages: it is ambiguous, as rightfully explained at
175 ;; <http://www.gnu.org/philosophy/words-to-avoid.html#BSD-style>.
176 non-copyleft)
177
178 (define cc0
179 (license "CC0"
180 "http://directory.fsf.org/wiki/License:CC0"
181 "http://www.gnu.org/licenses/license-list.html#CC0"))
182
183 (define cc-by-sa4.0
184 (license "CC-BY-SA 4.0"
185 "http://creativecommons.org/licenses/by-sa/4.0/"
186 "Creative Commons Attribution-ShareAlike 4.0 International"))
187
188 (define cc-by-sa3.0
189 (license "CC-BY-SA 3.0"
190 "http://creativecommons.org/licenses/by-sa/3.0/"
191 "Creative Commons Attribution-ShareAlike 3.0 Unported"))
192
193 (define cc-by-sa2.0
194 (license "CC-BY-SA 2.0"
195 "http://creativecommons.org/licenses/by-sa/2.0/"
196 "Creative Commons Attribution-ShareAlike 2.0 Generic"))
197
198 (define cc-by4.0
199 (license "CC-BY 4.0"
200 "http://creativecommons.org/licenses/by/4.0/"
201 "Creative Commons Attribution 4.0 Unported"))
202
203 (define cc-by3.0
204 (license "CC-BY 3.0"
205 "http://creativecommons.org/licenses/by/3.0/"
206 "Creative Commons Attribution 3.0 Unported"))
207
208 (define cc-by2.0
209 (license "CC-BY 2.0"
210 "http://creativecommons.org/licenses/by/2.0/"
211 "Creative Commons Attribution 2.0 Generic"))
212
213 (define cc-sampling-plus-1.0
214 (license "CC-Sampling+ 1.0"
215 "https://creativecommons.org/licenses/sampling+/1.0"
216 "Creative Commons Sampling Plus 1.0"))
217
218 (define cddl1.0
219 (license "CDDL 1.0"
220 "http://directory.fsf.org/wiki/License:CDDLv1.0"
221 "https://www.gnu.org/licenses/license-list#CDDL"))
222
223 ;; CDDL1.1 is the same as 1.0, except that "Sun Microsystems, Inc" becomes "Oracle",
224 ;; "LOST PROFITS" becoms "LOSS OF GOODWILL" and a section is added between 6.2
225 ;; and 6.3.
226 (define cddl1.1
227 (license "CDDL 1.1"
228 "https://oss.oracle.com/licenses/CDDL+GPL-1.1"
229 "https://www.gnu.org/licenses/license-list#CDDL"))
230
231 (define cecill ;copyleft
232 (license "CeCILL"
233 "http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html"
234 "https://www.gnu.org/licenses/license-list.html#CeCILL"))
235
236 (define cecill-b ;non-copyleft
237 (license "CeCILL-B"
238 "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html"
239 "https://www.gnu.org/licenses/license-list.html#CeCILL"))
240
241 (define cecill-c ;weak copyleft
242 (license "CeCILL-C"
243 "http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html"
244 "https://www.gnu.org/licenses/license-list.html#CeCILL"))
245
246 (define artistic2.0
247 (license "Artistic License 2.0"
248 "http://www.perlfoundation.org/artistic_license_2_0"
249 "http://www.gnu.org/licenses/license-list.html#ArtisticLicense2"))
250
251 (define clarified-artistic
252 (license "Clarified Artistic"
253 ;; http://directory.fsf.org/wiki/User:Jgay/license-categorization#Clarified_Artistic_License
254 "http://gianluca.dellavedova.org/2011/01/03/clarified-artistic-license/"
255 "https://www.gnu.org/licenses/license-list.html#ArtisticLicense2"))
256
257 (define copyleft-next
258 (license "copyleft-next"
259 "https://raw.github.com/richardfontana/copyleft-next/master/Releases/copyleft-next-0.3.0"
260 "GPL-compatible copyleft license"))
261
262 (define cpl1.0
263 (license "CPL 1.0"
264 "http://directory.fsf.org/wiki/License:CPLv1.0"
265 "https://www.gnu.org/licenses/license-list#CommonPublicLicense10"))
266
267 (define edl1.0
268 (license "EDL 1.0"
269 "http://directory.fsf.org/wiki/License:EDLv1.0"
270 "https://eclipse.org/org/documents/edl-v10.php"))
271
272 (define epl1.0
273 (license "EPL 1.0"
274 "http://directory.fsf.org/wiki/License:EPLv1.0"
275 "https://www.gnu.org/licenses/license-list#EPL"))
276
277 (define expat
278 (license "Expat"
279 "http://directory.fsf.org/wiki/License:Expat"
280 "https://www.gnu.org/licenses/license-list.html#Expat"))
281
282 (define freetype
283 (license "Freetype"
284 "http://directory.fsf.org/wiki/License:Freetype"
285 "https://www.gnu.org/licenses/license-list.html#freetype"))
286
287 (define giftware
288 (license "Giftware"
289 "http://liballeg.org/license.html"
290 "The Allegro 4 license"))
291
292 (define gpl1
293 (license "GPL 1"
294 "https://www.gnu.org/licenses/old-licenses/gpl-1.0.html"
295 #f))
296
297 (define gpl1+
298 (license "GPL 1+"
299 "https://www.gnu.org/licenses/old-licenses/gpl-1.0.html"
300 #f))
301
302 (define gpl2
303 (license "GPL 2"
304 "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
305 "https://www.gnu.org/licenses/license-list#GPLv2"))
306
307 (define gpl2+
308 (license "GPL 2+"
309 "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
310 "https://www.gnu.org/licenses/license-list#GPLv2"))
311
312 (define gpl3
313 (license "GPL 3"
314 "https://www.gnu.org/licenses/gpl.html"
315 "https://www.gnu.org/licenses/license-list#GNUGPLv3"))
316
317 (define gpl3+
318 (license "GPL 3+"
319 "https://www.gnu.org/licenses/gpl.html"
320 "https://www.gnu.org/licenses/license-list#GNUGPLv3"))
321
322 ;; The “GUST font license” is legally equivalent to LPPL v1.3c as it only
323 ;; extends the LPPL with an optional request.
324 (define gfl1.0
325 (license "GUST font license 1.0"
326 "http://www.gust.org.pl/projects/e-foundry/licenses/GUST-FONT-LICENSE.txt"
327 "https://www.gnu.org/licenses/license-list#LPPL-1.3a"))
328
329 (define fdl1.1+
330 (license "FDL 1.1+"
331 "https://www.gnu.org/licenses/fdl-1.1"
332 "https://www.gnu.org/licenses/license-list#FDL"))
333
334 (define fdl1.2+
335 (license "FDL 1.2+"
336 "https://www.gnu.org/licenses/fdl-1.2"
337 "https://www.gnu.org/licenses/license-list#FDL"))
338
339 (define fdl1.3+
340 (license "FDL 1.3+"
341 "https://www.gnu.org/licenses/fdl.html"
342 "https://www.gnu.org/licenses/license-list#FDL"))
343
344 (define freebsd-doc
345 (license "FreeBSD Documentation License"
346 "https://www.freebsd.org/copyright/freebsd-doc-license.html"
347 "https://www.gnu.org/licenses/license-list.html#FreeBSDDL"))
348
349 (define opl1.0+
350 (license "Open Publication License 1.0 or later"
351 "http://opencontent.org/openpub/"
352 "https://www.gnu.org/licenses/license-list#OpenPublicationL"))
353
354 (define isc
355 (license "ISC"
356 "http://directory.fsf.org/wiki/License:ISC"
357 "https://www.gnu.org/licenses/license-list.html#ISC"))
358
359 (define ijg
360 (license "IJG"
361 "http://directory.fsf.org/wiki/License:JPEG"
362 "https://www.gnu.org/licenses/license-list#ijg"))
363
364 (define ibmpl1.0
365 (license "IBMPL 1.0"
366 "http://directory.fsf.org/wiki/License:IBMPLv1.0"
367 "https://www.gnu.org/licenses/license-list#IBMPL"))
368
369 (define imlib2
370 (license "Imlib2"
371 "http://directory.fsf.org/wiki/License:Imlib2"
372 "https://www.gnu.org/licenses/license-list#imlib"))
373
374 (define ipa
375 (license "IPA Font License"
376 "http://directory.fsf.org/wiki/License:IPA_Font_License"
377 "https://www.gnu.org/licenses/license-list#IPAFONT"))
378
379 (define knuth
380 (license "Donald Knuth's license for TeX"
381 "http://www.ctan.org/license/knuth"
382 "Modification are only permitted under a different name."))
383
384 (define lgpl2.0
385 (license "LGPL 2.0"
386 "https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html"
387 "https://www.gnu.org/licenses/why-not-lgpl.html"))
388
389 (define lgpl2.0+
390 (license "LGPL 2.0+"
391 "https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html"
392 "https://www.gnu.org/licenses/why-not-lgpl.html"))
393
394 (define lgpl2.1
395 (license "LGPL 2.1"
396 "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"
397 "https://www.gnu.org/licenses/license-list#LGPLv2.1"))
398
399 (define lgpl2.1+
400 (license "LGPL 2.1+"
401 "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"
402 "https://www.gnu.org/licenses/license-list#LGPLv2.1"))
403
404 (define lgpl3
405 (license "LGPL 3"
406 "https://www.gnu.org/licenses/lgpl.html"
407 "https://www.gnu.org/licenses/license-list#LGPLv3"))
408
409 (define lgpl3+
410 (license "LGPL 3+"
411 "https://www.gnu.org/licenses/lgpl.html"
412 "https://www.gnu.org/licenses/license-list#LGPLv3"))
413
414 (define lppl
415 (license "LPPL (any version)"
416 "https://www.latex-project.org/lppl/lppl-1-0/"
417 "LaTeX Project Public License 1.0"))
418
419 (define lppl1.0+
420 (license "LPPL 1.0+"
421 "https://www.latex-project.org/lppl/lppl-1-0/"
422 "LaTeX Project Public License 1.0"))
423
424 (define lppl1.2
425 (license "LPPL 1.2"
426 "http://directory.fsf.org/wiki/License:LPPLv1.2"
427 "https://www.gnu.org/licenses/license-list#LPPL-1.2"))
428
429 (define lppl1.2+
430 (license "LPPL 1.2+"
431 "http://directory.fsf.org/wiki/License:LPPLv1.2"
432 "https://www.gnu.org/licenses/license-list#LPPL-1.2"))
433
434 (define lppl1.3
435 (license "LPPL 1.3"
436 "https://www.latex-project.org/lppl/lppl-1-3/"
437 "LaTeX Project Public License 1.3"))
438
439 (define lppl1.3+
440 (license "LPPL 1.3+"
441 "https://www.latex-project.org/lppl/lppl-1-3/"
442 "LaTeX Project Public License 1.3+"))
443
444 (define lppl1.3a
445 (license "LPPL 1.3a"
446 "http://directory.fsf.org/wiki/License:LPPLv1.3a"
447 "https://www.gnu.org/licenses/license-list#LPPL-1.3a"))
448
449 (define lppl1.3a+
450 (license "LPPL 1.3a+"
451 "http://directory.fsf.org/wiki/License:LPPLv1.3a"
452 "https://www.gnu.org/licenses/license-list#LPPL-1.3a"))
453
454 (define lppl1.3b
455 (license "LPPL 1.3b"
456 "https://www.latex-project.org/lppl/lppl-1-3b/"
457 "LaTeX Project Public License 1.3b"))
458
459 (define lppl1.3b+
460 (license "LPPL 1.3b+"
461 "https://www.latex-project.org/lppl/lppl-1-3b/"
462 "LaTeX Project Public License 1.3b or later"))
463
464 (define lppl1.3c
465 (license "LPPL 1.3c"
466 "https://www.latex-project.org/lppl/lppl-1-3c/"
467 "LaTeX Project Public License 1.3c"))
468
469 (define lppl1.3c+
470 (license "LPPL 1.3c+"
471 "https://www.latex-project.org/lppl/lppl-1-3c/"
472 "LaTeX Project Public License 1.3c or later"))
473
474 (define miros
475 (license "MirOS"
476 "https://www.mirbsd.org/MirOS-Licence.htm"
477 "MirOS License"))
478
479 (define mpl1.0
480 (license "MPL 1.0"
481 "http://www.mozilla.org/MPL/1.0/"
482 "https://www.gnu.org/licenses/license-list.html#MPL"))
483
484 (define mpl1.1
485 (license "MPL 1.1"
486 "http://directory.fsf.org/wiki/License:MPLv1.1"
487 "https://www.gnu.org/licenses/license-list#MPL"))
488
489 (define mpl2.0
490 (license "MPL 2.0"
491 "http://directory.fsf.org/wiki/License:MPLv2.0"
492 "https://www.gnu.org/licenses/license-list#MPL-2.0"))
493
494 (define ms-pl
495 (license "Ms-PL" ;Microsoft Public License
496 "http://directory.fsf.org/wiki/License:MsPL"
497 "http://www.gnu.org/licenses/license-list.html#ms-pl"))
498
499 (define ncsa
500 (license "NCSA/University of Illinois Open Source License"
501 "http://directory.fsf.org/wiki/License:IllinoisNCSA"
502 "https://www.gnu.org/licenses/license-list#NCSA"))
503
504 (define nmap
505 (license "Nmap license"
506 "https://svn.nmap.org/nmap/COPYING"
507 "https://fedoraproject.org/wiki/Licensing/Nmap"))
508
509 (define openssl
510 (license "OpenSSL"
511 "http://directory.fsf.org/wiki/License:OpenSSL"
512 "https://www.gnu.org/licenses/license-list#OpenSSL"))
513
514 (define openldap2.8
515 (license "OpenLDAPv2.8"
516 "http://directory.fsf.org/wiki/License:OpenLDAPv2.8"
517 "https://www.gnu.org/licenses/license-list#newOpenLDAP"))
518 ;; lists OpenLDAPv2.7, which is virtually identical
519
520 (define perl-license
521 ;; The license of Perl, GPLv1+ or Artistic (we ignore the latter here).
522 ;; We define this alias to avoid circular dependencies introduced by the use
523 ;; of the '(package-license perl)' idiom.
524 gpl1+)
525
526 (define psfl
527 (license "Python Software Foundation License"
528 "http://docs.python.org/license.html"
529 #f))
530
531 (define public-domain
532 (license "Public Domain"
533 "http://directory.fsf.org/wiki/License:PublicDomain"
534 "https://www.gnu.org/licenses/license-list#PublicDomain"))
535
536 (define qpl
537 (license "QPL"
538 "http://directory.fsf.org/wiki/License:QPLv1.0"
539 "http://www.gnu.org/licenses/license-list.html#QPL"))
540
541 (define repoze
542 (license "Repoze"
543 "http://repoze.org/LICENSE.txt"
544 "A BSD-like license with a clause requiring all changes to be
545 attributed by author and date."))
546
547 (define ruby
548 (license "Ruby License"
549 "http://directory.fsf.org/wiki/License:Ruby"
550 "https://www.ruby-lang.org/en/about/license.txt"))
551
552 (define sgifreeb2.0
553 (license "SGI Free Software License B, version 2.0"
554 "http://directory.fsf.org/wiki/License:SGIFreeBv2"
555 "https://www.gnu.org/licenses/license-list.html#SGIFreeB"))
556
557 (define silofl1.1
558 (license "SIL OFL 1.1"
559 "http://scripts.sil.org/OFL_web"
560 "https://www.gnu.org/licenses/license-list#SILOFL"))
561
562 (define sleepycat
563 (license "Sleepycat"
564 "http://directory.fsf.org/wiki/License:Sleepycat"
565 "https://www.gnu.org/licenses/license-list#BerkeleyDB"))
566
567 (define tcl/tk
568 (license "Tcl/Tk"
569 "http://www.tcl.tk/software/tcltk/license.html"
570 "A non-copyleft free software license from the Tcl/Tk project"))
571
572 (define vim
573 (license "Vim"
574 "http://directory.fsf.org/wiki/License:Vim7.2"
575 "http://www.gnu.org/licenses/license-list.html#Vim"))
576
577 (define unlicense
578 (license "Unlicense"
579 "https://unlicense.org/"
580 "https://www.gnu.org/licenses/license-list.html#Unlicense"))
581
582 (define w3c
583 (license "W3C Software Notice and License"
584 "https://directory.fsf.org/wiki/License:W3C_31Dec2002"
585 "https://www.gnu.org/licenses/license-list.en.html#W3C"))
586
587 (define wtfpl2
588 (license "WTFPL 2"
589 "http://www.wtfpl.net"
590 "http://www.wtfpl.net/about/"))
591
592 (define wxwindows3.1+
593 (license "wxWindows 3.1+"
594 "https://wxwidgets.org/about/licence"
595 "https://www.gnu.org/licenses/license-list.html#Wxwind"))
596
597 (define x11
598 (license "X11"
599 "http://directory.fsf.org/wiki/License:X11"
600 "https://www.gnu.org/licenses/license-list#X11License"))
601
602 (define* (x11-style uri #:optional (comment ""))
603 "Return an X11-style license, whose full text can be found at URI,
604 which may be a file:// URI pointing the package's tree."
605 (license "X11-style"
606 uri
607 (string-append
608 "This is an X11-style, non-copyleft free software license. "
609 "Check the URI for details. "
610 comment)))
611
612 (define zpl2.1
613 (license "Zope Public License 2.1"
614 "http://directory.fsf.org/wiki?title=License:ZopePLv2.1"
615 "https://www.gnu.org/licenses/license-list.html#Zope2.0"))
616
617 (define zlib
618 (license "Zlib"
619 "http://www.gzip.org/zlib/zlib_license.html"
620 "https://www.gnu.org/licenses/license-list#ZLib"))
621
622 (define* (fsf-free uri #:optional (comment ""))
623 "Return a license that does not fit any of the ones above or a collection
624 of licenses, approved as free by the FSF. More details can be found at URI."
625 (license "FSF-free"
626 uri
627 comment))
628
629 (define* (fsdg-compatible uri #:optional (comment ""))
630 "Return a license that does not fit any of the ones above or a collection
631 of licenses, not necessarily free, but in accordance with FSDG as Non-functional
632 Data. More details can be found at URI. See also
633 https://www.gnu.org/distros/free-system-distribution-guidelines.en.html#non-functional-data."
634 (license "FSDG-compatible"
635 uri
636 comment))
637
638 ;;; licenses.scm ends here