guile-strickenmark/guix.scm

44 lines
1.4 KiB
Scheme
Raw Normal View History

2016-07-25 02:59:10 +02:00
(use-modules (guix packages)
(guix licenses)
(guix build-system gnu)
2016-08-06 05:47:01 +02:00
(guix git-download)
(gnu packages guile)
(gnu packages autotools)
2018-08-28 04:44:55 +02:00
(gnu packages pkg-config)
(gnu packages texinfo))
2016-07-25 02:59:10 +02:00
(package
(name "guile-commonmark")
2016-08-06 05:47:01 +02:00
(version "6a1f15f")
2016-07-25 02:59:10 +02:00
(source
(origin
2016-08-06 05:47:01 +02:00
(method git-fetch)
(uri (git-reference
(url "https://github.com/OrangeShark/guile-commonmark.git")
(commit version)))
2016-07-25 02:59:10 +02:00
(sha256
(base32
2016-08-06 05:47:01 +02:00
"04ms67pphlnk8fm1n5p7nkkz4hcnhyqdkrcg3fb1m6s2ynmca780"))))
2016-07-25 02:59:10 +02:00
(build-system gnu-build-system)
2016-08-06 05:47:01 +02:00
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'bootstrap
(lambda _ (zero? (system* "sh" "bootstrap")))))))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
2018-08-28 04:44:55 +02:00
("texinfo" ,texinfo)
2016-08-06 05:47:01 +02:00
("pkg-config" ,pkg-config)))
2016-07-25 02:59:10 +02:00
(inputs
2020-04-10 13:23:36 +02:00
`(("guile" ,guile-3.0)))
2016-08-06 05:47:01 +02:00
(synopsis "CommonMark parser for Guile")
2016-07-25 02:59:10 +02:00
(description
"guile-commonmark is a library for parsing CommonMark, a fully specified
2016-08-06 05:47:01 +02:00
+variant of Markdown. The library is written in Guile Scheme and is designed
+to transform a CommonMark document to SXML. guile-commonmark tries to closely
+follow the @uref{http://commonmark.org/, CommonMark spec}, the main difference
+is no support for parsing block and inline level HTML.")
2016-07-25 02:59:10 +02:00
(home-page "https://github.com/OrangeShark/guile-commonmark")
(license lgpl3+))