licenses.scm 21 KB

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