licenses.scm 23 KB

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