3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: guile-commonmark: Update to 0.1.1.

* gnu/packages/guile.scm (guile-commonmark): Update to 0.1.1.
[source](modules, snippet): Remove.
[native-inputs]: New field.
This commit is contained in:
Ludovic Courtès 2018-10-19 10:25:04 +02:00
parent b50d58b344
commit 1d7fb035fc
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1618,7 +1618,7 @@ you send to a FIFO file.")
(define-public guile-commonmark
(package
(name "guile-commonmark")
(version "0.1")
(version "0.1.1")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/OrangeShark/" name
@ -1626,24 +1626,12 @@ you send to a FIFO file.")
"/" name "-" version ".tar.gz"))
(sha256
(base32
"12cb5fqvvgc87f5xp0ih5az305wnjia89l5jba83d0r2p8bfy0b0"))
(modules '((guix build utils)))
(snippet
;; Use the real effective version of Guile in directory names
;; instead of a hard-coded "/2.0".
'(begin
(substitute* "configure"
(("ac_subst_vars='")
"ac_subst_vars='GUILE_EFFECTIVE_VERSION\n"))
(substitute* "Makefile.in"
(("moddir =.*")
"moddir = $(datadir)/guile/site/@GUILE_EFFECTIVE_VERSION@\n")
(("godir =.*")
"godir = $(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n"))
#t))))
"0kzclwkfijj8xka3g9kfj53y67c34ndfy84swdbw3j7y962ndxq6"))))
(build-system gnu-build-system)
(inputs
`(("guile" ,guile-2.2)))
(native-inputs
`(("pkg-config" ,pkg-config)))
(synopsis "CommonMark parser for Guile")
(description
"guile-commonmark is a library for parsing CommonMark, a fully specified