gnu: haunt: Default to Guile 2.2.

* gnu/packages/guile.scm (haunt)[inputs]: Replace GUILE-2.0 with
GUILE-2.2.
[propagated-inputs]: Replace GUILE-READER and GUILE-COMMONMARK with
their 2.2 variant.
(guile2.0-haunt): New variable.
(guile2.2-haunt): Mark as deprecated.
This commit is contained in:
Ludovic Courtès 2017-03-19 18:00:43 +01:00
parent 8f4acad71b
commit bd19f65a85
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1057,10 +1057,10 @@ (define-public haunt
`(("pkg-config" ,pkg-config)
("texinfo" ,texinfo)))
(inputs
`(("guile" ,guile-2.0)))
`(("guile" ,guile-2.2)))
(propagated-inputs
`(("guile-reader" ,guile-reader)
("guile-commonmark" ,guile-commonmark)))
`(("guile-reader" ,guile2.2-reader)
("guile-commonmark" ,guile2.2-commonmark)))
(synopsis "Functional static site generator")
(description "Haunt is a static site generator written in Guile
Scheme. Haunt features a functional build system and an extensible
@ -1068,9 +1068,11 @@ (define-public haunt
(home-page "http://haunt.dthompson.us")
(license license:gpl3+)))
(define-public guile2.0-haunt
(package-for-guile-2.0
(package (inherit haunt) (name "guile2.0-haunt"))))
(define-public guile2.2-haunt
(package-for-guile-2.2
(package (inherit haunt) (name "guile2.2-haunt"))))
(deprecated-package "guile2.2-haunt" haunt))
(define-public guile-config
(package