licenses.scm 24 KB

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