me
/
guix
Archived
1
0
Fork 0

gnu: guile-commonmark: Add "guile3.0-commonmark" variant.

* gnu/packages/guile-xyz.scm (guile-commonmark)[source]: Add 'modules'
and 'snippet'.
(guile3.0-commonmark): New variable.
master
Ludovic Courtès 2020-01-18 18:41:03 +01:00
parent bed24ecfcd
commit 1fa3423236
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 15 additions and 1 deletions

View File

@ -2025,7 +2025,15 @@ key-value cache and store.")
"/" name "-" version ".tar.gz")) "/" name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"17lrsdisa3kckh24q114vfmzdc4wkqa6ccwl4hdlrng5wpn1iman")))) "17lrsdisa3kckh24q114vfmzdc4wkqa6ccwl4hdlrng5wpn1iman"))
(modules '((guix build utils)))
(snippet
'(begin
;; Allow builds with Guile 3.0.
(substitute* "configure"
(("2\\.2 2\\.0")
"3.0 2.2 2.0"))
#t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("guile" ,guile-2.2))) `(("guile" ,guile-2.2)))
@ -2041,6 +2049,12 @@ is no support for parsing block and inline level HTML.")
(home-page "https://github.com/OrangeShark/guile-commonmark") (home-page "https://github.com/OrangeShark/guile-commonmark")
(license license:lgpl3+))) (license license:lgpl3+)))
(define-public guile3.0-commonmark
(package
(inherit guile-commonmark)
(name "guile3.0-commonmark")
(inputs `(("guile" ,guile-3.0)))))
(define-public guile2.0-commonmark (define-public guile2.0-commonmark
(package (package
(inherit guile-commonmark) (inherit guile-commonmark)