gnu: Use license: prefix.

* gnu/packages/markup.scm (hoedown, markdown, discount,
perl-text-markdown-discount, cmark, smu, md4c, python-mistletoe)
[license]: Prefix with license:.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
phodina 2021-11-05 05:49:55 +00:00 committed by Liliana Marie Prikler
parent 90ab3ef812
commit 43cb6aa4a0
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -26,7 +26,6 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages markup) (define-module (gnu packages markup)
#:use-module (guix licenses)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
@ -71,7 +70,7 @@ (define-public hoedown
(description "Hoedown is a standards compliant, fast, secure markdown (description "Hoedown is a standards compliant, fast, secure markdown
processing library written in C.") processing library written in C.")
(home-page "https://github.com/hoedown/hoedown") (home-page "https://github.com/hoedown/hoedown")
(license expat))) (license license:expat)))
(define-public markdown (define-public markdown
(package (package
@ -115,8 +114,8 @@ (define-public markdown
"Markdown is a text-to-HTML conversion tool for web writers. It allows "Markdown is a text-to-HTML conversion tool for web writers. It allows
you to write using an easy-to-read, easy-to-write plain text format, then you to write using an easy-to-read, easy-to-write plain text format, then
convert it to structurally valid XHTML (or HTML).") convert it to structurally valid XHTML (or HTML).")
(license (non-copyleft "file://License.text" (license (license:non-copyleft "file://License.text"
"See License.text in the distribution.")))) "See License.text in the distribution."))))
(define-public lowdown (define-public lowdown
(package (package
@ -192,7 +191,7 @@ (define-public discount
"Discount is a markdown implementation, written in C. It provides a "Discount is a markdown implementation, written in C. It provides a
@command{markdown} command, and a library.") @command{markdown} command, and a library.")
(home-page "https://www.pell.portland.or.us/~orc/Code/discount/") (home-page "https://www.pell.portland.or.us/~orc/Code/discount/")
(license bsd-3))) (license license:bsd-3)))
(define-public perl-text-markdown-discount (define-public perl-text-markdown-discount
(package (package
@ -237,7 +236,7 @@ (define-public perl-text-markdown-discount
use Text::Markdown::Discount; use Text::Markdown::Discount;
my $html = markdown($text) my $html = markdown($text)
@end example") @end example")
(license perl-license))) (license license:perl-license)))
(define-public cmark (define-public cmark
(package (package
@ -277,7 +276,7 @@ (define-public cmark
;; cmark is distributed with a BSD-2 license, but some components are Expat ;; cmark is distributed with a BSD-2 license, but some components are Expat
;; licensed. The CommonMark specification is Creative Commons CC-BY-SA 4.0 ;; licensed. The CommonMark specification is Creative Commons CC-BY-SA 4.0
;; licensed. See 'COPYING' in the source distribution for more information. ;; licensed. See 'COPYING' in the source distribution for more information.
(license (list bsd-2 expat cc-by-sa4.0)))) (license (list license:bsd-2 license:expat license:cc-by-sa4.0))))
(define-public smu (define-public smu
(package (package
@ -313,7 +312,7 @@ (define-public smu
Smu was started as a rewrite of Markdown but became something more Smu was started as a rewrite of Markdown but became something more
lightweight and consistent. The biggest difference between Markdown lightweight and consistent. The biggest difference between Markdown
and smu is that smu doesn't support reference style links.") and smu is that smu doesn't support reference style links.")
(license x11))) (license license:x11)))
(define-public md4c (define-public md4c
(package (package
@ -335,7 +334,7 @@ (define-public md4c
(description "MD4C is a C Markdown parser with a (description "MD4C is a C Markdown parser with a
SAX-like interface. It is compliant to the CommonMark specification, SAX-like interface. It is compliant to the CommonMark specification,
with a few extensions.") with a few extensions.")
(license expat))) (license license:expat)))
(define-public python-mistletoe (define-public python-mistletoe
(package (package
@ -357,4 +356,4 @@ (define-public python-mistletoe
Parsing Markdown into an abstract syntax tree also allows @code{mistletoe} to Parsing Markdown into an abstract syntax tree also allows @code{mistletoe} to
swap out renderers for different output formats, without touching any of the swap out renderers for different output formats, without touching any of the
core components.") core components.")
(license expat))) (license license:expat)))