licenses.scm 23 KB

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