gnu: nyacc: Update to 1.08.1.
* gnu/packages/mes.scm (nyacc): Update to 1.08.1. [arguments]: Remove.
This commit is contained in:
parent
fb5514d3db
commit
ad6903b156
1 changed files with 2 additions and 11 deletions
|
@ -98,29 +98,20 @@ extensive examples, including parsers for the Javascript and C99 languages.")
|
||||||
(define-public nyacc
|
(define-public nyacc
|
||||||
(package
|
(package
|
||||||
(inherit nyacc-0.99)
|
(inherit nyacc-0.99)
|
||||||
(version "1.07.4")
|
(version "1.08.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://savannah/nyacc/nyacc-"
|
(uri (string-append "mirror://savannah/nyacc/nyacc-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1kr3b88sx0g9zy52algxqpvnkjm76qdyld7pasbbajkph2zhcj92"))
|
"1vrz3pnlr3njwk6ksz85slcwawi8ngiqbw94wd9x3mgv85vsfmys"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(substitute* "configure"
|
'(substitute* "configure"
|
||||||
(("GUILE_GLOBAL_SITE=\\$prefix.*")
|
(("GUILE_GLOBAL_SITE=\\$prefix.*")
|
||||||
"GUILE_GLOBAL_SITE=\
|
"GUILE_GLOBAL_SITE=\
|
||||||
$prefix/share/guile/site/$GUILE_EFFECTIVE_VERSION\n")))))
|
$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))
|
(inputs (list guile-3.0))
|
||||||
(propagated-inputs (list guile-bytestructures))
|
(propagated-inputs (list guile-bytestructures))
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue