--- Begin Message ---
Subject: |
[PATCH] gnu: Add Nyacc. |
Date: |
Sun, 14 May 2017 12:35:30 +0200 |
Hi!
In close cooperation with Matt Wette [cc] I have packaged Nyacc so that
it can be unbundled from Mes.
Once the Mes release check passes [now running], a Mes 0.6 update with
Nyacc unbundled will follow.
Greetings,
janneke
>From 5fd06907655cdf11859bc3281333e3f4512b50fc Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <address@hidden>
Date: Sun, 14 May 2017 11:35:05 +0200
Subject: [PATCH] gnu: Add Nyacc.
* gnu/packages/mes.scm (nyacc): New variable.
---
gnu/packages/mes.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm
index aaa00f78a..f14d58d5a 100644
--- a/gnu/packages/mes.scm
+++ b/gnu/packages/mes.scm
@@ -26,10 +26,32 @@
#:use-module (gnu packages package-management)
#:use-module (gnu packages perl)
#:use-module (guix build-system gnu)
+ #:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix licenses)
#:use-module (guix packages))
+(define-public nyacc
+ (package
+ (name "nyacc")
+ (version "0.78.3")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://download.savannah.gnu.org/releases/nyacc/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32
"0xrnl2hl9rpl50n8cihvclcd951zj640fj5kpi3d6ihwcqjcdi0a"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("guile" ,guile-2.2)))
+ (synopsis "LALR(1) Parser Generator in Guile")
+ (description
+ "NYACC is a LALR(1) Parser Generator Implemented in Guile.
+The syntax and nomenclature should be considered not stable.")
+ (home-page "https://savannah.nongnu.org/projects/nyacc")
+ (license (list gpl3+ lgpl3+))))
+
(define-public mes
(let ((commit "a437c173b9da1949ad966fd50dd4f26e522a910a")
(revision "0")
--
2.12.2
--
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#26921: [PATCH] gnu: Add Nyacc. |
Date: |
Sun, 14 May 2017 15:47:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello!
Jan Nieuwenhuizen <address@hidden> skribis:
> From 5fd06907655cdf11859bc3281333e3f4512b50fc Mon Sep 17 00:00:00 2001
> From: Jan Nieuwenhuizen <address@hidden>
> Date: Sun, 14 May 2017 11:35:05 +0200
> Subject: [PATCH] gnu: Add Nyacc.
>
> * gnu/packages/mes.scm (nyacc): New variable.
Awesome! I committed it with the changes below.
It would be nice if “make install” would install the Info manuals too.
Thank you!
Ludo’.
diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm
index f14d58d5a..84d6f8ff7 100644
--- a/gnu/packages/mes.scm
+++ b/gnu/packages/mes.scm
@@ -37,18 +37,19 @@
(version "0.78.3")
(source (origin
(method url-fetch)
- (uri (string-append
- "https://download.savannah.gnu.org/releases/nyacc/"
+ (uri (string-append "mirror://savannah/nyacc/"
name "-" version ".tar.gz"))
(sha256
- (base32
"0xrnl2hl9rpl50n8cihvclcd951zj640fj5kpi3d6ihwcqjcdi0a"))))
+ (base32
+ "0xrnl2hl9rpl50n8cihvclcd951zj640fj5kpi3d6ihwcqjcdi0a"))))
(build-system gnu-build-system)
(native-inputs
`(("guile" ,guile-2.2)))
(synopsis "LALR(1) Parser Generator in Guile")
(description
- "NYACC is a LALR(1) Parser Generator Implemented in Guile.
-The syntax and nomenclature should be considered not stable.")
+ "NYACC is an LALR(1) parser generator implemented in Guile.
+The syntax and nomenclature should be considered not stable. It comes with
+extensive examples, including parsers for the Javascript and C99 languages.")
(home-page "https://savannah.nongnu.org/projects/nyacc")
(license (list gpl3+ lgpl3+))))
--- End Message ---