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