mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: guile-sjson: Build with Guile 3.0.
* gnu/packages/guile-xyz.scm (guile-sjson)[source]: Add snippet to patch configure file. [inputs]: Replace guile-2.2 with guile-3.0. (guile2.2-sjson): New variable.
This commit is contained in:
parent
91be384d2e
commit
eef5458387
1 changed files with 16 additions and 2 deletions
|
@ -623,20 +623,34 @@ HTML (via SXML) or any other format for rendering.")
|
||||||
".tar.gz"))
|
".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1mzmapln79vv10qxaggz9qwcdbag3jnrj19xx8bgkmxss8h03sv3"))))
|
"1mzmapln79vv10qxaggz9qwcdbag3jnrj19xx8bgkmxss8h03sv3"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
;; Allow builds with Guile 3.0.
|
||||||
|
(substitute* "configure"
|
||||||
|
(("2\\.2 2\\.0")
|
||||||
|
"3.0 2.2 2.0"))
|
||||||
|
#t))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("autoconf" ,autoconf)
|
`(("autoconf" ,autoconf)
|
||||||
("automake" ,automake)
|
("automake" ,automake)
|
||||||
("pkg-config" ,pkg-config)))
|
("pkg-config" ,pkg-config)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("guile" ,guile-2.2)))
|
`(("guile" ,guile-3.0)))
|
||||||
(home-page "https://gitlab.com/dustyweb/guile-sjson")
|
(home-page "https://gitlab.com/dustyweb/guile-sjson")
|
||||||
(synopsis "S-expression based json reader/writer for Guile")
|
(synopsis "S-expression based json reader/writer for Guile")
|
||||||
(description "guile-sjson is a json reader/writer for Guile.
|
(description "guile-sjson is a json reader/writer for Guile.
|
||||||
It has a nice, simple s-expression based syntax.")
|
It has a nice, simple s-expression based syntax.")
|
||||||
(license license:lgpl3+)))
|
(license license:lgpl3+)))
|
||||||
|
|
||||||
|
(define-public guile2.2-sjson
|
||||||
|
(package
|
||||||
|
(inherit guile-sjson)
|
||||||
|
(name "guile2.2-sjson")
|
||||||
|
(inputs `(("guile" ,guile-2.2)))))
|
||||||
|
|
||||||
(define-public guile-squee
|
(define-public guile-squee
|
||||||
(let ((commit "a85902a92bf6f58a1d35fd974a01ade163deda8d")
|
(let ((commit "a85902a92bf6f58a1d35fd974a01ade163deda8d")
|
||||||
(revision "0"))
|
(revision "0"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue