Merge branch 'master' into core-updates
[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 x11 x11-style
91 zpl2.1
92 zlib
93 fsf-free
94 wtfpl2
95 wxwindows3.1+
96 fsdg-compatible))
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:
110 ;;; https://github.com/NixOS/nixpkgs/blob/master/lib/licenses.nix
111 ;;; https://www.gnu.org/licenses/license-list
112 ;;;
113 ;;; Code:
114
115 (define agpl1
116 (license "AGPL 1"
117 "https://gnu.org/licenses/agpl.html"
118 "https://gnu.org/licenses/why-affero-gpl.html"))
119
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
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
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
160 (define* (non-copyleft uri #:optional (comment ""))
161 "Return a lax, permissive, non-copyleft license (for example a variant of
162 the 3-clause BSD license or the Expat license), whose full text can be found
163 at URI, which may be a file:// URI pointing the package's tree."
164 (license "non-copyleft"
165 uri
166 (string-append
167 "This is a lax, non-copyleft free software license. "
168 "Check the URI for details. "
169 comment)))
170
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 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
473 (define miros
474 (license "MirOS"
475 "https://www.mirbsd.org/MirOS-Licence.htm"
476 "MirOS License"))
477
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
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
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
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
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
503 (define nmap
504 (license "Nmap license"
505 "https://svn.nmap.org/nmap/COPYING"
506 "https://fedoraproject.org/wiki/Licensing/Nmap"))
507
508 (define openssl
509 (license "OpenSSL"
510 "http://directory.fsf.org/wiki/License:OpenSSL"
511 "https://www.gnu.org/licenses/license-list#OpenSSL"))
512
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
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
525 (define psfl
526 (license "Python Software Foundation License"
527 "http://docs.python.org/license.html"
528 #f))
529
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
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
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
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
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
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
561 (define sleepycat
562 (license "Sleepycat"
563 "http://directory.fsf.org/wiki/License:Sleepycat"
564 "https://www.gnu.org/licenses/license-list#BerkeleyDB"))
565
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
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
576 (define unlicense
577 (license "Unlicense"
578 "https://unlicense.org/"
579 "https://www.gnu.org/licenses/license-list.html#Unlicense"))
580
581 (define wtfpl2
582 (license "WTFPL 2"
583 "http://www.wtfpl.net"
584 "http://www.wtfpl.net/about/"))
585
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
591 (define x11
592 (license "X11"
593 "http://directory.fsf.org/wiki/License:X11"
594 "https://www.gnu.org/licenses/license-list#X11License"))
595
596 (define* (x11-style uri #:optional (comment ""))
597 "Return an X11-style license, whose full text can be found at URI,
598 which 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
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
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
616 (define* (fsf-free uri #:optional (comment ""))
617 "Return a license that does not fit any of the ones above or a collection
618 of licenses, approved as free by the FSF. More details can be found at URI."
619 (license "FSF-free"
620 uri
621 comment))
622
623 (define* (fsdg-compatible uri #:optional (comment ""))
624 "Return a license that does not fit any of the ones above or a collection
625 of licenses, not necessarily free, but in accordance with FSDG as Non-functional
626 Data. More details can be found at URI. See also
627 https://www.gnu.org/distros/free-system-distribution-guidelines.en.html#non-functional-data."
628 (license "FSDG-compatible"
629 uri
630 comment))
631
632 ;;; licenses.scm ends here