gnu: guile-wisp: Update to 1.0.3

* gnu/packages/guile-xyz.scm (guile-wisp): Update to 1.0.3.
[source]: Access via hg and change from bitbucket to hg.sr.ht.
[arguments]: Replace 'bootstrap phase; remove Guile 3 patch
because Guile 3 is supported in 1.0.3.
[native-inputs]: Add autoconf and automake.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
This commit is contained in:
Arne Babenhauserheide 2020-09-16 23:59:49 +02:00 committed by Ricardo Wurmus
parent 731354b8d7
commit 8b030edf02
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1621,15 +1621,16 @@ (define-public guile3.0-ics
(define-public guile-wisp
(package
(name "guile-wisp")
(version "1.0.2")
(version "1.0.3")
(source (origin
(method url-fetch)
(uri (string-append "https://bitbucket.org/ArneBab/"
"wisp/downloads/wisp-"
version ".tar.gz"))
(method hg-fetch)
(uri (hg-reference
(url "https://hg.sr.ht/~arnebab/wisp")
(changeset (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"03pz7pj9jyallynhflp5s7qax8dj1fs8la434wrfgz7g1kgjnvf6"))))
"10g97jz3ahpb5mg933ajsc3pa9jxlg14f42yf01qwx0dwq1b06d5"))))
(build-system gnu-build-system)
(arguments
`(#:modules ((guix build gnu-build-system)
@ -1643,11 +1644,9 @@ (define-public guile-wisp
(guix build emacs-utils))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'support-guile-3.0
(replace 'bootstrap
(lambda _
(substitute* "configure"
(("_guile_versions_to_search=\"2.2")
"_guile_versions_to_search=\"3.0 2.2"))
(invoke "autoreconf" "-vif")
#t))
(add-before 'configure 'patch-/usr/bin/env
(lambda _
@ -1689,7 +1688,9 @@ (define-public guile-wisp
(inputs
`(("guile" ,guile-3.0)))
(native-inputs
`(("emacs" ,emacs-minimal)
`(("autoconf" ,autoconf)
("automake" ,automake)
("emacs" ,emacs-minimal)
("python" ,python)
("pkg-config" ,pkg-config)))
(synopsis "Whitespace to lisp syntax for Guile")