3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: nyacc: Update to 1.08.1.

* gnu/packages/mes.scm (nyacc): Update to 1.08.1.
[arguments]: Remove.
This commit is contained in:
Ricardo Wurmus 2022-12-31 22:31:16 +01:00
parent fb5514d3db
commit ad6903b156
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -98,29 +98,20 @@ extensive examples, including parsers for the Javascript and C99 languages.")
(define-public nyacc
(package
(inherit nyacc-0.99)
(version "1.07.4")
(version "1.08.1")
(source (origin
(method url-fetch)
(uri (string-append "mirror://savannah/nyacc/nyacc-"
version ".tar.gz"))
(sha256
(base32
"1kr3b88sx0g9zy52algxqpvnkjm76qdyld7pasbbajkph2zhcj92"))
"1vrz3pnlr3njwk6ksz85slcwawi8ngiqbw94wd9x3mgv85vsfmys"))
(modules '((guix build utils)))
(snippet
'(substitute* "configure"
(("GUILE_GLOBAL_SITE=\\$prefix.*")
"GUILE_GLOBAL_SITE=\
$prefix/share/guile/site/$GUILE_EFFECTIVE_VERSION\n")))))
(arguments
'(#:phases
(modify-phases %standard-phases
;; See https://savannah.nongnu.org/bugs/index.php?60474
(add-after 'unpack 'fix-60474
(lambda _
(substitute* "module/nyacc/lang/c99/parser.scm"
(("\\(memq \\(car stmt\\) '\\(include include-next\\)\\)")
"(memq (car stmt) '(include include-next define))")))))))
(inputs (list guile-3.0))
(propagated-inputs (list guile-bytestructures))
(description