gnu: guile-mastodon: Build with Guile 3.0.
* gnu/packages/guile-xyz.scm (guile-mastodon)[source]: Modify configure.ac to add Guile 3.0 support. [native-inputs]: Add "emacs" and "texinfo". [inputs]: Use Guile 3.0 and Guile Json 4.0.
This commit is contained in:
parent
1443e2dd98
commit
bbd26d60ed
1 changed files with 15 additions and 4 deletions
|
@ -1308,16 +1308,27 @@ Scheme by using Guile’s foreign function interface.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1vblf3d1bbwna3l09p2ap5y8ycvl549bz6whgk78imyfmn28ygry"))))
|
"1vblf3d1bbwna3l09p2ap5y8ycvl549bz6whgk78imyfmn28ygry"))
|
||||||
|
(modules '((guix build utils)))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
;; Allow builds with Guile 3.0.
|
||||||
|
(substitute* "configure.ac"
|
||||||
|
(("^PKG_CHECK.*") "")
|
||||||
|
(("^GUILE_PKG.*")
|
||||||
|
"GUILE_PKG([3.0 2.2])\n"))
|
||||||
|
#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)))
|
("emacs" ,emacs-minimal)
|
||||||
|
("pkg-config" ,pkg-config)
|
||||||
|
("texinfo" ,texinfo)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("guile" ,guile-2.2)
|
`(("guile" ,guile-3.0)
|
||||||
("gnutls" ,gnutls)
|
("gnutls" ,gnutls)
|
||||||
("guile-json" ,guile-json-1)))
|
("guile-json" ,guile-json-4)))
|
||||||
(home-page "https://framagit.org/prouby/guile-mastodon")
|
(home-page "https://framagit.org/prouby/guile-mastodon")
|
||||||
(synopsis "Guile Mastodon REST API module")
|
(synopsis "Guile Mastodon REST API module")
|
||||||
(description "This package provides Guile modules to access the
|
(description "This package provides Guile modules to access the
|
||||||
|
|
Reference in a new issue