gnu: guile-webutils: Build with Guile 3.0.

* gnu/packages/guile-xyz.scm (guile-webutils)[source]: Add snippet to patch
configure.ac.
[inputs]: Replace guile-2.2 with guile-3.0.
(guile2.2-webutils): New variable.
This commit is contained in:
Ricardo Wurmus 2020-05-12 00:53:36 +02:00
parent b01a73b029
commit 0a76d7a931
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -3322,7 +3322,15 @@ (define-public guile-webutils
(file-name (git-file-name name version))
(sha256
(base32
"1s9n3hbxd7lfpdi0x8wr0cfvlsf6g62ird9gbspxdrp5p05rbi64"))))
"1s9n3hbxd7lfpdi0x8wr0cfvlsf6g62ird9gbspxdrp5p05rbi64"))
(modules '((guix build utils)))
(snippet
'(begin
;; Allow builds with Guile 3.0.
(substitute* "configure.ac"
(("2\\.2 2\\.0")
"3.0 2.2 2.0"))
#t))))
(build-system gnu-build-system)
(native-inputs
`(("autoconf" ,autoconf)
@ -3330,7 +3338,7 @@ (define-public guile-webutils
("pkg-config" ,pkg-config)
("texinfo" ,texinfo)))
(inputs
`(("guile" ,guile-2.2)))
`(("guile" ,guile-3.0)))
(propagated-inputs
`(("guile-irregex" ,guile-irregex)
("guile-gcrypt" ,guile-gcrypt)))
@ -3341,6 +3349,16 @@ (define-public guile-webutils
as signed sessions, multipart message support, etc.")
(license license:gpl3+))))
(define-public guile2.2-webutils
(package
(inherit guile-webutils)
(name "guile2.2-webutils")
(inputs
`(("guile" ,guile-2.2)))
(propagated-inputs
`(("guile-irregex" ,guile2.2-irregex)
("guile-gcrypt" ,guile2.2-gcrypt)))))
(define-public guile-lens
(let ((commit "14b15d07255f9d3f55d40a3b750d13c9ee3a154f")
(revision "0"))