guix_mirror_bot pushed a commit to branch master
in repository guix.

commit fa1da1f84dbf6dc703f0fc8eee50a65ac77742bc
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Mon Aug 18 09:29:02 2025 +0200

    gnu: nyacc: Update to 2.02.2.
    
    We don't want to touch the packages leading up to nyacc-1.00.2 which is used
    in commencement.
    
    * gnu/packages/mes.scm (nyacc): Rename to...
    (nyacc-1.08.1): ...this.
    (nyacc-1.00.2): Update accordingly.
    (nyacc): New variable.
    
    Change-Id: I0d8ac098ae6871e6ebcff2090537e26e759c4d9b
---
 gnu/packages/mes.scm | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm
index d210710182..a986148b6e 100644
--- a/gnu/packages/mes.scm
+++ b/gnu/packages/mes.scm
@@ -92,7 +92,7 @@ extensive examples, including parsers for the Javascript and 
C99 languages.")
     (native-inputs (list pkg-config))
     (inputs (list guile-2.2))))
 
-(define-public nyacc
+(define-public nyacc-1.08.1
   (package
     (inherit nyacc-0.99)
     (version "1.08.1")
@@ -121,7 +121,7 @@ parsers to allow execution with Guile as extension 
languages.")))
 
 (define-public nyacc-1.00.2
   (package
-    (inherit nyacc)
+    (inherit nyacc-1.08.1)
     (version "1.00.2")
     (source (origin
               (method url-fetch)
@@ -170,6 +170,24 @@ parsers to allow execution with Guile as extension 
languages.")))
                    "GUILE_GLOBAL_SITE=\
 $prefix/share/guile/site/$GUILE_EFFECTIVE_VERSION\n")))))))
 
+(define-public nyacc
+  (package
+    (inherit nyacc-1.00.2)
+    (version "2.02.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://savannah/nyacc/nyacc-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "01829c24v531036rj8grcwx4hmiy3f0jznc9zbfa4wrslmq566k9"))
+              (modules '((guix build utils)))
+              (snippet
+               '(substitute* "configure"
+                  (("GUILE_GLOBAL_SITE=\\$prefix.*")
+                   "GUILE_GLOBAL_SITE=\
+$prefix/share/guile/site/$GUILE_EFFECTIVE_VERSION\n")))))))
+
 (define-public mes
   (package
     (name "mes")

Reply via email to