licenses.scm 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2012, 2014, 2015, 2017, 2019, 2020 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, 2019 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 Nikita <nikita@n0.is>
  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. ;;; Copyright © 2020 André Batista <nandre@riseup.net>
  18. ;;; Copyright © 2020 Helio Machado <0x2b3bfa0+guix@googlemail.com>
  19. ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
  20. ;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
  21. ;;; Copyright © 2021 Noisytoot <noisytoot@disroot.org>
  22. ;;; Copyright © 2021 Kyle Meyer <kyle@kyleam.com>
  23. ;;;
  24. ;;; This file is part of GNU Guix.
  25. ;;;
  26. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  27. ;;; under the terms of the GNU General Public License as published by
  28. ;;; the Free Software Foundation; either version 3 of the License, or (at
  29. ;;; your option) any later version.
  30. ;;;
  31. ;;; GNU Guix is distributed in the hope that it will be useful, but
  32. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  33. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  34. ;;; GNU General Public License for more details.
  35. ;;;
  36. ;;; You should have received a copy of the GNU General Public License
  37. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  38. (define-module (guix licenses)
  39. #:use-module (srfi srfi-9)
  40. #:export (license? license-name license-uri license-comment
  41. agpl1 agpl3 agpl3+
  42. apsl2
  43. asl1.1 asl2.0
  44. boost1.0
  45. bsd-0 bsd-1 bsd-2 bsd-3 bsd-4
  46. non-copyleft
  47. cc0
  48. cc-by2.0 cc-by3.0 cc-by4.0
  49. cc-by-sa2.0 cc-by-sa3.0 cc-by-sa4.0
  50. cddl1.0 cddl1.1
  51. cecill cecill-b cecill-c
  52. artistic2.0 clarified-artistic
  53. copyleft-next
  54. cpl1.0
  55. cua-opl1.0
  56. edl1.0
  57. epl1.0
  58. epl2.0
  59. eupl1.2
  60. expat expat-0
  61. freetype
  62. freebsd-doc
  63. giftware
  64. gpl1 gpl1+ gpl2 gpl2+ gpl3 gpl3+
  65. gfl1.0
  66. fdl1.1+ fdl1.2+ fdl1.3+
  67. opl1.0+ osl2.1
  68. isc
  69. ijg
  70. ibmpl1.0
  71. imlib2
  72. ipa
  73. knuth
  74. lal1.3
  75. lgpl2.0 lgpl2.0+ lgpl2.1 lgpl2.1+ lgpl3 lgpl3+ llgpl
  76. lppl lppl1.0+ lppl1.1+ lppl1.2 lppl1.2+
  77. lppl1.3 lppl1.3+
  78. lppl1.3a lppl1.3a+
  79. lppl1.3b lppl1.3b+
  80. lppl1.3c lppl1.3c+
  81. miros
  82. mpl1.0 mpl1.1 mpl2.0
  83. ms-pl
  84. ncsa
  85. nmap
  86. ogl-psi1.0
  87. openldap2.8 openssl
  88. perl-license
  89. psfl public-domain
  90. qpl
  91. qwt1.0
  92. repoze
  93. ruby
  94. sgifreeb2.0
  95. silofl1.1
  96. sleepycat
  97. tcl/tk
  98. unicode
  99. unlicense
  100. vim
  101. w3c
  102. x11 x11-style
  103. zpl2.1
  104. zlib
  105. fsf-free
  106. wtfpl2
  107. wxwindows3.1+
  108. hpnd
  109. fsdg-compatible))
  110. (define-record-type <license>
  111. (license name uri comment)
  112. license?
  113. (name license-name)
  114. (uri license-uri)
  115. (comment license-comment))
  116. ;;; Commentary:
  117. ;;;
  118. ;;; Available licenses.
  119. ;;;
  120. ;;; This list is based on these links:
  121. ;;; https://github.com/NixOS/nixpkgs/blob/master/lib/licenses.nix
  122. ;;; https://www.gnu.org/licenses/license-list
  123. ;;;
  124. ;;; Please update spdx-string->license from guix/import/utils.scm
  125. ;;; when modifying this list to avoid mismatches.
  126. ;;;
  127. ;;; Code:
  128. (define agpl1
  129. (license "AGPL 1"
  130. "https://gnu.org/licenses/agpl.html"
  131. "https://gnu.org/licenses/why-affero-gpl.html"))
  132. (define agpl3
  133. (license "AGPL 3"
  134. "https://gnu.org/licenses/agpl.html"
  135. "https://gnu.org/licenses/why-affero-gpl.html"))
  136. (define agpl3+
  137. (license "AGPL 3+"
  138. "https://gnu.org/licenses/agpl.html"
  139. "https://gnu.org/licenses/why-affero-gpl.html"))
  140. (define apsl2
  141. (license "APSL 2.0"
  142. "https://directory.fsf.org/wiki/License:APSL-2.0"
  143. "https://www.gnu.org/licenses/license-list.html#apsl2"))
  144. (define asl1.1
  145. (license "ASL 1.1"
  146. "http://directory.fsf.org/wiki/License:Apache1.1"
  147. "https://www.gnu.org/licenses/license-list#apache1"))
  148. (define asl2.0
  149. (license "ASL 2.0"
  150. "http://directory.fsf.org/wiki/License:Apache2.0"
  151. "https://www.gnu.org/licenses/license-list#apache2"))
  152. (define boost1.0
  153. (license "Boost 1.0"
  154. "http://directory.fsf.org/wiki/License:Boost1.0"
  155. "https://www.gnu.org/licenses/license-list#boost"))
  156. (define bsd-0
  157. (license "Zero-Clause BSD"
  158. "https://spdx.org/licenses/0BSD.html"
  159. "https://opensource.org/licenses/0BSD"))
  160. (define bsd-1
  161. (license "BSD 1-Clause"
  162. "https://spdx.org/licenses/BSD-1-Clause.html"
  163. "https://opensource.org/licenses/BSD-1-Clause"))
  164. (define bsd-2
  165. (license "FreeBSD"
  166. "http://directory.fsf.org/wiki/License:FreeBSD"
  167. "https://www.gnu.org/licenses/license-list#FreeBSD"))
  168. (define bsd-3
  169. (license "Modified BSD"
  170. "http://directory.fsf.org/wiki/License:BSD_3Clause"
  171. "https://www.gnu.org/licenses/license-list#ModifiedBSD"))
  172. (define bsd-4
  173. (license "Original BSD"
  174. "http://directory.fsf.org/wiki/License:BSD_4Clause"
  175. "https://www.gnu.org/licenses/license-list#OriginalBSD"))
  176. (define* (non-copyleft uri #:optional (comment ""))
  177. "Return a lax, permissive, non-copyleft license (for example a variant of
  178. the 3-clause BSD license or the Expat license), whose full text can be found
  179. at URI, which may be a file:// URI pointing the package's tree."
  180. (license "non-copyleft"
  181. uri
  182. (string-append
  183. "This is a lax, non-copyleft free software license. "
  184. "Check the URI for details. "
  185. comment)))
  186. (define cc0
  187. (license "CC0"
  188. "http://directory.fsf.org/wiki/License:CC0"
  189. "http://www.gnu.org/licenses/license-list.html#CC0"))
  190. (define cc-by-sa4.0
  191. (license "CC-BY-SA 4.0"
  192. "http://creativecommons.org/licenses/by-sa/4.0/"
  193. "Creative Commons Attribution-ShareAlike 4.0 International"))
  194. (define cc-by-sa3.0
  195. (license "CC-BY-SA 3.0"
  196. "http://creativecommons.org/licenses/by-sa/3.0/"
  197. "Creative Commons Attribution-ShareAlike 3.0 Unported"))
  198. (define cc-by-sa2.0
  199. (license "CC-BY-SA 2.0"
  200. "http://creativecommons.org/licenses/by-sa/2.0/"
  201. "Creative Commons Attribution-ShareAlike 2.0 Generic"))
  202. (define cc-by4.0
  203. (license "CC-BY 4.0"
  204. "http://creativecommons.org/licenses/by/4.0/"
  205. "Creative Commons Attribution 4.0 Unported"))
  206. (define cc-by3.0
  207. (license "CC-BY 3.0"
  208. "http://creativecommons.org/licenses/by/3.0/"
  209. "Creative Commons Attribution 3.0 Unported"))
  210. (define cc-by2.0
  211. (license "CC-BY 2.0"
  212. "http://creativecommons.org/licenses/by/2.0/"
  213. "Creative Commons Attribution 2.0 Generic"))
  214. (define cddl1.0
  215. (license "CDDL 1.0"
  216. "http://directory.fsf.org/wiki/License:CDDLv1.0"
  217. "https://www.gnu.org/licenses/license-list#CDDL"))
  218. ;; CDDL1.1 is the same as 1.0, except that "Sun Microsystems, Inc" becomes "Oracle",
  219. ;; "LOST PROFITS" becoms "LOSS OF GOODWILL" and a section is added between 6.2
  220. ;; and 6.3.
  221. (define cddl1.1
  222. (license "CDDL 1.1"
  223. "https://oss.oracle.com/licenses/CDDL+GPL-1.1"
  224. "https://www.gnu.org/licenses/license-list#CDDL"))
  225. (define cecill ;copyleft
  226. (license "CeCILL"
  227. "http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html"
  228. "https://www.gnu.org/licenses/license-list.html#CeCILL"))
  229. (define cecill-b ;non-copyleft
  230. (license "CeCILL-B"
  231. "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html"
  232. "https://www.gnu.org/licenses/license-list.html#CeCILL"))
  233. (define cecill-c ;weak copyleft
  234. (license "CeCILL-C"
  235. "http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html"
  236. "https://www.gnu.org/licenses/license-list.html#CeCILL"))
  237. (define artistic2.0
  238. (license "Artistic License 2.0"
  239. "http://www.perlfoundation.org/artistic_license_2_0"
  240. "http://www.gnu.org/licenses/license-list.html#ArtisticLicense2"))
  241. (define clarified-artistic
  242. (license "Clarified Artistic"
  243. ;; http://directory.fsf.org/wiki/User:Jgay/license-categorization#Clarified_Artistic_License
  244. "http://gianluca.dellavedova.org/2011/01/03/clarified-artistic-license/"
  245. "https://www.gnu.org/licenses/license-list.html#ArtisticLicense2"))
  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. (define cpl1.0
  251. (license "CPL 1.0"
  252. "http://directory.fsf.org/wiki/License:CPLv1.0"
  253. "https://www.gnu.org/licenses/license-list#CommonPublicLicense10"))
  254. (define cua-opl1.0
  255. (license "CUA Office Public License v1.0"
  256. "https://spdx.org/licenses/CUA-OPL-1.0.html"
  257. "https://opensource.org/licenses/CUA-OPL-1.0"))
  258. (define edl1.0
  259. (license "EDL 1.0"
  260. "http://directory.fsf.org/wiki/License:EDLv1.0"
  261. "https://eclipse.org/org/documents/edl-v10.php"))
  262. (define epl1.0
  263. (license "EPL 1.0"
  264. "http://directory.fsf.org/wiki/License:EPLv1.0"
  265. "https://www.gnu.org/licenses/license-list#EPL"))
  266. (define epl2.0
  267. (license "EPL 2.0"
  268. "https://www.eclipse.org/legal/epl-2.0/"
  269. "https://www.gnu.org/licenses/license-list#EPL2"))
  270. (define eupl1.2
  271. (license "EUPL 1.2"
  272. "https://directory.fsf.org/wiki/License:EUPL-1.2"
  273. "https://www.gnu.org/licenses/license-list#EUPL-1.2"))
  274. ;; Some people call it the MIT license. For clarification see:
  275. ;; https://www.gnu.org/licenses/license-list.html#Expat
  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. (define expat-0
  281. (license "Expat No Attribution"
  282. ;; Note: There is a later formulation of the same license at
  283. ;; <https://github.com/aws/mit-0>.
  284. "https://romanrm.net/mit-zero"
  285. "Expat license with the attribution paragraph removed."))
  286. (define freetype
  287. (license "Freetype"
  288. "http://directory.fsf.org/wiki/License:Freetype"
  289. "https://www.gnu.org/licenses/license-list.html#freetype"))
  290. (define giftware
  291. (license "Giftware"
  292. "https://liballeg.org/license.html"
  293. "The Allegro 4 license"))
  294. (define gpl1
  295. (license "GPL 1"
  296. "https://www.gnu.org/licenses/old-licenses/gpl-1.0.html"
  297. #f))
  298. (define gpl1+
  299. (license "GPL 1+"
  300. "https://www.gnu.org/licenses/old-licenses/gpl-1.0.html"
  301. #f))
  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. (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. (define gpl3
  311. (license "GPL 3"
  312. "https://www.gnu.org/licenses/gpl.html"
  313. "https://www.gnu.org/licenses/license-list#GNUGPLv3"))
  314. (define gpl3+
  315. (license "GPL 3+"
  316. "https://www.gnu.org/licenses/gpl.html"
  317. "https://www.gnu.org/licenses/license-list#GNUGPLv3"))
  318. ;; The “GUST font license” is legally equivalent to LPPL v1.3c as it only
  319. ;; extends the LPPL with an optional request.
  320. (define gfl1.0
  321. (license "GUST font license 1.0"
  322. "http://www.gust.org.pl/projects/e-foundry/licenses/GUST-FONT-LICENSE.txt"
  323. "https://www.gnu.org/licenses/license-list#LPPL-1.3a"))
  324. (define fdl1.1+
  325. (license "FDL 1.1+"
  326. "https://www.gnu.org/licenses/fdl-1.1"
  327. "https://www.gnu.org/licenses/license-list#FDL"))
  328. (define fdl1.2+
  329. (license "FDL 1.2+"
  330. "https://www.gnu.org/licenses/fdl-1.2"
  331. "https://www.gnu.org/licenses/license-list#FDL"))
  332. (define fdl1.3+
  333. (license "FDL 1.3+"
  334. "https://www.gnu.org/licenses/fdl.html"
  335. "https://www.gnu.org/licenses/license-list#FDL"))
  336. (define freebsd-doc
  337. (license "FreeBSD Documentation License"
  338. "https://www.freebsd.org/copyright/freebsd-doc-license.html"
  339. "https://www.gnu.org/licenses/license-list.html#FreeBSDDL"))
  340. (define opl1.0+
  341. (license "Open Publication License 1.0 or later"
  342. "http://opencontent.org/openpub/"
  343. "https://www.gnu.org/licenses/license-list#OpenPublicationL"))
  344. (define osl2.1
  345. (license "The Open Software License 2.1"
  346. "https://opensource.org/licenses/osl-2.1.php"
  347. "https://www.gnu.org/licenses/license-list#OSL"))
  348. (define isc
  349. (license "ISC"
  350. "http://directory.fsf.org/wiki/License:ISC"
  351. "https://www.gnu.org/licenses/license-list.html#ISC"))
  352. (define ijg
  353. (license "IJG"
  354. "http://directory.fsf.org/wiki/License:JPEG"
  355. "https://www.gnu.org/licenses/license-list#ijg"))
  356. (define ibmpl1.0
  357. (license "IBMPL 1.0"
  358. "http://directory.fsf.org/wiki/License:IBMPLv1.0"
  359. "https://www.gnu.org/licenses/license-list#IBMPL"))
  360. (define imlib2
  361. (license "Imlib2"
  362. "http://directory.fsf.org/wiki/License:Imlib2"
  363. "https://www.gnu.org/licenses/license-list#imlib"))
  364. (define ipa
  365. (license "IPA Font License"
  366. "http://directory.fsf.org/wiki/License:IPA_Font_License"
  367. "https://www.gnu.org/licenses/license-list#IPAFONT"))
  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. (define lal1.3
  373. (license "Free Art License 1.3"
  374. "http://artlibre.org/licence/lal/en/"
  375. "https://www.gnu.org/licenses/license-list#FreeArt"))
  376. (define lgpl2.0
  377. (license "LGPL 2.0"
  378. "https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html"
  379. "https://www.gnu.org/licenses/why-not-lgpl.html"))
  380. (define lgpl2.0+
  381. (license "LGPL 2.0+"
  382. "https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html"
  383. "https://www.gnu.org/licenses/why-not-lgpl.html"))
  384. (define lgpl2.1
  385. (license "LGPL 2.1"
  386. "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"
  387. "https://www.gnu.org/licenses/license-list#LGPLv2.1"))
  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. (define lgpl3
  393. (license "LGPL 3"
  394. "https://www.gnu.org/licenses/lgpl.html"
  395. "https://www.gnu.org/licenses/license-list#LGPLv3"))
  396. (define lgpl3+
  397. (license "LGPL 3+"
  398. "https://www.gnu.org/licenses/lgpl.html"
  399. "https://www.gnu.org/licenses/license-list#LGPLv3"))
  400. (define llgpl
  401. (license "LLGPL"
  402. "https://opensource.franz.com/preamble.html"
  403. "Lisp Lesser General Public License"))
  404. (define lppl
  405. (license "LPPL (any version)"
  406. "https://www.latex-project.org/lppl/lppl-1-0/"
  407. "LaTeX Project Public License 1.0"))
  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. (define lppl1.1+
  413. (license "LPPL 1.1+"
  414. "https://www.latex-project.org/lppl/lppl-1-1/"
  415. "LaTeX Project Public License 1.1"))
  416. (define lppl1.2
  417. (license "LPPL 1.2"
  418. "http://directory.fsf.org/wiki/License:LPPLv1.2"
  419. "https://www.gnu.org/licenses/license-list#LPPL-1.2"))
  420. (define lppl1.2+
  421. (license "LPPL 1.2+"
  422. "http://directory.fsf.org/wiki/License:LPPLv1.2"
  423. "https://www.gnu.org/licenses/license-list#LPPL-1.2"))
  424. (define lppl1.3
  425. (license "LPPL 1.3"
  426. "https://www.latex-project.org/lppl/lppl-1-3/"
  427. "LaTeX Project Public License 1.3"))
  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. (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. (define lppl1.3a+
  437. (license "LPPL 1.3a+"
  438. "http://directory.fsf.org/wiki/License:LPPLv1.3a"
  439. "https://www.gnu.org/licenses/license-list#LPPL-1.3a"))
  440. (define lppl1.3b
  441. (license "LPPL 1.3b"
  442. "https://www.latex-project.org/lppl/lppl-1-3b/"
  443. "LaTeX Project Public License 1.3b"))
  444. (define lppl1.3b+
  445. (license "LPPL 1.3b+"
  446. "https://www.latex-project.org/lppl/lppl-1-3b/"
  447. "LaTeX Project Public License 1.3b or later"))
  448. (define lppl1.3c
  449. (license "LPPL 1.3c"
  450. "https://www.latex-project.org/lppl/lppl-1-3c/"
  451. "LaTeX Project Public License 1.3c"))
  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. (define miros
  457. (license "MirOS"
  458. "https://www.mirbsd.org/MirOS-Licence.htm"
  459. "MirOS License"))
  460. (define mpl1.0
  461. (license "MPL 1.0"
  462. "http://www.mozilla.org/MPL/1.0/"
  463. "https://www.gnu.org/licenses/license-list.html#MPL"))
  464. (define mpl1.1
  465. (license "MPL 1.1"
  466. "http://directory.fsf.org/wiki/License:MPLv1.1"
  467. "https://www.gnu.org/licenses/license-list#MPL"))
  468. (define mpl2.0
  469. (license "MPL 2.0"
  470. "http://directory.fsf.org/wiki/License:MPLv2.0"
  471. "https://www.gnu.org/licenses/license-list#MPL-2.0"))
  472. (define ms-pl
  473. (license "Ms-PL" ;Microsoft Public License
  474. "http://directory.fsf.org/wiki/License:MsPL"
  475. "http://www.gnu.org/licenses/license-list.html#ms-pl"))
  476. (define ncsa
  477. (license "NCSA/University of Illinois Open Source License"
  478. "http://directory.fsf.org/wiki/License:IllinoisNCSA"
  479. "https://www.gnu.org/licenses/license-list#NCSA"))
  480. (define nmap
  481. (license "Nmap license"
  482. "https://svn.nmap.org/nmap/COPYING"
  483. "https://fedoraproject.org/wiki/Licensing/Nmap"))
  484. (define ogl-psi1.0
  485. (license "Open Government Licence for Public Sector Information"
  486. "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/1/"
  487. #f))
  488. (define openssl
  489. (license "OpenSSL"
  490. "http://directory.fsf.org/wiki/License:OpenSSL"
  491. "https://www.gnu.org/licenses/license-list#OpenSSL"))
  492. (define openldap2.8
  493. (license "OpenLDAPv2.8"
  494. "http://directory.fsf.org/wiki/License:OpenLDAPv2.8"
  495. "https://www.gnu.org/licenses/license-list#newOpenLDAP"))
  496. ;; lists OpenLDAPv2.7, which is virtually identical
  497. (define perl-license
  498. ;; The license of Perl, GPLv1+ or Artistic (we ignore the latter here).
  499. ;; We define this alias to avoid circular dependencies introduced by the use
  500. ;; of the '(package-license perl)' idiom.
  501. gpl1+)
  502. (define psfl
  503. (license "Python Software Foundation License"
  504. "http://docs.python.org/license.html"
  505. #f))
  506. (define public-domain
  507. (license "Public Domain"
  508. "http://directory.fsf.org/wiki/License:PublicDomain"
  509. "https://www.gnu.org/licenses/license-list#PublicDomain"))
  510. (define qpl
  511. (license "QPL"
  512. "http://directory.fsf.org/wiki/License:QPLv1.0"
  513. "http://www.gnu.org/licenses/license-list.html#QPL"))
  514. (define qwt1.0
  515. (license "QWT 1.0"
  516. "http://qwt.sourceforge.net/qwtlicense.html"
  517. "GNU Lesser General Public License with exceptions"))
  518. (define repoze
  519. (license "Repoze"
  520. "http://repoze.org/LICENSE.txt"
  521. "A BSD-like license with a clause requiring all changes to be
  522. attributed by author and date."))
  523. (define ruby
  524. (license "Ruby License"
  525. "http://directory.fsf.org/wiki/License:Ruby"
  526. "https://www.ruby-lang.org/en/about/license.txt"))
  527. (define sgifreeb2.0
  528. (license "SGI Free Software License B, version 2.0"
  529. "http://directory.fsf.org/wiki/License:SGIFreeBv2"
  530. "https://www.gnu.org/licenses/license-list.html#SGIFreeB"))
  531. (define silofl1.1
  532. (license "SIL OFL 1.1"
  533. "http://scripts.sil.org/OFL_web"
  534. "https://www.gnu.org/licenses/license-list#SILOFL"))
  535. (define sleepycat
  536. (license "Sleepycat"
  537. "http://directory.fsf.org/wiki/License:Sleepycat"
  538. "https://www.gnu.org/licenses/license-list#BerkeleyDB"))
  539. (define tcl/tk
  540. (license "Tcl/Tk"
  541. "http://www.tcl.tk/software/tcltk/license.html"
  542. "A non-copyleft free software license from the Tcl/Tk project"))
  543. (define vim
  544. (license "Vim"
  545. "http://directory.fsf.org/wiki/License:Vim7.2"
  546. "http://www.gnu.org/licenses/license-list.html#Vim"))
  547. (define unicode
  548. (license "Unicode"
  549. "https://directory.fsf.org/wiki/License:Unicode"
  550. "http://www.gnu.org/licenses/license-list.html#Unicode"))
  551. (define unlicense
  552. (license "Unlicense"
  553. "https://unlicense.org/"
  554. "https://www.gnu.org/licenses/license-list.html#Unlicense"))
  555. (define w3c
  556. (license "W3C Software Notice and License"
  557. "https://directory.fsf.org/wiki/License:W3C_31Dec2002"
  558. "https://www.gnu.org/licenses/license-list.en.html#W3C"))
  559. (define wtfpl2
  560. (license "WTFPL 2"
  561. "http://www.wtfpl.net"
  562. "http://www.wtfpl.net/about/"))
  563. (define wxwindows3.1+
  564. (license "wxWindows 3.1+"
  565. "https://wxwidgets.org/about/licence"
  566. "https://www.gnu.org/licenses/license-list.html#Wxwind"))
  567. (define x11
  568. (license "X11"
  569. "http://directory.fsf.org/wiki/License:X11"
  570. "https://www.gnu.org/licenses/license-list#X11License"))
  571. (define* (x11-style uri #:optional (comment ""))
  572. "Return an X11-style license, whose full text can be found at URI,
  573. which may be a file:// URI pointing the package's tree."
  574. (license "X11-style"
  575. uri
  576. (string-append
  577. "This is an X11-style, non-copyleft free software license. "
  578. "Check the URI for details. "
  579. comment)))
  580. (define zpl2.1
  581. (license "Zope Public License 2.1"
  582. "http://directory.fsf.org/wiki?title=License:ZopePLv2.1"
  583. "https://www.gnu.org/licenses/license-list.html#Zope2.0"))
  584. (define zlib
  585. (license "Zlib"
  586. "https://zlib.net/zlib_license.html"
  587. "https://www.gnu.org/licenses/license-list#ZLib"))
  588. (define hpnd
  589. (license "HPND"
  590. "https://directory.fsf.org/wiki/License:HPND"
  591. "https://www.gnu.org/licenses/license-list#HPND"))
  592. (define* (fsf-free uri #:optional (comment ""))
  593. "Return a license that does not fit any of the ones above or a collection
  594. of licenses, approved as free by the FSF. More details can be found at URI."
  595. (license "FSF-free"
  596. uri
  597. comment))
  598. (define* (fsdg-compatible uri #:optional (comment ""))
  599. "Return a license that does not fit any of the ones above or a collection
  600. of licenses, not necessarily free, but in accordance with FSDG as Non-functional
  601. Data. More details can be found at URI. See also
  602. https://www.gnu.org/distros/free-system-distribution-guidelines.en.html#non-functional-data."
  603. (license "FSDG-compatible"
  604. uri
  605. comment))
  606. ;;; licenses.scm ends here