mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05: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:
parent
b50d58b344
commit
1d7fb035fc
1 changed files with 4 additions and 16 deletions
|
@ -1618,7 +1618,7 @@ (define-public guile-daemon
|
|||
(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 @@ (define-public guile-commonmark
|
|||
"/" 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
|
||||
|
|
Loading…
Reference in a new issue