gnu: guile-irregex: Switch to Guile 2.2.

* gnu/packages/guile.scm (guile-irregex)[inputs]: Switch to
GUILE-2.2.
(guile2.0-irregex): New variable.
(guile2.2-irregex): Define in terms of 'deprecated-package'.
This commit is contained in:
Ludovic Courtès 2018-04-30 21:52:31 +02:00
parent d58ee08dff
commit 2863860b6c
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 5 additions and 2 deletions

View File

@ -1078,7 +1078,7 @@ understand, extend, and port to host languages other than Scheme.")
(install-file "irregex.html" doc) (install-file "irregex.html" doc)
#t)))))) #t))))))
(inputs (inputs
`(("guile" ,guile-2.0))) `(("guile" ,guile-2.2)))
(home-page "http://synthcode.com/scheme/irregex") (home-page "http://synthcode.com/scheme/irregex")
(synopsis "S-expression based regular expressions") (synopsis "S-expression based regular expressions")
(description (description
@ -1087,8 +1087,11 @@ string-based regular expressions. It implements SRFI 115 and is deeply
inspired by the SCSH regular expression system.") inspired by the SCSH regular expression system.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public guile2.0-irregex
(package-for-guile-2.0 guile-irregex))
(define-public guile2.2-irregex (define-public guile2.2-irregex
(package-for-guile-2.2 guile-irregex)) (deprecated-package "guile2.2-irregex" guile-irregex))
;; There are two guile-gdbm packages, one using the FFI and one with ;; There are two guile-gdbm packages, one using the FFI and one with
;; direct C bindings, hence the verbose name. ;; direct C bindings, hence the verbose name.