me
/
guix
Archived
1
0
Fork 0

gnu: nyacc: Update to 1.08.1.

* gnu/packages/mes.scm (nyacc): Update to 1.08.1.
[arguments]: Remove.
master
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
1 changed files with 2 additions and 11 deletions

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