gnu: guile-present: Add "guile3.0-present".

* gnu/packages/gtk.scm (guile-present)[source](snippet): Add "3.0" to
the supported Guile versions.
(guile3.0-present): New variable.
This commit is contained in:
Ludovic Courtès 2020-01-23 11:26:08 +01:00
parent 897186c155
commit 2c9fd7636f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -951,6 +951,11 @@ (define-public guile-present
(modules '((guix build utils)))
(snippet
'(begin
;; Allow builds with Guile 3.0.
(substitute* "configure"
(("2\\.2 2\\.0")
"3.0 2.2 2.0"))
;; Install .go files in the right place.
(substitute* "Makefile.in"
(("/ccache") "/site-ccache"))
@ -991,6 +996,16 @@ (define-public guile-present
documents.")
(license license:lgpl3+)))
(define-public guile3.0-present
(package
(inherit guile-present)
(name "guile3.0-present")
(inputs `(("guile" ,guile-3.0)))
(propagated-inputs
`(("guile-lib" ,guile3.0-lib)
("guile-cairo" ,guile3.0-cairo)
("guile-rsvg" ,guile3.0-rsvg)))))
(define-public guile-gnome
(package
(name "guile-gnome")