mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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:
parent
b01a73b029
commit
0a76d7a931
1 changed files with 20 additions and 2 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue