licenses.scm 22 KB

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