Commit | Line | Data |
---|---|---|
233e7676 | 1 | ;;; GNU Guix --- Functional package management for GNU |
b3345dc4 | 2 | ;;; Copyright © 2012, 2014, 2015 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> |
838d78e3 | 12 | ;;; |
233e7676 | 13 | ;;; This file is part of GNU Guix. |
838d78e3 | 14 | ;;; |
233e7676 | 15 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
838d78e3 NK |
16 | ;;; under the terms of the GNU General Public License as published by |
17 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
18 | ;;; your option) any later version. | |
19 | ;;; | |
233e7676 | 20 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
838d78e3 NK |
21 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
22 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
23 | ;;; GNU General Public License for more details. | |
24 | ;;; | |
25 | ;;; You should have received a copy of the GNU General Public License | |
233e7676 | 26 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
838d78e3 NK |
27 | |
28 | (define-module (guix licenses) | |
29 | #:use-module (srfi srfi-9) | |
30 | #:export (license? license-name license-uri license-comment | |
59b20347 | 31 | agpl1 agpl3 agpl3+ |
f88ce395 | 32 | asl1.1 asl2.0 |
838d78e3 | 33 | boost1.0 |
b3345dc4 LC |
34 | bsd-2 bsd-3 bsd-4 |
35 | non-copyleft | |
36 | bsd-style ;deprecated! | |
71639e1f | 37 | cc0 |
a10bf139 | 38 | cc-by2.0 cc-by3.0 cc-by-sa2.0 cc-by-sa3.0 cc-by-sa4.0 |
838d78e3 | 39 | cddl1.0 |
c711f07c | 40 | cecill-c |
f8e36623 | 41 | artistic2.0 clarified-artistic |
0eed5501 | 42 | copyleft-next |
838d78e3 NK |
43 | cpl1.0 |
44 | epl1.0 | |
f15b31c5 | 45 | expat |
b387a1c5 | 46 | freetype |
7e67fdd1 | 47 | freebsd-doc |
921d9dc7 | 48 | giftware |
f15b31c5 | 49 | gpl1 gpl1+ gpl2 gpl2+ gpl3 gpl3+ |
dee38b7b | 50 | gfl1.0 |
b58691fa | 51 | fdl1.1+ fdl1.2+ fdl1.3+ |
c058f4ec | 52 | opl1.0+ |
b1426f17 | 53 | isc |
838d78e3 NK |
54 | ijg |
55 | ibmpl1.0 | |
8835aed4 | 56 | imlib2 |
6d5e7ef3 | 57 | ipa |
f15b31c5 | 58 | lgpl2.0 lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3 lgpl3+ |
ea4a0e81 | 59 | mpl1.0 mpl1.1 mpl2.0 |
fdbb9ded | 60 | ms-pl |
499cdcc6 | 61 | ncsa |
dcd19c0a | 62 | nmap |
1ca98280 | 63 | openldap2.8 openssl |
e2034de5 | 64 | psfl public-domain |
d192efae | 65 | qpl |
0db71dd2 | 66 | repoze |
6ef8c59a | 67 | ruby |
e5c35d9a | 68 | sgifreeb2.0 |
d9e56454 | 69 | silofl1.1 |
2824146b | 70 | sleepycat |
d29f6470 | 71 | tcl/tk |
aaa49e8c | 72 | unlicense |
99e6c1b1 | 73 | vim |
bbd60260 | 74 | x11 x11-style |
4a4dac20 | 75 | zpl2.1 |
6d36a6f3 | 76 | zlib |
d8c8e423 | 77 | fsf-free |
78 | wtfpl2)) | |
838d78e3 NK |
79 | |
80 | (define-record-type <license> | |
81 | (license name uri comment) | |
82 | license? | |
83 | (name license-name) | |
84 | (uri license-uri) | |
85 | (comment license-comment)) | |
86 | ||
87 | ;;; Commentary: | |
88 | ;;; | |
89 | ;;; Available licenses. | |
90 | ;;; | |
91 | ;;; This list is based on these links: | |
ca534666 | 92 | ;;; https://github.com/NixOS/nixpkgs/blob/master/lib/licenses.nix |
838d78e3 NK |
93 | ;;; https://www.gnu.org/licenses/license-list |
94 | ;;; | |
95 | ;;; Code: | |
96 | ||
59b20347 DC |
97 | (define agpl1 |
98 | (license "AGPL 1" | |
99 | "https://gnu.org/licenses/agpl.html" | |
100 | "https://gnu.org/licenses/why-affero-gpl.html")) | |
101 | ||
ef7cf291 NK |
102 | (define agpl3 |
103 | (license "AGPL 3" | |
104 | "https://gnu.org/licenses/agpl.html" | |
105 | "https://gnu.org/licenses/why-affero-gpl.html")) | |
106 | ||
107 | (define agpl3+ | |
108 | (license "AGPL 3+" | |
109 | "https://gnu.org/licenses/agpl.html" | |
110 | "https://gnu.org/licenses/why-affero-gpl.html")) | |
111 | ||
f88ce395 RJ |
112 | (define asl1.1 |
113 | (license "ASL 1.1" | |
114 | "http://directory.fsf.org/wiki/License:Apache1.1" | |
115 | "https://www.gnu.org/licenses/license-list#apache1")) | |
116 | ||
838d78e3 NK |
117 | (define asl2.0 |
118 | (license "ASL 2.0" | |
119 | "http://directory.fsf.org/wiki/License:Apache2.0" | |
120 | "https://www.gnu.org/licenses/license-list#apache2")) | |
121 | ||
122 | (define boost1.0 | |
123 | (license "Boost 1.0" | |
124 | "http://directory.fsf.org/wiki/License:Boost1.0" | |
125 | "https://www.gnu.org/licenses/license-list#boost")) | |
126 | ||
127 | (define bsd-2 | |
128 | (license "FreeBSD" | |
129 | "http://directory.fsf.org/wiki/License:FreeBSD" | |
130 | "https://www.gnu.org/licenses/license-list#FreeBSD")) | |
131 | ||
132 | (define bsd-3 | |
133 | (license "Modified BSD" | |
134 | "http://directory.fsf.org/wiki/License:BSD_3Clause" | |
135 | "https://www.gnu.org/licenses/license-list#ModifiedBSD")) | |
136 | ||
137 | (define bsd-4 | |
138 | (license "Original BSD" | |
139 | "http://directory.fsf.org/wiki/License:BSD_4Clause" | |
140 | "https://www.gnu.org/licenses/license-list#OriginalBSD")) | |
141 | ||
b3345dc4 LC |
142 | (define* (non-copyleft uri #:optional (comment "")) |
143 | "Return a lax, permissive, non-copyleft license (for example a variant of | |
144 | the 3-clause BSD license or the Expat license), whose full text can be found | |
145 | at URI, which may be a file:// URI pointing the package's tree." | |
146 | (license "non-copyleft" | |
f15b31c5 NK |
147 | uri |
148 | (string-append | |
b3345dc4 | 149 | "This is a lax, non-copyleft free software license. " |
f15b31c5 NK |
150 | "Check the URI for details. " |
151 | comment))) | |
152 | ||
b3345dc4 LC |
153 | (define bsd-style |
154 | ;; This alias is kept for backward-compatibility. Do not use it for new | |
155 | ;; packages: it is ambiguous, as rightfully explained at | |
156 | ;; <http://www.gnu.org/philosophy/words-to-avoid.html#BSD-style>. | |
157 | non-copyleft) | |
158 | ||
71639e1f EB |
159 | (define cc0 |
160 | (license "CC0" | |
161 | "http://directory.fsf.org/wiki/License:CC0" | |
162 | "http://www.gnu.org/licenses/license-list.html#CC0")) | |
163 | ||
12abc6e3 LC |
164 | (define cc-by-sa4.0 |
165 | (license "CC-BY-SA 4.0" | |
166 | "http://creativecommons.org/licenses/by-sa/4.0/" | |
167 | "Creative Commons Attribution-ShareAlike 4.0 International")) | |
168 | ||
b7fa2f93 RW |
169 | (define cc-by-sa3.0 |
170 | (license "CC-BY-SA 3.0" | |
171 | "http://creativecommons.org/licenses/by-sa/3.0/" | |
172 | "Creative Commons Attribution-ShareAlike 3.0 Unported")) | |
173 | ||
a10bf139 RS |
174 | (define cc-by-sa2.0 |
175 | (license "CC-BY-SA 2.0" | |
176 | "http://creativecommons.org/licenses/by-sa/2.0/" | |
177 | "Creative Commons Attribution-ShareAlike 2.0 Generic")) | |
178 | ||
12abc6e3 LC |
179 | (define cc-by3.0 |
180 | (license "CC-BY 3.0" | |
181 | "http://creativecommons.org/licenses/by/3.0/" | |
182 | "Creative Commons Attribution 3.0 Unported")) | |
183 | ||
a10bf139 RS |
184 | (define cc-by2.0 |
185 | (license "CC-BY 2.0" | |
186 | "http://creativecommons.org/licenses/by/2.0/" | |
187 | "Creative Commons Attribution 2.0 Generic")) | |
188 | ||
838d78e3 NK |
189 | (define cddl1.0 |
190 | (license "CDDL 1.0" | |
191 | "http://directory.fsf.org/wiki/License:CDDLv1.0" | |
192 | "https://www.gnu.org/licenses/license-list#CDDL")) | |
193 | ||
c711f07c EB |
194 | (define cecill-c |
195 | (license "CeCILL-C" | |
196 | "http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html" | |
197 | "https://www.gnu.org/licenses/license-list.html#CeCILL")) | |
198 | ||
f8e36623 EB |
199 | (define artistic2.0 |
200 | (license "Artistic License 2.0" | |
201 | "http://www.perlfoundation.org/artistic_license_2_0" | |
202 | "http://www.gnu.org/licenses/license-list.html#ArtisticLicense2")) | |
203 | ||
af8c2a15 LC |
204 | (define clarified-artistic |
205 | (license "Clarified Artistic" | |
206 | ;; http://directory.fsf.org/wiki/User:Jgay/license-categorization#Clarified_Artistic_License | |
207 | "http://gianluca.dellavedova.org/2011/01/03/clarified-artistic-license/" | |
208 | "https://www.gnu.org/licenses/license-list.html#ArtisticLicense2")) | |
209 | ||
0eed5501 LC |
210 | (define copyleft-next |
211 | (license "copyleft-next" | |
212 | "https://raw.github.com/richardfontana/copyleft-next/master/Releases/copyleft-next-0.3.0" | |
213 | "GPL-compatible copyleft license")) | |
214 | ||
838d78e3 NK |
215 | (define cpl1.0 |
216 | (license "CPL 1.0" | |
217 | "http://directory.fsf.org/wiki/License:CPLv1.0" | |
218 | "https://www.gnu.org/licenses/license-list#CommonPublicLicense10")) | |
219 | ||
220 | (define epl1.0 | |
221 | (license "EPL 1.0" | |
222 | "http://directory.fsf.org/wiki/License:EPLv1.0" | |
223 | "https://www.gnu.org/licenses/license-list#EPL")) | |
224 | ||
f15b31c5 NK |
225 | (define expat |
226 | (license "Expat" | |
227 | "http://directory.fsf.org/wiki/License:Expat" | |
228 | "https://www.gnu.org/licenses/license-list.html#Expat")) | |
229 | ||
b387a1c5 AE |
230 | (define freetype |
231 | (license "Freetype" | |
232 | "http://directory.fsf.org/wiki/License:Freetype" | |
233 | "https://www.gnu.org/licenses/license-list.html#freetype")) | |
234 | ||
921d9dc7 DT |
235 | (define giftware |
236 | (license "Giftware" | |
237 | "http://liballeg.org/license.html" | |
238 | "The Allegro 4 license")) | |
239 | ||
f15b31c5 NK |
240 | (define gpl1 |
241 | (license "GPL 1" | |
242 | "https://www.gnu.org/licenses/old-licenses/gpl-1.0.html" | |
243 | #f)) | |
244 | ||
245 | (define gpl1+ | |
246 | (license "GPL 1+" | |
247 | "https://www.gnu.org/licenses/old-licenses/gpl-1.0.html" | |
248 | #f)) | |
249 | ||
838d78e3 NK |
250 | (define gpl2 |
251 | (license "GPL 2" | |
252 | "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html" | |
253 | "https://www.gnu.org/licenses/license-list#GPLv2")) | |
254 | ||
255 | (define gpl2+ | |
256 | (license "GPL 2+" | |
257 | "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html" | |
258 | "https://www.gnu.org/licenses/license-list#GPLv2")) | |
259 | ||
260 | (define gpl3 | |
261 | (license "GPL 3" | |
262 | "https://www.gnu.org/licenses/gpl.html" | |
263 | "https://www.gnu.org/licenses/license-list#GNUGPLv3")) | |
264 | ||
265 | (define gpl3+ | |
266 | (license "GPL 3+" | |
267 | "https://www.gnu.org/licenses/gpl.html" | |
268 | "https://www.gnu.org/licenses/license-list#GNUGPLv3")) | |
269 | ||
dee38b7b RW |
270 | ;; The “GUST font license” is legally equivalent to LPPL v1.3c as it only |
271 | ;; extends the LPPL with an optional request. | |
272 | (define gfl1.0 | |
273 | (license "GUST font license 1.0" | |
274 | "http://www.gust.org.pl/projects/e-foundry/licenses/GUST-FONT-LICENSE.txt" | |
275 | "https://www.gnu.org/licenses/license-list#LPPL-1.3a")) | |
276 | ||
ca9eb489 FH |
277 | (define fdl1.1+ |
278 | (license "FDL 1.1+" | |
279 | "https://www.gnu.org/licenses/fdl-1.1" | |
280 | "https://www.gnu.org/licenses/license-list#FDL")) | |
281 | ||
59b20347 DC |
282 | (define fdl1.2+ |
283 | (license "FDL 1.2+" | |
284 | "https://www.gnu.org/licenses/fdl-1.2" | |
285 | "https://www.gnu.org/licenses/license-list#FDL")) | |
286 | ||
66ea6713 LC |
287 | (define fdl1.3+ |
288 | (license "FDL 1.3+" | |
289 | "https://www.gnu.org/licenses/fdl.html" | |
290 | "https://www.gnu.org/licenses/license-list#FDL")) | |
291 | ||
7e67fdd1 | 292 | (define freebsd-doc |
293 | (license "FreeBSD Documentation License" | |
294 | "https://www.freebsd.org/copyright/freebsd-doc-license.html" | |
295 | "https://www.gnu.org/licenses/license-list.html#FreeBSDDL")) | |
296 | ||
c058f4ec MW |
297 | (define opl1.0+ |
298 | (license "Open Publication License 1.0 or later" | |
299 | "http://opencontent.org/openpub/" | |
300 | "https://www.gnu.org/licenses/license-list#OpenPublicationL")) | |
301 | ||
b1426f17 CR |
302 | (define isc |
303 | (license "ISC" | |
304 | "http://directory.fsf.org/wiki/License:ISC" | |
305 | "https://www.gnu.org/licenses/license-list.html#ISC")) | |
306 | ||
838d78e3 NK |
307 | (define ijg |
308 | (license "IJG" | |
309 | "http://directory.fsf.org/wiki/License:JPEG" | |
310 | "https://www.gnu.org/licenses/license-list#ijg")) | |
311 | ||
312 | (define ibmpl1.0 | |
313 | (license "IBMPL 1.0" | |
314 | "http://directory.fsf.org/wiki/License:IBMPLv1.0" | |
315 | "https://www.gnu.org/licenses/license-list#IBMPL")) | |
316 | ||
8835aed4 AK |
317 | (define imlib2 |
318 | (license "Imlib2" | |
319 | "http://directory.fsf.org/wiki/License:Imlib2" | |
320 | "https://www.gnu.org/licenses/license-list#imlib")) | |
321 | ||
6d5e7ef3 AE |
322 | (define ipa |
323 | (license "IPA Font License" | |
324 | "http://directory.fsf.org/wiki/License:IPA_Font_License" | |
325 | "https://www.gnu.org/licenses/license-list#IPAFONT")) | |
326 | ||
f15b31c5 NK |
327 | (define lgpl2.0 |
328 | (license "LGPL 2.0" | |
329 | "https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html" | |
330 | "https://www.gnu.org/licenses/why-not-lgpl.html")) | |
331 | ||
332 | (define lgpl2.0+ | |
333 | (license "LGPL 2.0+" | |
334 | "https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html" | |
335 | "https://www.gnu.org/licenses/why-not-lgpl.html")) | |
336 | ||
838d78e3 NK |
337 | (define lgpl2.1 |
338 | (license "LGPL 2.1" | |
339 | "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html" | |
340 | "https://www.gnu.org/licenses/license-list#LGPLv2.1")) | |
341 | ||
342 | (define lgpl2.1+ | |
343 | (license "LGPL 2.1+" | |
344 | "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html" | |
345 | "https://www.gnu.org/licenses/license-list#LGPLv2.1")) | |
346 | ||
347 | (define lgpl3 | |
348 | (license "LGPL 3" | |
349 | "https://www.gnu.org/licenses/lgpl.html" | |
350 | "https://www.gnu.org/licenses/license-list#LGPLv3")) | |
351 | ||
352 | (define lgpl3+ | |
353 | (license "LGPL 3+" | |
354 | "https://www.gnu.org/licenses/lgpl.html" | |
355 | "https://www.gnu.org/licenses/license-list#LGPLv3")) | |
356 | ||
ea4a0e81 EB |
357 | (define mpl1.0 |
358 | (license "MPL 1.0" | |
359 | "http://www.mozilla.org/MPL/1.0/" | |
360 | "https://www.gnu.org/licenses/license-list.html#MPL")) | |
361 | ||
0ae332d3 LC |
362 | (define mpl1.1 |
363 | (license "MPL 1.1" | |
364 | "http://directory.fsf.org/wiki/License:MPLv1.1" | |
365 | "https://www.gnu.org/licenses/license-list#MPL")) | |
366 | ||
838d78e3 NK |
367 | (define mpl2.0 |
368 | (license "MPL 2.0" | |
369 | "http://directory.fsf.org/wiki/License:MPLv2.0" | |
370 | "https://www.gnu.org/licenses/license-list#MPL-2.0")) | |
371 | ||
fdbb9ded LC |
372 | (define ms-pl |
373 | (license "Ms-PL" ;Microsoft Public License | |
374 | "http://directory.fsf.org/wiki/License:MsPL" | |
375 | "http://www.gnu.org/licenses/license-list.html#ms-pl")) | |
376 | ||
499cdcc6 EB |
377 | (define ncsa |
378 | (license "NCSA/University of Illinois Open Source License" | |
379 | "http://directory.fsf.org/wiki/License:IllinoisNCSA" | |
380 | "https://www.gnu.org/licenses/license-list#NCSA")) | |
381 | ||
dcd19c0a LF |
382 | (define nmap |
383 | (license "Nmap license" | |
384 | "https://svn.nmap.org/nmap/COPYING" | |
385 | "https://fedoraproject.org/wiki/Licensing/Nmap")) | |
386 | ||
838d78e3 NK |
387 | (define openssl |
388 | (license "OpenSSL" | |
389 | "http://directory.fsf.org/wiki/License:OpenSSL" | |
390 | "https://www.gnu.org/licenses/license-list#OpenSSL")) | |
391 | ||
1ca98280 AE |
392 | (define openldap2.8 |
393 | (license "OpenLDAPv2.8" | |
394 | "http://directory.fsf.org/wiki/License:OpenLDAPv2.8" | |
395 | "https://www.gnu.org/licenses/license-list#newOpenLDAP")) | |
396 | ;; lists OpenLDAPv2.7, which is virtually identical | |
397 | ||
e2034de5 NK |
398 | (define psfl |
399 | (license "Python Software Foundation License" | |
400 | "http://docs.python.org/license.html" | |
401 | #f)) | |
402 | ||
838d78e3 NK |
403 | (define public-domain |
404 | (license "Public Domain" | |
405 | "http://directory.fsf.org/wiki/License:PublicDomain" | |
406 | "https://www.gnu.org/licenses/license-list#PublicDomain")) | |
407 | ||
d192efae CR |
408 | (define qpl |
409 | (license "QPL" | |
410 | "http://directory.fsf.org/wiki/License:QPLv1.0" | |
411 | "http://www.gnu.org/licenses/license-list.html#QPL")) | |
412 | ||
0db71dd2 LF |
413 | (define repoze |
414 | (license "Repoze" | |
415 | "http://repoze.org/LICENSE.txt" | |
416 | "A BSD-like license with a clause requiring all changes to be | |
417 | attributed by author and date.")) | |
418 | ||
6ef8c59a PP |
419 | (define ruby |
420 | (license "Ruby License" | |
421 | "http://directory.fsf.org/wiki/License:Ruby" | |
422 | "https://www.ruby-lang.org/en/about/license.txt")) | |
423 | ||
e5c35d9a MW |
424 | (define sgifreeb2.0 |
425 | (license "SGI Free Software License B, version 2.0" | |
426 | "http://directory.fsf.org/wiki/License:SGIFreeBv2" | |
427 | "https://www.gnu.org/licenses/license-list.html#SGIFreeB")) | |
428 | ||
d9e56454 AK |
429 | (define silofl1.1 |
430 | (license "SIL OFL 1.1" | |
431 | "http://scripts.sil.org/OFL_web" | |
432 | "https://www.gnu.org/licenses/license-list#SILOFL")) | |
433 | ||
2824146b RW |
434 | (define sleepycat |
435 | (license "Sleepycat" | |
436 | "http://directory.fsf.org/wiki/License:Sleepycat" | |
437 | "https://www.gnu.org/licenses/license-list#BerkeleyDB")) | |
438 | ||
d29f6470 JN |
439 | (define tcl/tk |
440 | (license "Tcl/Tk" | |
441 | "http://www.tcl.tk/software/tcltk/license.html" | |
442 | "A non-copyleft free software license from the Tcl/Tk project")) | |
443 | ||
99e6c1b1 AE |
444 | (define vim |
445 | (license "Vim" | |
446 | "http://directory.fsf.org/wiki/License:Vim7.2" | |
447 | "http://www.gnu.org/licenses/license-list.html#Vim")) | |
448 | ||
aaa49e8c LF |
449 | (define unlicense |
450 | (license "Unlicense" | |
451 | "https://unlicense.org/" | |
452 | "https://www.gnu.org/licenses/license-list.html#Unlicense")) | |
453 | ||
d8c8e423 | 454 | (define wtfpl2 |
455 | (license "WTFPL 2" | |
456 | "http://www.wtfpl.net" | |
457 | "http://www.wtfpl.net/about/")) | |
458 | ||
838d78e3 NK |
459 | (define x11 |
460 | (license "X11" | |
461 | "http://directory.fsf.org/wiki/License:X11" | |
462 | "https://www.gnu.org/licenses/license-list#X11License")) | |
463 | ||
bbd60260 NK |
464 | (define* (x11-style uri #:optional (comment "")) |
465 | "Return an X11-style license, whose full text can be found at URI, | |
466 | which may be a file:// URI pointing the package's tree." | |
467 | (license "X11-style" | |
468 | uri | |
469 | (string-append | |
470 | "This is an X11-style, non-copyleft free software license. " | |
471 | "Check the URI for details. " | |
472 | comment))) | |
473 | ||
4a4dac20 RW |
474 | (define zpl2.1 |
475 | (license "Zope Public License 2.1" | |
476 | "http://directory.fsf.org/wiki?title=License:ZopePLv2.1" | |
477 | "https://www.gnu.org/licenses/license-list.html#Zope2.0")) | |
478 | ||
838d78e3 NK |
479 | (define zlib |
480 | (license "Zlib" | |
481 | "http://www.gzip.org/zlib/zlib_license.html" | |
482 | "https://www.gnu.org/licenses/license-list#ZLib")) | |
483 | ||
6d36a6f3 AE |
484 | (define* (fsf-free uri #:optional (comment "")) |
485 | "Return a license that does not fit any of the ones above or a collection | |
486 | of licenses, approved as free by the FSF. More details can be found at URI." | |
487 | (license "FSF-free" | |
488 | uri | |
489 | comment)) | |
490 | ||
838d78e3 | 491 | ;;; licenses.scm ends here |