licenses: Add 'x11-style'.
* guix/licenses.scm (x11-style): New variable.
This commit is contained in:
parent
6a917ef7e6
commit
bbd60260dd
|
@ -39,7 +39,7 @@
|
||||||
psfl public-domain
|
psfl public-domain
|
||||||
qpl
|
qpl
|
||||||
vim
|
vim
|
||||||
x11
|
x11 x11-style
|
||||||
zlib
|
zlib
|
||||||
fsf-free))
|
fsf-free))
|
||||||
|
|
||||||
|
@ -236,6 +236,16 @@ which may be a file:// URI pointing the package's tree."
|
||||||
"http://directory.fsf.org/wiki/License:X11"
|
"http://directory.fsf.org/wiki/License:X11"
|
||||||
"https://www.gnu.org/licenses/license-list#X11License"))
|
"https://www.gnu.org/licenses/license-list#X11License"))
|
||||||
|
|
||||||
|
(define* (x11-style uri #:optional (comment ""))
|
||||||
|
"Return an X11-style license, whose full text can be found at URI,
|
||||||
|
which may be a file:// URI pointing the package's tree."
|
||||||
|
(license "X11-style"
|
||||||
|
uri
|
||||||
|
(string-append
|
||||||
|
"This is an X11-style, non-copyleft free software license. "
|
||||||
|
"Check the URI for details. "
|
||||||
|
comment)))
|
||||||
|
|
||||||
(define zlib
|
(define zlib
|
||||||
(license "Zlib"
|
(license "Zlib"
|
||||||
"http://www.gzip.org/zlib/zlib_license.html"
|
"http://www.gzip.org/zlib/zlib_license.html"
|
||||||
|
|
Loading…
Reference in New Issue