janneke pushed a commit to branch wip-bootstrap in repository guix. commit 1b1558e8ebd5df568334e0e6ffd43285ed69ad8e Author: Jan Nieuwenhuizen <jann...@gnu.org> Date: Wed Nov 22 14:18:48 2017 +0100
gnu: Add nyacc-boot. * gnu/packages/mes.scm (nyacc-boot): New variable. --- gnu/packages/mes.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm index 980d5fd..e3e5aa5 100644 --- a/gnu/packages/mes.scm +++ b/gnu/packages/mes.scm @@ -295,6 +295,33 @@ Guile-] Scheme interpreter prototype in C and a Nyacc-based C compiler in (home-page "https://gitlab.com/janneke/mes") (license gpl3+)))) +(define-public nyacc-boot + (let ((version "0.82.4") + (revision "0") + (commit "44241a79da8e5fd85e197dbc7a6e666e7303427c")) + (package + (name "nyacc") + (version (string-append version "-" revision "." (string-take commit 7))) + (source (origin + (method url-fetch) + (uri (string-append "https://gitlab.com/janneke/nyacc" + "/repository/archive.tar.gz?ref=" + commit)) + (file-name (string-append name "-" version ".tar.xz")) + (sha256 + (base32 + "05accf30kq0g6hpr5568n2yifshrxvq97hq0z004zlrffcw85g7j")))) + (build-system gnu-build-system) + (native-inputs + `(("guile" ,guile-2.2))) + (synopsis "LALR(1) Parser Generator in Guile") + (description + "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+))))) + ;;; (define-public nyacc