licenses.scm 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  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. ;;;
  23. ;;; This file is part of GNU Guix.
  24. ;;;
  25. ;;; GNU Guix is free software; you can redistribute it and/or modify it
  26. ;;; under the terms of the GNU General Public License as published by
  27. ;;; the Free Software Foundation; either version 3 of the License, or (at
  28. ;;; your option) any later version.
  29. ;;;
  30. ;;; GNU Guix is distributed in the hope that it will be useful, but
  31. ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
  32. ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  33. ;;; GNU General Public License for more details.
  34. ;;;
  35. ;;; You should have received a copy of the GNU General Public License
  36. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
  37. (define-module (guix licenses)
  38. #:use-module (srfi srfi-9)
  39. #:export (license? license-name license-uri license-comment
  40. agpl1 agpl3 agpl3+
  41. apsl2
  42. asl1.1 asl2.0
  43. boost1.0
  44. bsd-0 bsd-1 bsd-2 bsd-3 bsd-4
  45. non-copyleft
  46. cc0
  47. cc-by2.0 cc-by3.0 cc-by4.0
  48. cc-by-sa2.0 cc-by-sa3.0 cc-by-sa4.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 cddl1.0
  214. (license "CDDL 1.0"
  215. "http://directory.fsf.org/wiki/License:CDDLv1.0"
  216. "https://www.gnu.org/licenses/license-list#CDDL"))
  217. ;; CDDL1.1 is the same as 1.0, except that "Sun Microsystems, Inc" becomes "Oracle",
  218. ;; "LOST PROFITS" becoms "LOSS OF GOODWILL" and a section is added between 6.2
  219. ;; and 6.3.
  220. (define cddl1.1
  221. (license "CDDL 1.1"
  222. "https://oss.oracle.com/licenses/CDDL+GPL-1.1"
  223. "https://www.gnu.org/licenses/license-list#CDDL"))
  224. (define cecill ;copyleft
  225. (license "CeCILL"
  226. "http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.html"
  227. "https://www.gnu.org/licenses/license-list.html#CeCILL"))
  228. (define cecill-b ;non-copyleft
  229. (license "CeCILL-B"
  230. "http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html"
  231. "https://www.gnu.org/licenses/license-list.html#CeCILL"))
  232. (define cecill-c ;weak copyleft
  233. (license "CeCILL-C"
  234. "http://www.cecill.info/licences/Licence_CeCILL-C_V1-en.html"
  235. "https://www.gnu.org/licenses/license-list.html#CeCILL"))
  236. (define artistic2.0
  237. (license "Artistic License 2.0"
  238. "http://www.perlfoundation.org/artistic_license_2_0"
  239. "http://www.gnu.org/licenses/license-list.html#ArtisticLicense2"))
  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. (define copyleft-next
  246. (license "copyleft-next"
  247. "https://raw.github.com/richardfontana/copyleft-next/master/Releases/copyleft-next-0.3.0"
  248. "GPL-compatible copyleft license"))
  249. (define cpl1.0
  250. (license "CPL 1.0"
  251. "http://directory.fsf.org/wiki/License:CPLv1.0"
  252. "https://www.gnu.org/licenses/license-list#CommonPublicLicense10"))
  253. (define cua-opl1.0
  254. (license "CUA Office Public License v1.0"
  255. "https://spdx.org/licenses/CUA-OPL-1.0.html"
  256. "https://opensource.org/licenses/CUA-OPL-1.0"))
  257. (define edl1.0
  258. (license "EDL 1.0"
  259. "http://directory.fsf.org/wiki/License:EDLv1.0"
  260. "https://eclipse.org/org/documents/edl-v10.php"))
  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. (define epl2.0
  266. (license "EPL 2.0"
  267. "https://www.eclipse.org/legal/epl-2.0/"
  268. "https://www.gnu.org/licenses/license-list#EPL2"))
  269. (define eupl1.2
  270. (license "EUPL 1.2"
  271. "https://directory.fsf.org/wiki/License:EUPL-1.2"
  272. "https://www.gnu.org/licenses/license-list#EUPL-1.2"))
  273. ;; Some people call it the MIT license. For clarification see:
  274. ;; https://www.gnu.org/licenses/license-list.html#Expat
  275. (define expat
  276. (license "Expat"
  277. "http://directory.fsf.org/wiki/License:Expat"
  278. "https://www.gnu.org/licenses/license-list.html#Expat"))
  279. (define freetype
  280. (license "Freetype"
  281. "http://directory.fsf.org/wiki/License:Freetype"
  282. "https://www.gnu.org/licenses/license-list.html#freetype"))
  283. (define giftware
  284. (license "Giftware"
  285. "https://liballeg.org/license.html"
  286. "The Allegro 4 license"))
  287. (define gpl1
  288. (license "GPL 1"
  289. "https://www.gnu.org/licenses/old-licenses/gpl-1.0.html"
  290. #f))
  291. (define gpl1+
  292. (license "GPL 1+"
  293. "https://www.gnu.org/licenses/old-licenses/gpl-1.0.html"
  294. #f))
  295. (define gpl2
  296. (license "GPL 2"
  297. "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
  298. "https://www.gnu.org/licenses/license-list#GPLv2"))
  299. (define gpl2+
  300. (license "GPL 2+"
  301. "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
  302. "https://www.gnu.org/licenses/license-list#GPLv2"))
  303. (define gpl3
  304. (license "GPL 3"
  305. "https://www.gnu.org/licenses/gpl.html"
  306. "https://www.gnu.org/licenses/license-list#GNUGPLv3"))
  307. (define gpl3+
  308. (license "GPL 3+"
  309. "https://www.gnu.org/licenses/gpl.html"
  310. "https://www.gnu.org/licenses/license-list#GNUGPLv3"))
  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. (define fdl1.1+
  318. (license "FDL 1.1+"
  319. "https://www.gnu.org/licenses/fdl-1.1"
  320. "https://www.gnu.org/licenses/license-list#FDL"))
  321. (define fdl1.2+
  322. (license "FDL 1.2+"
  323. "https://www.gnu.org/licenses/fdl-1.2"
  324. "https://www.gnu.org/licenses/license-list#FDL"))
  325. (define fdl1.3+
  326. (license "FDL 1.3+"
  327. "https://www.gnu.org/licenses/fdl.html"
  328. "https://www.gnu.org/licenses/license-list#FDL"))
  329. (define freebsd-doc
  330. (license "FreeBSD Documentation License"
  331. "https://www.freebsd.org/copyright/freebsd-doc-license.html"
  332. "https://www.gnu.org/licenses/license-list.html#FreeBSDDL"))
  333. (define opl1.0+
  334. (license "Open Publication License 1.0 or later"
  335. "http://opencontent.org/openpub/"
  336. "https://www.gnu.org/licenses/license-list#OpenPublicationL"))
  337. (define osl2.1
  338. (license "The Open Software License 2.1"
  339. "https://opensource.org/licenses/osl-2.1.php"
  340. "https://www.gnu.org/licenses/license-list#OSL"))
  341. (define isc
  342. (license "ISC"
  343. "http://directory.fsf.org/wiki/License:ISC"
  344. "https://www.gnu.org/licenses/license-list.html#ISC"))
  345. (define ijg
  346. (license "IJG"
  347. "http://directory.fsf.org/wiki/License:JPEG"
  348. "https://www.gnu.org/licenses/license-list#ijg"))
  349. (define ibmpl1.0
  350. (license "IBMPL 1.0"
  351. "http://directory.fsf.org/wiki/License:IBMPLv1.0"
  352. "https://www.gnu.org/licenses/license-list#IBMPL"))
  353. (define imlib2
  354. (license "Imlib2"
  355. "http://directory.fsf.org/wiki/License:Imlib2"
  356. "https://www.gnu.org/licenses/license-list#imlib"))
  357. (define ipa
  358. (license "IPA Font License"
  359. "http://directory.fsf.org/wiki/License:IPA_Font_License"
  360. "https://www.gnu.org/licenses/license-list#IPAFONT"))
  361. (define knuth
  362. (license "Donald Knuth's license for TeX"
  363. "http://www.ctan.org/license/knuth"
  364. "Modification are only permitted under a different name."))
  365. (define lal1.3
  366. (license "Free Art License 1.3"
  367. "http://artlibre.org/licence/lal/en/"
  368. "https://www.gnu.org/licenses/license-list#FreeArt"))
  369. (define lgpl2.0
  370. (license "LGPL 2.0"
  371. "https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html"
  372. "https://www.gnu.org/licenses/why-not-lgpl.html"))
  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. (define lgpl2.1
  378. (license "LGPL 2.1"
  379. "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"
  380. "https://www.gnu.org/licenses/license-list#LGPLv2.1"))
  381. (define lgpl2.1+
  382. (license "LGPL 2.1+"
  383. "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"
  384. "https://www.gnu.org/licenses/license-list#LGPLv2.1"))
  385. (define lgpl3
  386. (license "LGPL 3"
  387. "https://www.gnu.org/licenses/lgpl.html"
  388. "https://www.gnu.org/licenses/license-list#LGPLv3"))
  389. (define lgpl3+
  390. (license "LGPL 3+"
  391. "https://www.gnu.org/licenses/lgpl.html"
  392. "https://www.gnu.org/licenses/license-list#LGPLv3"))
  393. (define llgpl
  394. (license "LLGPL"
  395. "https://opensource.franz.com/preamble.html"
  396. "Lisp Lesser General Public License"))
  397. (define lppl
  398. (license "LPPL (any version)"
  399. "https://www.latex-project.org/lppl/lppl-1-0/"
  400. "LaTeX Project Public License 1.0"))
  401. (define lppl1.0+
  402. (license "LPPL 1.0+"
  403. "https://www.latex-project.org/lppl/lppl-1-0/"
  404. "LaTeX Project Public License 1.0"))
  405. (define lppl1.1+
  406. (license "LPPL 1.1+"
  407. "https://www.latex-project.org/lppl/lppl-1-1/"
  408. "LaTeX Project Public License 1.1"))
  409. (define lppl1.2
  410. (license "LPPL 1.2"
  411. "http://directory.fsf.org/wiki/License:LPPLv1.2"
  412. "https://www.gnu.org/licenses/license-list#LPPL-1.2"))
  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. (define lppl1.3
  418. (license "LPPL 1.3"
  419. "https://www.latex-project.org/lppl/lppl-1-3/"
  420. "LaTeX Project Public License 1.3"))
  421. (define lppl1.3+
  422. (license "LPPL 1.3+"
  423. "https://www.latex-project.org/lppl/lppl-1-3/"
  424. "LaTeX Project Public License 1.3+"))
  425. (define lppl1.3a
  426. (license "LPPL 1.3a"
  427. "http://directory.fsf.org/wiki/License:LPPLv1.3a"
  428. "https://www.gnu.org/licenses/license-list#LPPL-1.3a"))
  429. (define lppl1.3a+
  430. (license "LPPL 1.3a+"
  431. "http://directory.fsf.org/wiki/License:LPPLv1.3a"
  432. "https://www.gnu.org/licenses/license-list#LPPL-1.3a"))
  433. (define lppl1.3b
  434. (license "LPPL 1.3b"
  435. "https://www.latex-project.org/lppl/lppl-1-3b/"
  436. "LaTeX Project Public License 1.3b"))
  437. (define lppl1.3b+
  438. (license "LPPL 1.3b+"
  439. "https://www.latex-project.org/lppl/lppl-1-3b/"
  440. "LaTeX Project Public License 1.3b or later"))
  441. (define lppl1.3c
  442. (license "LPPL 1.3c"
  443. "https://www.latex-project.org/lppl/lppl-1-3c/"
  444. "LaTeX Project Public License 1.3c"))
  445. (define lppl1.3c+
  446. (license "LPPL 1.3c+"
  447. "https://www.latex-project.org/lppl/lppl-1-3c/"
  448. "LaTeX Project Public License 1.3c or later"))
  449. (define miros
  450. (license "MirOS"
  451. "https://www.mirbsd.org/MirOS-Licence.htm"
  452. "MirOS License"))
  453. (define mpl1.0
  454. (license "MPL 1.0"
  455. "http://www.mozilla.org/MPL/1.0/"
  456. "https://www.gnu.org/licenses/license-list.html#MPL"))
  457. (define mpl1.1
  458. (license "MPL 1.1"
  459. "http://directory.fsf.org/wiki/License:MPLv1.1"
  460. "https://www.gnu.org/licenses/license-list#MPL"))
  461. (define mpl2.0
  462. (license "MPL 2.0"
  463. "http://directory.fsf.org/wiki/License:MPLv2.0"
  464. "https://www.gnu.org/licenses/license-list#MPL-2.0"))
  465. (define ms-pl
  466. (license "Ms-PL" ;Microsoft Public License
  467. "http://directory.fsf.org/wiki/License:MsPL"
  468. "http://www.gnu.org/licenses/license-list.html#ms-pl"))
  469. (define ncsa
  470. (license "NCSA/University of Illinois Open Source License"
  471. "http://directory.fsf.org/wiki/License:IllinoisNCSA"
  472. "https://www.gnu.org/licenses/license-list#NCSA"))
  473. (define nmap
  474. (license "Nmap license"
  475. "https://svn.nmap.org/nmap/COPYING"
  476. "https://fedoraproject.org/wiki/Licensing/Nmap"))
  477. (define ogl-psi1.0
  478. (license "Open Government Licence for Public Sector Information"
  479. "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/1/"
  480. #f))
  481. (define openssl
  482. (license "OpenSSL"
  483. "http://directory.fsf.org/wiki/License:OpenSSL"
  484. "https://www.gnu.org/licenses/license-list#OpenSSL"))
  485. (define openldap2.8
  486. (license "OpenLDAPv2.8"
  487. "http://directory.fsf.org/wiki/License:OpenLDAPv2.8"
  488. "https://www.gnu.org/licenses/license-list#newOpenLDAP"))
  489. ;; lists OpenLDAPv2.7, which is virtually identical
  490. (define perl-license
  491. ;; The license of Perl, GPLv1+ or Artistic (we ignore the latter here).
  492. ;; We define this alias to avoid circular dependencies introduced by the use
  493. ;; of the '(package-license perl)' idiom.
  494. gpl1+)
  495. (define psfl
  496. (license "Python Software Foundation License"
  497. "http://docs.python.org/license.html"
  498. #f))
  499. (define public-domain
  500. (license "Public Domain"
  501. "http://directory.fsf.org/wiki/License:PublicDomain"
  502. "https://www.gnu.org/licenses/license-list#PublicDomain"))
  503. (define qpl
  504. (license "QPL"
  505. "http://directory.fsf.org/wiki/License:QPLv1.0"
  506. "http://www.gnu.org/licenses/license-list.html#QPL"))
  507. (define qwt1.0
  508. (license "QWT 1.0"
  509. "http://qwt.sourceforge.net/qwtlicense.html"
  510. "GNU Lesser General Public License with exceptions"))
  511. (define repoze
  512. (license "Repoze"
  513. "http://repoze.org/LICENSE.txt"
  514. "A BSD-like license with a clause requiring all changes to be
  515. attributed by author and date."))
  516. (define ruby
  517. (license "Ruby License"
  518. "http://directory.fsf.org/wiki/License:Ruby"
  519. "https://www.ruby-lang.org/en/about/license.txt"))
  520. (define sgifreeb2.0
  521. (license "SGI Free Software License B, version 2.0"
  522. "http://directory.fsf.org/wiki/License:SGIFreeBv2"
  523. "https://www.gnu.org/licenses/license-list.html#SGIFreeB"))
  524. (define silofl1.1
  525. (license "SIL OFL 1.1"
  526. "http://scripts.sil.org/OFL_web"
  527. "https://www.gnu.org/licenses/license-list#SILOFL"))
  528. (define sleepycat
  529. (license "Sleepycat"
  530. "http://directory.fsf.org/wiki/License:Sleepycat"
  531. "https://www.gnu.org/licenses/license-list#BerkeleyDB"))
  532. (define tcl/tk
  533. (license "Tcl/Tk"
  534. "http://www.tcl.tk/software/tcltk/license.html"
  535. "A non-copyleft free software license from the Tcl/Tk project"))
  536. (define vim
  537. (license "Vim"
  538. "http://directory.fsf.org/wiki/License:Vim7.2"
  539. "http://www.gnu.org/licenses/license-list.html#Vim"))
  540. (define unicode
  541. (license "Unicode"
  542. "https://directory.fsf.org/wiki/License:Unicode"
  543. "http://www.gnu.org/licenses/license-list.html#Unicode"))
  544. (define unlicense
  545. (license "Unlicense"
  546. "https://unlicense.org/"
  547. "https://www.gnu.org/licenses/license-list.html#Unlicense"))
  548. (define w3c
  549. (license "W3C Software Notice and License"
  550. "https://directory.fsf.org/wiki/License:W3C_31Dec2002"
  551. "https://www.gnu.org/licenses/license-list.en.html#W3C"))
  552. (define wtfpl2
  553. (license "WTFPL 2"
  554. "http://www.wtfpl.net"
  555. "http://www.wtfpl.net/about/"))
  556. (define wxwindows3.1+
  557. (license "wxWindows 3.1+"
  558. "https://wxwidgets.org/about/licence"
  559. "https://www.gnu.org/licenses/license-list.html#Wxwind"))
  560. (define x11
  561. (license "X11"
  562. "http://directory.fsf.org/wiki/License:X11"
  563. "https://www.gnu.org/licenses/license-list#X11License"))
  564. (define* (x11-style uri #:optional (comment ""))
  565. "Return an X11-style license, whose full text can be found at URI,
  566. which may be a file:// URI pointing the package's tree."
  567. (license "X11-style"
  568. uri
  569. (string-append
  570. "This is an X11-style, non-copyleft free software license. "
  571. "Check the URI for details. "
  572. comment)))
  573. (define zpl2.1
  574. (license "Zope Public License 2.1"
  575. "http://directory.fsf.org/wiki?title=License:ZopePLv2.1"
  576. "https://www.gnu.org/licenses/license-list.html#Zope2.0"))
  577. (define zlib
  578. (license "Zlib"
  579. "https://zlib.net/zlib_license.html"
  580. "https://www.gnu.org/licenses/license-list#ZLib"))
  581. (define hpnd
  582. (license "HPND"
  583. "https://directory.fsf.org/wiki/License:HPND"
  584. "https://www.gnu.org/licenses/license-list#HPND"))
  585. (define* (fsf-free uri #:optional (comment ""))
  586. "Return a license that does not fit any of the ones above or a collection
  587. of licenses, approved as free by the FSF. More details can be found at URI."
  588. (license "FSF-free"
  589. uri
  590. comment))
  591. (define* (fsdg-compatible uri #:optional (comment ""))
  592. "Return a license that does not fit any of the ones above or a collection
  593. of licenses, not necessarily free, but in accordance with FSDG as Non-functional
  594. Data. More details can be found at URI. See also
  595. https://www.gnu.org/distros/free-system-distribution-guidelines.en.html#non-functional-data."
  596. (license "FSDG-compatible"
  597. uri
  598. comment))
  599. ;;; licenses.scm ends here