licenses.scm 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713
  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. (define expat
  274. (license "Expat"
  275. "http://directory.fsf.org/wiki/License:Expat"
  276. "https://www.gnu.org/licenses/license-list.html#Expat"))
  277. (define freetype
  278. (license "Freetype"
  279. "http://directory.fsf.org/wiki/License:Freetype"
  280. "https://www.gnu.org/licenses/license-list.html#freetype"))
  281. (define giftware
  282. (license "Giftware"
  283. "https://liballeg.org/license.html"
  284. "The Allegro 4 license"))
  285. (define gpl1
  286. (license "GPL 1"
  287. "https://www.gnu.org/licenses/old-licenses/gpl-1.0.html"
  288. #f))
  289. (define gpl1+
  290. (license "GPL 1+"
  291. "https://www.gnu.org/licenses/old-licenses/gpl-1.0.html"
  292. #f))
  293. (define gpl2
  294. (license "GPL 2"
  295. "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
  296. "https://www.gnu.org/licenses/license-list#GPLv2"))
  297. (define gpl2+
  298. (license "GPL 2+"
  299. "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
  300. "https://www.gnu.org/licenses/license-list#GPLv2"))
  301. (define gpl3
  302. (license "GPL 3"
  303. "https://www.gnu.org/licenses/gpl.html"
  304. "https://www.gnu.org/licenses/license-list#GNUGPLv3"))
  305. (define gpl3+
  306. (license "GPL 3+"
  307. "https://www.gnu.org/licenses/gpl.html"
  308. "https://www.gnu.org/licenses/license-list#GNUGPLv3"))
  309. ;; The “GUST font license” is legally equivalent to LPPL v1.3c as it only
  310. ;; extends the LPPL with an optional request.
  311. (define gfl1.0
  312. (license "GUST font license 1.0"
  313. "http://www.gust.org.pl/projects/e-foundry/licenses/GUST-FONT-LICENSE.txt"
  314. "https://www.gnu.org/licenses/license-list#LPPL-1.3a"))
  315. (define fdl1.1+
  316. (license "FDL 1.1+"
  317. "https://www.gnu.org/licenses/fdl-1.1"
  318. "https://www.gnu.org/licenses/license-list#FDL"))
  319. (define fdl1.2+
  320. (license "FDL 1.2+"
  321. "https://www.gnu.org/licenses/fdl-1.2"
  322. "https://www.gnu.org/licenses/license-list#FDL"))
  323. (define fdl1.3+
  324. (license "FDL 1.3+"
  325. "https://www.gnu.org/licenses/fdl.html"
  326. "https://www.gnu.org/licenses/license-list#FDL"))
  327. (define freebsd-doc
  328. (license "FreeBSD Documentation License"
  329. "https://www.freebsd.org/copyright/freebsd-doc-license.html"
  330. "https://www.gnu.org/licenses/license-list.html#FreeBSDDL"))
  331. (define opl1.0+
  332. (license "Open Publication License 1.0 or later"
  333. "http://opencontent.org/openpub/"
  334. "https://www.gnu.org/licenses/license-list#OpenPublicationL"))
  335. (define osl2.1
  336. (license "The Open Software License 2.1"
  337. "https://opensource.org/licenses/osl-2.1.php"
  338. "https://www.gnu.org/licenses/license-list#OSL"))
  339. (define isc
  340. (license "ISC"
  341. "http://directory.fsf.org/wiki/License:ISC"
  342. "https://www.gnu.org/licenses/license-list.html#ISC"))
  343. (define ijg
  344. (license "IJG"
  345. "http://directory.fsf.org/wiki/License:JPEG"
  346. "https://www.gnu.org/licenses/license-list#ijg"))
  347. (define ibmpl1.0
  348. (license "IBMPL 1.0"
  349. "http://directory.fsf.org/wiki/License:IBMPLv1.0"
  350. "https://www.gnu.org/licenses/license-list#IBMPL"))
  351. (define imlib2
  352. (license "Imlib2"
  353. "http://directory.fsf.org/wiki/License:Imlib2"
  354. "https://www.gnu.org/licenses/license-list#imlib"))
  355. (define ipa
  356. (license "IPA Font License"
  357. "http://directory.fsf.org/wiki/License:IPA_Font_License"
  358. "https://www.gnu.org/licenses/license-list#IPAFONT"))
  359. (define knuth
  360. (license "Donald Knuth's license for TeX"
  361. "http://www.ctan.org/license/knuth"
  362. "Modification are only permitted under a different name."))
  363. (define lal1.3
  364. (license "Free Art License 1.3"
  365. "http://artlibre.org/licence/lal/en/"
  366. "https://www.gnu.org/licenses/license-list#FreeArt"))
  367. (define lgpl2.0
  368. (license "LGPL 2.0"
  369. "https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html"
  370. "https://www.gnu.org/licenses/why-not-lgpl.html"))
  371. (define lgpl2.0+
  372. (license "LGPL 2.0+"
  373. "https://www.gnu.org/licenses/old-licenses/lgpl-2.0.html"
  374. "https://www.gnu.org/licenses/why-not-lgpl.html"))
  375. (define lgpl2.1
  376. (license "LGPL 2.1"
  377. "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"
  378. "https://www.gnu.org/licenses/license-list#LGPLv2.1"))
  379. (define lgpl2.1+
  380. (license "LGPL 2.1+"
  381. "https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"
  382. "https://www.gnu.org/licenses/license-list#LGPLv2.1"))
  383. (define lgpl3
  384. (license "LGPL 3"
  385. "https://www.gnu.org/licenses/lgpl.html"
  386. "https://www.gnu.org/licenses/license-list#LGPLv3"))
  387. (define lgpl3+
  388. (license "LGPL 3+"
  389. "https://www.gnu.org/licenses/lgpl.html"
  390. "https://www.gnu.org/licenses/license-list#LGPLv3"))
  391. (define llgpl
  392. (license "LLGPL"
  393. "https://opensource.franz.com/preamble.html"
  394. "Lisp Lesser General Public License"))
  395. (define lppl
  396. (license "LPPL (any version)"
  397. "https://www.latex-project.org/lppl/lppl-1-0/"
  398. "LaTeX Project Public License 1.0"))
  399. (define lppl1.0+
  400. (license "LPPL 1.0+"
  401. "https://www.latex-project.org/lppl/lppl-1-0/"
  402. "LaTeX Project Public License 1.0"))
  403. (define lppl1.1+
  404. (license "LPPL 1.1+"
  405. "https://www.latex-project.org/lppl/lppl-1-1/"
  406. "LaTeX Project Public License 1.1"))
  407. (define lppl1.2
  408. (license "LPPL 1.2"
  409. "http://directory.fsf.org/wiki/License:LPPLv1.2"
  410. "https://www.gnu.org/licenses/license-list#LPPL-1.2"))
  411. (define lppl1.2+
  412. (license "LPPL 1.2+"
  413. "http://directory.fsf.org/wiki/License:LPPLv1.2"
  414. "https://www.gnu.org/licenses/license-list#LPPL-1.2"))
  415. (define lppl1.3
  416. (license "LPPL 1.3"
  417. "https://www.latex-project.org/lppl/lppl-1-3/"
  418. "LaTeX Project Public License 1.3"))
  419. (define lppl1.3+
  420. (license "LPPL 1.3+"
  421. "https://www.latex-project.org/lppl/lppl-1-3/"
  422. "LaTeX Project Public License 1.3+"))
  423. (define lppl1.3a
  424. (license "LPPL 1.3a"
  425. "http://directory.fsf.org/wiki/License:LPPLv1.3a"
  426. "https://www.gnu.org/licenses/license-list#LPPL-1.3a"))
  427. (define lppl1.3a+
  428. (license "LPPL 1.3a+"
  429. "http://directory.fsf.org/wiki/License:LPPLv1.3a"
  430. "https://www.gnu.org/licenses/license-list#LPPL-1.3a"))
  431. (define lppl1.3b
  432. (license "LPPL 1.3b"
  433. "https://www.latex-project.org/lppl/lppl-1-3b/"
  434. "LaTeX Project Public License 1.3b"))
  435. (define lppl1.3b+
  436. (license "LPPL 1.3b+"
  437. "https://www.latex-project.org/lppl/lppl-1-3b/"
  438. "LaTeX Project Public License 1.3b or later"))
  439. (define lppl1.3c
  440. (license "LPPL 1.3c"
  441. "https://www.latex-project.org/lppl/lppl-1-3c/"
  442. "LaTeX Project Public License 1.3c"))
  443. (define lppl1.3c+
  444. (license "LPPL 1.3c+"
  445. "https://www.latex-project.org/lppl/lppl-1-3c/"
  446. "LaTeX Project Public License 1.3c or later"))
  447. (define miros
  448. (license "MirOS"
  449. "https://www.mirbsd.org/MirOS-Licence.htm"
  450. "MirOS License"))
  451. (define mpl1.0
  452. (license "MPL 1.0"
  453. "http://www.mozilla.org/MPL/1.0/"
  454. "https://www.gnu.org/licenses/license-list.html#MPL"))
  455. (define mpl1.1
  456. (license "MPL 1.1"
  457. "http://directory.fsf.org/wiki/License:MPLv1.1"
  458. "https://www.gnu.org/licenses/license-list#MPL"))
  459. (define mpl2.0
  460. (license "MPL 2.0"
  461. "http://directory.fsf.org/wiki/License:MPLv2.0"
  462. "https://www.gnu.org/licenses/license-list#MPL-2.0"))
  463. (define ms-pl
  464. (license "Ms-PL" ;Microsoft Public License
  465. "http://directory.fsf.org/wiki/License:MsPL"
  466. "http://www.gnu.org/licenses/license-list.html#ms-pl"))
  467. (define ncsa
  468. (license "NCSA/University of Illinois Open Source License"
  469. "http://directory.fsf.org/wiki/License:IllinoisNCSA"
  470. "https://www.gnu.org/licenses/license-list#NCSA"))
  471. (define nmap
  472. (license "Nmap license"
  473. "https://svn.nmap.org/nmap/COPYING"
  474. "https://fedoraproject.org/wiki/Licensing/Nmap"))
  475. (define ogl-psi1.0
  476. (license "Open Government Licence for Public Sector Information"
  477. "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/1/"
  478. #f))
  479. (define openssl
  480. (license "OpenSSL"
  481. "http://directory.fsf.org/wiki/License:OpenSSL"
  482. "https://www.gnu.org/licenses/license-list#OpenSSL"))
  483. (define openldap2.8
  484. (license "OpenLDAPv2.8"
  485. "http://directory.fsf.org/wiki/License:OpenLDAPv2.8"
  486. "https://www.gnu.org/licenses/license-list#newOpenLDAP"))
  487. ;; lists OpenLDAPv2.7, which is virtually identical
  488. (define perl-license
  489. ;; The license of Perl, GPLv1+ or Artistic (we ignore the latter here).
  490. ;; We define this alias to avoid circular dependencies introduced by the use
  491. ;; of the '(package-license perl)' idiom.
  492. gpl1+)
  493. (define psfl
  494. (license "Python Software Foundation License"
  495. "http://docs.python.org/license.html"
  496. #f))
  497. (define public-domain
  498. (license "Public Domain"
  499. "http://directory.fsf.org/wiki/License:PublicDomain"
  500. "https://www.gnu.org/licenses/license-list#PublicDomain"))
  501. (define qpl
  502. (license "QPL"
  503. "http://directory.fsf.org/wiki/License:QPLv1.0"
  504. "http://www.gnu.org/licenses/license-list.html#QPL"))
  505. (define qwt1.0
  506. (license "QWT 1.0"
  507. "http://qwt.sourceforge.net/qwtlicense.html"
  508. "GNU Lesser General Public License with exceptions"))
  509. (define repoze
  510. (license "Repoze"
  511. "http://repoze.org/LICENSE.txt"
  512. "A BSD-like license with a clause requiring all changes to be
  513. attributed by author and date."))
  514. (define ruby
  515. (license "Ruby License"
  516. "http://directory.fsf.org/wiki/License:Ruby"
  517. "https://www.ruby-lang.org/en/about/license.txt"))
  518. (define sgifreeb2.0
  519. (license "SGI Free Software License B, version 2.0"
  520. "http://directory.fsf.org/wiki/License:SGIFreeBv2"
  521. "https://www.gnu.org/licenses/license-list.html#SGIFreeB"))
  522. (define silofl1.1
  523. (license "SIL OFL 1.1"
  524. "http://scripts.sil.org/OFL_web"
  525. "https://www.gnu.org/licenses/license-list#SILOFL"))
  526. (define sleepycat
  527. (license "Sleepycat"
  528. "http://directory.fsf.org/wiki/License:Sleepycat"
  529. "https://www.gnu.org/licenses/license-list#BerkeleyDB"))
  530. (define tcl/tk
  531. (license "Tcl/Tk"
  532. "http://www.tcl.tk/software/tcltk/license.html"
  533. "A non-copyleft free software license from the Tcl/Tk project"))
  534. (define vim
  535. (license "Vim"
  536. "http://directory.fsf.org/wiki/License:Vim7.2"
  537. "http://www.gnu.org/licenses/license-list.html#Vim"))
  538. (define unicode
  539. (license "Unicode"
  540. "https://directory.fsf.org/wiki/License:Unicode"
  541. "http://www.gnu.org/licenses/license-list.html#Unicode"))
  542. (define unlicense
  543. (license "Unlicense"
  544. "https://unlicense.org/"
  545. "https://www.gnu.org/licenses/license-list.html#Unlicense"))
  546. (define w3c
  547. (license "W3C Software Notice and License"
  548. "https://directory.fsf.org/wiki/License:W3C_31Dec2002"
  549. "https://www.gnu.org/licenses/license-list.en.html#W3C"))
  550. (define wtfpl2
  551. (license "WTFPL 2"
  552. "http://www.wtfpl.net"
  553. "http://www.wtfpl.net/about/"))
  554. (define wxwindows3.1+
  555. (license "wxWindows 3.1+"
  556. "https://wxwidgets.org/about/licence"
  557. "https://www.gnu.org/licenses/license-list.html#Wxwind"))
  558. (define x11
  559. (license "X11"
  560. "http://directory.fsf.org/wiki/License:X11"
  561. "https://www.gnu.org/licenses/license-list#X11License"))
  562. (define* (x11-style uri #:optional (comment ""))
  563. "Return an X11-style license, whose full text can be found at URI,
  564. which may be a file:// URI pointing the package's tree."
  565. (license "X11-style"
  566. uri
  567. (string-append
  568. "This is an X11-style, non-copyleft free software license. "
  569. "Check the URI for details. "
  570. comment)))
  571. (define zpl2.1
  572. (license "Zope Public License 2.1"
  573. "http://directory.fsf.org/wiki?title=License:ZopePLv2.1"
  574. "https://www.gnu.org/licenses/license-list.html#Zope2.0"))
  575. (define zlib
  576. (license "Zlib"
  577. "https://zlib.net/zlib_license.html"
  578. "https://www.gnu.org/licenses/license-list#ZLib"))
  579. (define hpnd
  580. (license "HPND"
  581. "https://directory.fsf.org/wiki/License:HPND"
  582. "https://www.gnu.org/licenses/license-list#HPND"))
  583. (define* (fsf-free uri #:optional (comment ""))
  584. "Return a license that does not fit any of the ones above or a collection
  585. of licenses, approved as free by the FSF. More details can be found at URI."
  586. (license "FSF-free"
  587. uri
  588. comment))
  589. (define* (fsdg-compatible uri #:optional (comment ""))
  590. "Return a license that does not fit any of the ones above or a collection
  591. of licenses, not necessarily free, but in accordance with FSDG as Non-functional
  592. Data. More details can be found at URI. See also
  593. https://www.gnu.org/distros/free-system-distribution-guidelines.en.html#non-functional-data."
  594. (license "FSDG-compatible"
  595. uri
  596. comment))
  597. ;;; licenses.scm ends here