licenses.scm 23 KB

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