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
1 changed files with 7 additions and 5 deletions

View File

@ -1057,10 +1057,10 @@ Guile's foreign function interface.")
`(("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 @@ interface for reading articles in any format.")
(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