gnu: guile-syntax-highlight: Add "guile3.0-syntax-highlight" variant.
* gnu/packages/guile-xyz.scm (guile-syntax-highlight)[source]: Add 'snippet' and 'modules'. (guile3.0-syntax-highlight): New field.
This commit is contained in:
parent
4f4086848b
commit
fb8a77f456
|
@ -544,7 +544,15 @@ (define-public guile-syntax-highlight
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1p771kq15x83483m23bhah1sz6vkalg3drm7x279f4j1cxligkzi"))))
|
"1p771kq15x83483m23bhah1sz6vkalg3drm7x279f4j1cxligkzi"))
|
||||||
|
(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)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
|
@ -558,6 +566,12 @@ (define-public guile-syntax-highlight
|
||||||
(home-page "http://dthompson.us/projects/guile-syntax-highlight.html")
|
(home-page "http://dthompson.us/projects/guile-syntax-highlight.html")
|
||||||
(license license:lgpl3+)))
|
(license license:lgpl3+)))
|
||||||
|
|
||||||
|
(define-public guile3.0-syntax-highlight
|
||||||
|
(package
|
||||||
|
(inherit guile-syntax-highlight)
|
||||||
|
(name "guile3.0-syntax-highlight")
|
||||||
|
(inputs `(("guile" ,guile-3.0)))))
|
||||||
|
|
||||||
(define-public guile-sjson
|
(define-public guile-sjson
|
||||||
(package
|
(package
|
||||||
(name "guile-sjson")
|
(name "guile-sjson")
|
||||||
|
|
Loading…
Reference in a new issue