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